Make pid namespace sharing optional and disabled by default

We reverse the logic so that pid ns sharing is disabled by default.

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2017-11-17 16:52:06 -08:00
parent e23723d62e
commit 946307e5c2
8 changed files with 17 additions and 17 deletions

View file

@ -7,7 +7,7 @@ function teardown() {
}
@test "pod disable shared pid namespace" {
DISABLE_SHARED_PID_NAMESPACE="true" start_crio
ENABLE_SHARED_PID_NAMESPACE="false" start_crio
run crictl runs "$TESTDATA"/sandbox_config.json
echo "$output"
@ -37,7 +37,7 @@ function teardown() {
}
@test "pod enable shared pid namespace" {
DISABLE_SHARED_PID_NAMESPACE="false" start_crio
ENABLE_SHARED_PID_NAMESPACE="true" start_crio
run crictl runs "$TESTDATA"/sandbox_config.json
echo "$output"