summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-01 13:27:17 -0400
committerGitHub <noreply@github.com>2021-10-01 13:27:17 -0400
commit1b88b678cf14946c4392bccfd9db2ff8510066ee (patch)
tree2b83b71166121cf0a85b3a8869627a481bd0a5de /cmd/podman
parentc6a896b0c705415a9115dff354b0a19a2c08ce50 (diff)
parent641f0ccc4eb999af3c2a01d709769287ba45451c (diff)
downloadpodman-1b88b678cf14946c4392bccfd9db2ff8510066ee.tar.gz
podman-1b88b678cf14946c4392bccfd9db2ff8510066ee.tar.bz2
podman-1b88b678cf14946c4392bccfd9db2ff8510066ee.zip
Merge pull request #11707 from rhatdan/play
Add podman play kube --no-hosts options
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/play/kube.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/play/kube.go b/cmd/podman/play/kube.go
index 9308371d2..85e0c279c 100644
--- a/cmd/podman/play/kube.go
+++ b/cmd/podman/play/kube.go
@@ -78,6 +78,7 @@ func init() {
flags.StringVar(&kubeOptions.LogDriver, logDriverFlagName, "", "Logging driver for the container")
_ = kubeCmd.RegisterFlagCompletionFunc(logDriverFlagName, common.AutocompleteLogDriver)
+ flags.BoolVar(&kubeOptions.NoHosts, "no-hosts", false, "Do not create /etc/hosts within the pod's containers, instead use the version from the image")
flags.BoolVarP(&kubeOptions.Quiet, "quiet", "q", false, "Suppress output information when pulling images")
flags.BoolVar(&kubeOptions.TLSVerifyCLI, "tls-verify", true, "Require HTTPS and verify certificates when contacting registries")
flags.BoolVar(&kubeOptions.StartCLI, "start", true, "Start the pod after creating it")