testdata: sandbox ns options should be under security_context
And not directly under linux. Fixes #243 Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
0fcb25cc97
commit
5d8537f270
2 changed files with 12 additions and 10 deletions
11
test/testdata/sandbox_config.json
vendored
11
test/testdata/sandbox_config.json
vendored
|
@ -53,10 +53,11 @@
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"cgroup_parent": "podsandbox1.slice:container:infra",
|
"cgroup_parent": "podsandbox1.slice:container:infra",
|
||||||
"namespace_options": {
|
"security_context": {
|
||||||
"host_network": false,
|
"namespace_options": {
|
||||||
"host_pid": false,
|
"host_network": false,
|
||||||
"host_ipc": false
|
"host_pid": false,
|
||||||
}
|
"host_ipc": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
11
test/testdata/sandbox_config_seccomp.json
vendored
11
test/testdata/sandbox_config_seccomp.json
vendored
|
@ -51,10 +51,11 @@
|
||||||
},
|
},
|
||||||
"linux": {
|
"linux": {
|
||||||
"cgroup_parent": "podsandbox1.slice:container:infra",
|
"cgroup_parent": "podsandbox1.slice:container:infra",
|
||||||
"namespace_options": {
|
"security_context": {
|
||||||
"host_network": false,
|
"namespace_options": {
|
||||||
"host_pid": false,
|
"host_network": false,
|
||||||
"host_ipc": false
|
"host_pid": false,
|
||||||
}
|
"host_ipc": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue