mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
e2e tests: set all PSa labels instead of just enforcing
This commit is contained in:
@@ -42,7 +42,7 @@ var _ = lifecycle.SIGDescribe("[Feature:BootstrapTokens]", func() {
|
||||
var c clientset.Interface
|
||||
|
||||
f := framework.NewDefaultFramework("bootstrap-signer")
|
||||
f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged
|
||||
f.NamespacePodSecurityLevel = admissionapi.LevelPrivileged
|
||||
ginkgo.AfterEach(func(ctx context.Context) {
|
||||
if len(secretNeedClean) > 0 {
|
||||
ginkgo.By("delete the bootstrap token secret")
|
||||
|
||||
Reference in New Issue
Block a user