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": {
|
||||
"cgroup_parent": "podsandbox1.slice:container:infra",
|
||||
"namespace_options": {
|
||||
"host_network": false,
|
||||
"host_pid": false,
|
||||
"host_ipc": false
|
||||
}
|
||||
"security_context": {
|
||||
"namespace_options": {
|
||||
"host_network": 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": {
|
||||
"cgroup_parent": "podsandbox1.slice:container:infra",
|
||||
"namespace_options": {
|
||||
"host_network": false,
|
||||
"host_pid": false,
|
||||
"host_ipc": false
|
||||
}
|
||||
"security_context": {
|
||||
"namespace_options": {
|
||||
"host_network": false,
|
||||
"host_pid": false,
|
||||
"host_ipc": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue