test/e2e/framework: configure pod security admission level for e2e tests
This commit is contained in:
@@ -25,6 +25,7 @@ import (
|
||||
"k8s.io/apimachinery/pkg/util/uuid"
|
||||
"k8s.io/kubernetes/test/e2e/framework"
|
||||
e2epod "k8s.io/kubernetes/test/e2e/framework/pod"
|
||||
admissionapi "k8s.io/pod-security-admission/api"
|
||||
|
||||
"fmt"
|
||||
|
||||
@@ -33,6 +34,7 @@ import (
|
||||
|
||||
var _ = SIGDescribe("Kubelet Volume Manager", func() {
|
||||
f := framework.NewDefaultFramework("kubelet-volume-manager")
|
||||
f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged
|
||||
ginkgo.Describe("Volume Manager", func() {
|
||||
ginkgo.Context("On termination of pod with memory backed volume", func() {
|
||||
ginkgo.It("should remove the volume from the node [NodeConformance]", func() {
|
||||
|
Reference in New Issue
Block a user