From c0600fb019722df98b6c7efca464921d21107e4a Mon Sep 17 00:00:00 2001 From: Federico Nafria Date: Fri, 31 Jul 2026 11:06:02 +0200 Subject: [PATCH] fix(tei): correct extraEnv and volumeMounts rendering The extraEnv and volumeMounts blocks were rendered with a mix of template indentation and the indent filter, producing invalid YAML when either value is configured (e.g. "did not find expected key"). Switch to toYaml with nindent so list items align with the rest of the chart's block sequence style. Fixes #235 Signed-off-by: Federico Nafria --- charts/tei/Chart.yaml | 2 +- charts/tei/templates/statefulset.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/tei/Chart.yaml b/charts/tei/Chart.yaml index 484315d2..14798986 100644 --- a/charts/tei/Chart.yaml +++ b/charts/tei/Chart.yaml @@ -6,7 +6,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.6.0 +version: 1.6.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/tei/templates/statefulset.yaml b/charts/tei/templates/statefulset.yaml index 5e495635..b81ed50e 100644 --- a/charts/tei/templates/statefulset.yaml +++ b/charts/tei/templates/statefulset.yaml @@ -56,13 +56,13 @@ spec: {{- toYaml .Values.resources | nindent 12 }} {{- if .Values.extraEnv }} env: - {{ toYaml .Values.extraEnv | indent 8 }} + {{- toYaml .Values.extraEnv | nindent 8 }} {{- end }} volumeMounts: - name: data-volume mountPath: {{ .Values.persistence.mountPath }} {{- if .Values.volumeMounts }} - {{ toYaml .Values.volumeMounts | indent 8 }} + {{- toYaml .Values.volumeMounts | nindent 8 }} {{- end }} volumes: {{- if not .Values.persistence.enabled }}