From 9166d81f3944e1a4bbb1efdac3c9dff6a1389b6d Mon Sep 17 00:00:00 2001 From: Johan Brodin Date: Mon, 5 Oct 2026 15:46:48 +0200 Subject: [PATCH] fix(flipt-v2): indent volumeClaimTemplates labels and annotations With `kind: StatefulSet` and `persistence.enabled`, `persistence.labels` and `persistence.annotations` were rendered at the same indentation as their `labels:` / `annotations:` keys, so they became sibling fields of `metadata` and the API server rejected the StatefulSet with `strict decoding error: unknown field "spec.volumeClaimTemplates[0].metadata."`. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Johan Brodin --- charts/flipt-v2/Chart.yaml | 2 +- charts/flipt-v2/templates/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/flipt-v2/Chart.yaml b/charts/flipt-v2/Chart.yaml index b87f73f..7a50546 100644 --- a/charts/flipt-v2/Chart.yaml +++ b/charts/flipt-v2/Chart.yaml @@ -5,7 +5,7 @@ description: >- Flipt v2 is a Git-native, open-source feature flag solution with enhanced authentication and multi-environment support. type: application -version: 2.13.1 +version: 2.13.2 appVersion: v2.13.1 maintainers: - name: Flipt diff --git a/charts/flipt-v2/templates/deployment.yaml b/charts/flipt-v2/templates/deployment.yaml index bc86872..d5128b2 100644 --- a/charts/flipt-v2/templates/deployment.yaml +++ b/charts/flipt-v2/templates/deployment.yaml @@ -167,11 +167,11 @@ spec: name: flipt-data {{- with .Values.persistence.labels }} labels: - {{- toYaml . | nindent 8 }} + {{- toYaml . | nindent 10 }} {{- end }} {{- with .Values.persistence.annotations }} annotations: - {{- include "common.tplvalues.render" ( dict "value" . "context" $ ) | nindent 8 }} + {{- include "common.tplvalues.render" ( dict "value" . "context" $ ) | nindent 10 }} {{- end }} spec: accessModes: