summaryrefslogtreecommitdiff
path: root/pkg/domain
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-22 22:45:05 +0200
committerGitHub <noreply@github.com>2020-07-22 22:45:05 +0200
commit9223b721b38c2605320be540e9abd501a351ed72 (patch)
tree4386ac6736b2321fb9128f4d2752887dc5e61e75 /pkg/domain
parentd493374eb4b0e9f5f58548d445f02c0a8cf00298 (diff)
parent80f57acc036542cfd19bf19ca596b739be71fd75 (diff)
downloadpodman-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.go4
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