Skip to content
Open
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 charts/oidc-apps-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ priorityClass:
vpa:
enabled: true
updatePolicy:
updateMode: "Recreate"
updateMode: "InPlaceOrRecreate"
# evictionRequirements:
# - resources: ["cpu", "memory"]
# changeRequirement: TargetHigherThanRequests
Expand Down
2 changes: 1 addition & 1 deletion example/controller-registration.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/webhook/test/vpa-mutating-webhook_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func initTargetVPA() {
APIVersion: "apps/v1",
},
UpdatePolicy: &autoscalerv1.PodUpdatePolicy{
UpdateMode: ptr.To(autoscalerv1.UpdateModeRecreate),
UpdateMode: ptr.To(autoscalerv1.UpdateModeInPlaceOrRecreate),
},
ResourcePolicy: &autoscalerv1.PodResourcePolicy{
ContainerPolicies: []autoscalerv1.ContainerResourcePolicy{
Expand Down Expand Up @@ -107,7 +107,7 @@ func initNonTargetVPA() {
APIVersion: "apps/v1",
},
UpdatePolicy: &autoscalerv1.PodUpdatePolicy{
UpdateMode: ptr.To(autoscalerv1.UpdateModeRecreate),
UpdateMode: ptr.To(autoscalerv1.UpdateModeInPlaceOrRecreate),
},
ResourcePolicy: &autoscalerv1.PodResourcePolicy{
ContainerPolicies: []autoscalerv1.ContainerResourcePolicy{
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/crds/vpa-v1-crd-gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ spec:
- Initial
- Recreate
- Auto
- InPlaceOrRecreate
type: string
type: object
required:
Expand Down Expand Up @@ -665,6 +666,7 @@ spec:
- Initial
- Recreate
- Auto
- InPlaceOrRecreate
type: string
type: object
required:
Expand Down
Loading