From 5d8537f270f072da4fbd1e424edfdeab3f1466a2 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Thu, 8 Dec 2016 18:05:24 +0100 Subject: [PATCH] testdata: sandbox ns options should be under security_context And not directly under linux. Fixes #243 Signed-off-by: Samuel Ortiz --- test/testdata/sandbox_config.json | 11 ++++++----- test/testdata/sandbox_config_seccomp.json | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/test/testdata/sandbox_config.json b/test/testdata/sandbox_config.json index 580f19f9..bc1f8a99 100644 --- a/test/testdata/sandbox_config.json +++ b/test/testdata/sandbox_config.json @@ -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 + } } } diff --git a/test/testdata/sandbox_config_seccomp.json b/test/testdata/sandbox_config_seccomp.json index 5efc60a9..4a0f8129 100644 --- a/test/testdata/sandbox_config_seccomp.json +++ b/test/testdata/sandbox_config_seccomp.json @@ -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 + } } }