Skip to content

fix(chart): keep release versions out of view syncer volume claim labels - #5

Merged
typedrat merged 1 commit into
mainfrom
typedrat/stable-volume-claim-labels
Nov 6, 2026
Merged

typedrat merged 1 commit into
mainfrom
typedrat/stable-volume-claim-labels

Conversation

@typedrat

@typedrat typedrat commented Nov 6, 2026

Copy link
Copy Markdown
Member

volumeClaimTemplates is immutable, and its labels included helm.sh/chart and app.kubernetes.io/version. Any chart or Zero version bump therefore made syncing the view syncer StatefulSet fail. On Synapdeck nonprod, the 2.4.0 update has been rejected this way, so that StatefulSet is still on the 2.3.1 template.

The labels now hold only the stable selector labels and the component.

Upgrading: an existing StatefulSet still has the old labels, so 2.4.1 fails once as well. Delete it with kubectl delete statefulset <name> --cascade=orphan and let it be recreated. The pods and PVCs stay.

Checked: the new test failed before the template change, and tests/test_templates.py passes after it.

volumeClaimTemplates is immutable, so a chart or appVersion bump made every sync of the
StatefulSet fail. An existing StatefulSet has to be recreated once to take this.
@typedrat
typedrat merged commit d1d34e2 into main Nov 6, 2026
1 check passed
@typedrat
typedrat deleted the typedrat/stable-volume-claim-labels branch November 6, 2026 20:32
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