Merge pull request #8803 from kinvolk/rata/userns-sbserver

cri/sbserver: Add support for user namespaces (KEP-127)
This commit is contained in:
Phil Estes
2023-07-17 10:57:01 -04:00
committed by GitHub
14 changed files with 419 additions and 25 deletions

View File

@@ -94,9 +94,6 @@ func TestPodUserNS(t *testing.T) {
},
} {
t.Run(name, func(t *testing.T) {
if os.Getenv("ENABLE_CRI_SANDBOXES") == "'sandboxed'" {
t.Skip("skipping test: userns not supported/needed in sanboxed runtimes")
}
cmd := exec.Command("true")
cmd.SysProcAttr = &syscall.SysProcAttr{
Cloneflags: syscall.CLONE_NEWUSER,