summaryrefslogtreecommitdiff
path: root/cmd/podman/play/kube.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-18 15:06:19 -0400
committerGitHub <noreply@github.com>2021-08-18 15:06:19 -0400
commitfa206e11caf5af38ad47cbfebbe18046c562fb6d (patch)
treeef07c56ade783e9d9deab2ce8da79d3a92698ede /cmd/podman/play/kube.go
parent4ec227079011faef53e22b868d475a831b1f9e89 (diff)
parentcd40c875ac51b32f7b4e5479d02faee14e0ab12d (diff)
downloadpodman-fa206e11caf5af38ad47cbfebbe18046c562fb6d.tar.gz
podman-fa206e11caf5af38ad47cbfebbe18046c562fb6d.tar.bz2
podman-fa206e11caf5af38ad47cbfebbe18046c562fb6d.zip
Merge pull request #11180 from baude/buildplaykube
Add ability to build images in play kube
Diffstat (limited to 'cmd/podman/play/kube.go')
-rw-r--r--cmd/podman/play/kube.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/podman/play/kube.go b/cmd/podman/play/kube.go
index ece7d1f98..2eebd9f86 100644
--- a/cmd/podman/play/kube.go
+++ b/cmd/podman/play/kube.go
@@ -100,6 +100,9 @@ func init() {
configmapFlagName := "configmap"
flags.StringSliceVar(&kubeOptions.ConfigMaps, configmapFlagName, []string{}, "`Pathname` of a YAML file containing a kubernetes configmap")
_ = kubeCmd.RegisterFlagCompletionFunc(configmapFlagName, completion.AutocompleteDefault)
+
+ buildFlagName := "build"
+ flags.BoolVar(&kubeOptions.Build, buildFlagName, false, "Build all images in a YAML (given Containerfiles exist)")
}
_ = flags.MarkHidden("signature-policy")
}