From d76108c59530186ac04958bc4537ff4c0bcb5d30 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Fri, 19 Oct 2018 10:30:28 -0700 Subject: [PATCH] Removes unnecessary SELinuxOptions from test case The test "should run with the expected status" passes with and without the set SELinuxOptions, but removing it will ensure that the test will be able to run and pass on Windows nodes as well. --- test/e2e/common/runtime.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/e2e/common/runtime.go b/test/e2e/common/runtime.go index bd55a305632..16ab0e708a8 100644 --- a/test/e2e/common/runtime.go +++ b/test/e2e/common/runtime.go @@ -96,11 +96,6 @@ while true; do sleep 1; done Container: testContainer, RestartPolicy: testCase.RestartPolicy, Volumes: testVolumes, - PodSecurityContext: &v1.PodSecurityContext{ - SELinuxOptions: &v1.SELinuxOptions{ - Level: "s0", - }, - }, } terminateContainer.Create() defer terminateContainer.Delete()