diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-07-22 22:45:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-22 22:45:05 +0200 |
commit | 9223b721b38c2605320be540e9abd501a351ed72 (patch) | |
tree | 4386ac6736b2321fb9128f4d2752887dc5e61e75 /pkg/domain | |
parent | d493374eb4b0e9f5f58548d445f02c0a8cf00298 (diff) | |
parent | 80f57acc036542cfd19bf19ca596b739be71fd75 (diff) | |
download | podman-9223b721b38c2605320be540e9abd501a351ed72.tar.gz podman-9223b721b38c2605320be540e9abd501a351ed72.tar.bz2 podman-9223b721b38c2605320be540e9abd501a351ed72.zip |
Merge pull request #7053 from ashley-cui/kubeip
Publish IP from YAML (podman play kube)
Diffstat (limited to 'pkg/domain')
-rw-r--r-- | pkg/domain/infra/abi/play.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkg/domain/infra/abi/play.go b/pkg/domain/infra/abi/play.go index 888811958..52a62a25d 100644 --- a/pkg/domain/infra/abi/play.go +++ b/pkg/domain/infra/abi/play.go @@ -340,9 +340,7 @@ func getPodPorts(containers []v1.Container) []ocicni.PortMapping { HostPort: p.HostPort, ContainerPort: p.ContainerPort, Protocol: strings.ToLower(string(p.Protocol)), - } - if p.HostIP != "" { - logrus.Debug("HostIP on port bindings is not supported") + HostIP: p.HostIP, } // only hostPort is utilized in podman context, all container ports // are accessible inside the shared network namespace |