e2e tests: set all PSa labels instead of just enforcing

This commit is contained in:
Stanislav Laznicka
2023-05-10 15:38:10 +02:00
parent e5cbc51d29
commit 7f532891c9
315 changed files with 351 additions and 351 deletions

View File

@@ -37,7 +37,7 @@ import (
var _ = SIGDescribe("SystemNodeCriticalPod [Slow] [Serial] [Disruptive] [NodeFeature:SystemNodeCriticalPod]", func() {
f := framework.NewDefaultFramework("system-node-critical-pod-test")
f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged
f.NamespacePodSecurityLevel = admissionapi.LevelPrivileged
// this test only manipulates pods in kube-system
f.SkipNamespaceCreation = true