@@ -909,7 +909,7 @@ var _ = SIGDescribe(framework.WithNodeConformance(), "Containers Lifecycle", fun
909
909
910
910
var _ = SIGDescribe (framework .WithSerial (), "Containers Lifecycle" , func () {
911
911
f := framework .NewDefaultFramework ("containers-lifecycle-test-serial" )
912
- f .NamespacePodSecurityEnforceLevel = admissionapi .LevelPrivileged
912
+ f .NamespacePodSecurityLevel = admissionapi .LevelPrivileged
913
913
914
914
ginkgo .It ("should restart the containers in right order after the node reboot" , func (ctx context.Context ) {
915
915
init1 := "init-1"
@@ -1049,7 +1049,7 @@ var _ = SIGDescribe(framework.WithSerial(), "Containers Lifecycle", func() {
1049
1049
1050
1050
var _ = SIGDescribe (nodefeature .SidecarContainers , "Containers Lifecycle" , func () {
1051
1051
f := framework .NewDefaultFramework ("containers-lifecycle-test" )
1052
- f .NamespacePodSecurityEnforceLevel = admissionapi .LevelPrivileged
1052
+ f .NamespacePodSecurityLevel = admissionapi .LevelPrivileged
1053
1053
1054
1054
ginkgo .When ("using a Pod with restartPolicy=Never, three init container and two restartable init containers" , ginkgo .Ordered , func () {
1055
1055
@@ -3123,7 +3123,7 @@ var _ = SIGDescribe(nodefeature.SidecarContainers, "Containers Lifecycle", func(
3123
3123
3124
3124
var _ = SIGDescribe (nodefeature .SidecarContainers , framework .WithSerial (), "Containers Lifecycle" , func () {
3125
3125
f := framework .NewDefaultFramework ("containers-lifecycle-test-serial" )
3126
- f .NamespacePodSecurityEnforceLevel = admissionapi .LevelPrivileged
3126
+ f .NamespacePodSecurityLevel = admissionapi .LevelPrivileged
3127
3127
3128
3128
ginkgo .It ("should restart the containers in right order after the node reboot" , func (ctx context.Context ) {
3129
3129
init1 := "init-1"
0 commit comments