summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-07-07 11:22:40 -0600
committerGitHub <noreply@github.com>2022-07-07 11:22:40 -0600
commitd52ac4422b1b8f959e411b13680e7fb40880a939 (patch)
treecc49d83571c8f8750061407219d6eb02ba7effb3 /pkg
parentdd0418a5fe0c44d4358b0118bd2a9847d78a80a2 (diff)
parent0424084b303b2ebb0a0fa28c6dd3f1ef456ce4ba (diff)
downloadpodman-d52ac4422b1b8f959e411b13680e7fb40880a939.tar.gz
podman-d52ac4422b1b8f959e411b13680e7fb40880a939.tar.bz2
podman-d52ac4422b1b8f959e411b13680e7fb40880a939.zip
Merge pull request #14852 from cdoern/podUTS
fix namespace reporting
Diffstat (limited to 'pkg')
-rw-r--r--pkg/specgen/podspecgen.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/specgen/podspecgen.go b/pkg/specgen/podspecgen.go
index 02ba06be1..64a79f4ee 100644
--- a/pkg/specgen/podspecgen.go
+++ b/pkg/specgen/podspecgen.go
@@ -77,6 +77,8 @@ type PodBasicConfig struct {
// Any containers created within the pod will inherit the pod's userns settings.
// Optional
Userns Namespace `json:"userns,omitempty"`
+ // UtsNs is used to indicate the UTS mode the pod is in
+ UtsNs Namespace `json:"utsns,omitempty"`
// Devices contains user specified Devices to be added to the Pod
Devices []string `json:"pod_devices,omitempty"`
// Sysctl sets kernel parameters for the pod