diff --git a/test/e2e/common/node/security_context.go b/test/e2e/common/node/security_context.go index 30e0cbdc5bc..3a817df82af 100644 --- a/test/e2e/common/node/security_context.go +++ b/test/e2e/common/node/security_context.go @@ -60,6 +60,8 @@ var _ = SIGDescribe("Security Context", func() { }) ginkgo.Context("When creating a pod with HostUsers", func() { + e2eskipper.SkipIfNodeOSDistroIs("windows") + containerName := "userns-test" makePod := func(hostUsers bool) *v1.Pod { return &v1.Pod{ @@ -710,6 +712,8 @@ var _ = SIGDescribe("Security Context", func() { }) var _ = SIGDescribe("User Namespaces for Pod Security Standards [LinuxOnly]", func() { + e2eskipper.SkipIfNodeOSDistroIs("windows") + f := framework.NewDefaultFramework("user-namespaces-pss-test") f.NamespacePodSecurityLevel = admissionapi.LevelRestricted