Skip to content

Commit

Permalink
Merge pull request #774 from rhatdan/userns
Browse files Browse the repository at this point in the history
UserNS should default to '' rather then host
  • Loading branch information
openshift-merge-robot committed Sep 20, 2021
2 parents bf187ad + 16b7b7a commit 5f8e550
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions pkg/config/config_test.go
Expand Up @@ -329,6 +329,7 @@ image_copy_tmp_dir="storage"`
gomega.Expect(config.Containers.ApparmorProfile).To(gomega.Equal(apparmor.Profile))
gomega.Expect(config.Containers.PidsLimit).To(gomega.BeEquivalentTo(2048))
gomega.Expect(config.Containers.Env).To(gomega.BeEquivalentTo(envs))
gomega.Expect(config.Containers.UserNS).To(gomega.BeEquivalentTo(""))
gomega.Expect(config.Network.CNIPluginDirs).To(gomega.Equal(DefaultCNIPluginDirs))
gomega.Expect(config.Engine.NumLocks).To(gomega.BeEquivalentTo(2048))
gomega.Expect(config.Engine.OCIRuntimes["runc"]).To(gomega.Equal(OCIRuntimeMap["runc"]))
Expand Down
1 change: 0 additions & 1 deletion pkg/config/default.go
Expand Up @@ -198,7 +198,6 @@ func DefaultConfig() (*Config, error) {
TZ: "",
Umask: "0022",
UTSNS: "private",
UserNS: "host",
UserNSSize: DefaultUserNSSize,
},
Network: NetworkConfig{
Expand Down

0 comments on commit 5f8e550

Please sign in to comment.