Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/e2e/integration/recommender.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (

var _ = utils.RecommenderE2eDescribe("Flags", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

var vpaClientSet vpa_clientset.Interface
var hamsterNamespace string
Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/e2e/v1/actuation.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import (

var _ = ActuationSuiteE2eDescribe("Actuation", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

ginkgo.It("still applies recommendations on restart when update mode is InPlaceOrRecreate", func() {
ginkgo.By("Setting up a hamster deployment")
Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/e2e/v1/admission_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const (

var _ = AdmissionControllerE2eDescribe("Admission-controller", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

ginkgo.BeforeEach(func() {
waitForVpaWebhookRegistration(f)
Expand Down
8 changes: 4 additions & 4 deletions vertical-pod-autoscaler/e2e/v1/full_vpa.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var _ = FullVpaE2eDescribe("Pods under VPA", func() {
// This schedules AfterEach block that needs to run after the AfterEach above and
// BeforeEach that needs to run before the BeforeEach below - thus the order of these matters.
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

f.Describe("with InPlaceOrRecreate update mode", framework.WithFeatureGate(features.InPlaceOrRecreate), func() {
ginkgo.BeforeEach(func() {
Expand Down Expand Up @@ -229,7 +229,7 @@ var _ = FullVpaE2eDescribe("Pods under VPA with default recommender explicitly c
// This schedules AfterEach block that needs to run after the AfterEach above and
// BeforeEach that needs to run before the BeforeEach below - thus the order of these matters.
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

ginkgo.BeforeEach(func() {
ns := f.Namespace.Name
Expand Down Expand Up @@ -299,7 +299,7 @@ var _ = FullVpaE2eDescribe("Pods under VPA with non-recognized recommender expli
// This schedules AfterEach block that needs to run after the AfterEach above and
// BeforeEach that needs to run before the BeforeEach below - thus the order of these matters.
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

ginkgo.BeforeEach(func() {
ns := f.Namespace.Name
Expand Down Expand Up @@ -360,7 +360,7 @@ var _ = FullVpaE2eDescribe("OOMing pods under VPA", func() {
const replicas = 3

f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

ginkgo.BeforeEach(func() {
ns := f.Namespace.Name
Expand Down
10 changes: 5 additions & 5 deletions vertical-pod-autoscaler/e2e/v1/recommender.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func getVpaObserver(vpaClientSet vpa_clientset.Interface, namespace string) *obs

var _ = utils.RecommenderE2eDescribe("Checkpoints", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

ginkgo.It("with missing VPA objects are garbage collected", func() {
ns := f.Namespace.Name
Expand Down Expand Up @@ -172,7 +172,7 @@ var _ = utils.RecommenderE2eDescribe("Checkpoints", func() {

var _ = utils.RecommenderE2eDescribe("VPA CRD object", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

ginkgo.It("serves recommendation for CronJob", func() {
ginkgo.By("Setting up hamster CronJob")
Expand Down Expand Up @@ -205,7 +205,7 @@ var _ = utils.RecommenderE2eDescribe("VPA CRD object", func() {

var _ = utils.RecommenderE2eDescribe("VPA CRD object", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

var (
vpaCRD *vpa_types.VerticalPodAutoscaler
Expand Down Expand Up @@ -284,7 +284,7 @@ var _ = utils.RecommenderE2eDescribe("VPA CRD object", func() {

var _ = utils.RecommenderE2eDescribe("VPA CRD object", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

var (
vpaClientSet vpa_clientset.Interface
Expand Down Expand Up @@ -361,7 +361,7 @@ func getMilliCpu(resources apiv1.ResourceList) int64 {

var _ = utils.RecommenderE2eDescribe("VPA CRD object", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

var vpaClientSet vpa_clientset.Interface

Expand Down
2 changes: 1 addition & 1 deletion vertical-pod-autoscaler/e2e/v1/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (

var _ = UpdaterE2eDescribe("Updater", func() {
f := framework.NewDefaultFramework("vertical-pod-autoscaling")
f.NamespacePodSecurityEnforceLevel = podsecurity.LevelBaseline
f.NamespacePodSecurityLevel = podsecurity.LevelBaseline

// Sets up a lease object updated periodically to signal - requires WithSerial()
framework.It("evicts pods when Admission Controller status available", framework.WithSerial(), func() {
Expand Down
Loading