forked from LaconicNetwork/kompose
don't use HostPort
HostPort can lead to problems. Port mappings are handled via Service
This commit is contained in:
parent
7892ea1bff
commit
03877dfb60
@ -497,7 +497,6 @@ func configPorts(name string, service ServiceConfig) []api.ContainerPort {
|
||||
p = api.ProtocolUDP
|
||||
}
|
||||
ports = append(ports, api.ContainerPort{
|
||||
HostPort: port.HostPort,
|
||||
ContainerPort: port.ContainerPort,
|
||||
Protocol: p,
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user