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:
Samuel Ortiz 2016-12-08 18:05:24 +01:00
parent 0fcb25cc97
commit 5d8537f270
No known key found for this signature in database
GPG key ID: 8A803CDD4F566C4A
2 changed files with 12 additions and 10 deletions

View file

@ -53,6 +53,7 @@
}, },
"linux": { "linux": {
"cgroup_parent": "podsandbox1.slice:container:infra", "cgroup_parent": "podsandbox1.slice:container:infra",
"security_context": {
"namespace_options": { "namespace_options": {
"host_network": false, "host_network": false,
"host_pid": false, "host_pid": false,

View file

@ -51,6 +51,7 @@
}, },
"linux": { "linux": {
"cgroup_parent": "podsandbox1.slice:container:infra", "cgroup_parent": "podsandbox1.slice:container:infra",
"security_context": {
"namespace_options": { "namespace_options": {
"host_network": false, "host_network": false,
"host_pid": false, "host_pid": false,