Skip to content

feat(chart): allow InPlaceOrRecreate VPA updateMode#30

Merged
vtmocanu merged 2 commits into
mainfrom
feat/vpa-inplace-updatemode
Jun 14, 2026
Merged

feat(chart): allow InPlaceOrRecreate VPA updateMode#30
vtmocanu merged 2 commits into
mainfrom
feat/vpa-inplace-updatemode

Conversation

@vtmocanu

Copy link
Copy Markdown
Owner

What

Adds InPlaceOrRecreate to the verticalPodAutoscaler.updateMode enum in values.schema.json, bumps the chart 0.3.1 → 0.3.2, and documents the mode in values.yaml.

Why

A consumer (wxs flux, monitoring/silencer) set updateMode: InPlaceOrRecreate (VPA 1.5+/k8s 1.33+ in-place pod resize) and the Helm upgrade failed schema validation:

at '/verticalPodAutoscaler/updateMode': value must be one of 'Off', 'Initial', 'Recreate', 'Auto'

The VPA template already passes updateMode through verbatim (updateMode: {{ .Values.verticalPodAutoscaler.updateMode | quote }}), so the schema enum was the only gate. No template change.

Notes

  • Chart-only bump; appVersion stays v2.0.4.
  • helm lint passes.
  • On merge, chart.yml publishes 0.3.2 to oci://ghcr.io/vtmocanu/charts/silencer; the flux OCIRepository tag then bumps to 0.3.2 to consume it.

🤖 Generated with Claude Code

vtmocanu and others added 2 commits June 14, 2026 22:50
The values schema enum permitted only Off/Initial/Recreate/Auto, so a
consumer setting `verticalPodAutoscaler.updateMode: InPlaceOrRecreate`
(VPA 1.5+/k8s 1.33+ in-place pod resize) failed schema validation and the
Helm release went NotReady. The VPA template already passes updateMode
through verbatim, so adding the enum value is the only change needed.

Chart 0.3.1 -> 0.3.2 (chart-only; appVersion stays v2.0.4).
@vtmocanu
vtmocanu merged commit a047c6e into main Jun 14, 2026
@vtmocanu
vtmocanu deleted the feat/vpa-inplace-updatemode branch June 14, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant