summaryrefslogtreecommitdiff
path: root/pkg/domain/entities/play.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-05-10 13:28:16 -0400
committerGitHub <noreply@github.com>2022-05-10 13:28:16 -0400
commit76dc9ef32dd8645e07365e1c0eb483219ab7e614 (patch)
treef5c93b3cc9ce18bb91c1cdc90e223973ba4f5d7c /pkg/domain/entities/play.go
parent18713f589c1ed9144d873f2656f2067ebf6f3ba2 (diff)
parent0774a4ce131754b282443e85cc77c308123ef9c0 (diff)
downloadpodman-76dc9ef32dd8645e07365e1c0eb483219ab7e614.tar.gz
podman-76dc9ef32dd8645e07365e1c0eb483219ab7e614.tar.bz2
podman-76dc9ef32dd8645e07365e1c0eb483219ab7e614.zip
Merge pull request #14140 from giuseppe/play-kube-userns
kube: add support for --userns=[auto|host]
Diffstat (limited to 'pkg/domain/entities/play.go')
-rw-r--r--pkg/domain/entities/play.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/entities/play.go b/pkg/domain/entities/play.go
index c9dc3f08c..bf7c33f2b 100644
--- a/pkg/domain/entities/play.go
+++ b/pkg/domain/entities/play.go
@@ -54,6 +54,8 @@ type PlayKubeOptions struct {
LogOptions []string
// Start - don't start the pod if false
Start types.OptionalBool
+ // Userns - define the user namespace to use.
+ Userns string
}
// PlayKubePod represents a single pod and associated containers created by play kube