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

@@ -74,7 +74,7 @@ type testRun struct {
// http://kubernetes.io/docs/admin/garbage-collection/
var _ = SIGDescribe("GarbageCollect [Serial][NodeFeature:GarbageCollect]", func() {
f := framework.NewDefaultFramework("garbage-collect-test")
f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged
f.NamespacePodSecurityLevel = admissionapi.LevelPrivileged
containerNamePrefix := "gc-test-container-"
podNamePrefix := "gc-test-pod-"