summaryrefslogtreecommitdiff
path: root/pkg/domain/infra/tunnel/play.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-04-17 05:52:51 -0400
committerGitHub <noreply@github.com>2021-04-17 05:52:51 -0400
commit676c33f07950b29b657370df5e767452692be648 (patch)
tree4a3ba7067472b1c3a9f1756f54a18816f84dd603 /pkg/domain/infra/tunnel/play.go
parent35b62ef19f307fb365eb7a8734e456160f7b22a8 (diff)
parentd7292dbf2731701c122656400ce5007693efe3c8 (diff)
downloadpodman-676c33f07950b29b657370df5e767452692be648.tar.gz
podman-676c33f07950b29b657370df5e767452692be648.tar.bz2
podman-676c33f07950b29b657370df5e767452692be648.zip
Merge pull request #10043 from Luap99/play-kube-ip
add --ip to podman play kube
Diffstat (limited to 'pkg/domain/infra/tunnel/play.go')
-rw-r--r--pkg/domain/infra/tunnel/play.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/domain/infra/tunnel/play.go b/pkg/domain/infra/tunnel/play.go
index 9f9076114..e52e1a1f7 100644
--- a/pkg/domain/infra/tunnel/play.go
+++ b/pkg/domain/infra/tunnel/play.go
@@ -11,7 +11,7 @@ import (
func (ic *ContainerEngine) PlayKube(ctx context.Context, path string, opts entities.PlayKubeOptions) (*entities.PlayKubeReport, error) {
options := new(play.KubeOptions).WithAuthfile(opts.Authfile).WithUsername(opts.Username).WithPassword(opts.Password)
options.WithCertDir(opts.CertDir).WithQuiet(opts.Quiet).WithSignaturePolicy(opts.SignaturePolicy).WithConfigMaps(opts.ConfigMaps)
- options.WithLogDriver(opts.LogDriver).WithNetwork(opts.Network).WithSeccompProfileRoot(opts.SeccompProfileRoot)
+ options.WithLogDriver(opts.LogDriver).WithNetwork(opts.Network).WithSeccompProfileRoot(opts.SeccompProfileRoot).WithStaticIPs(opts.StaticIPs)
if s := opts.SkipTLSVerify; s != types.OptionalBoolUndefined {
options.WithSkipTLSVerify(s == types.OptionalBoolTrue)