Skip to content

Commit 2f522db

Browse files
committed
fix: correct indentation for extraEnv and volumeMounts using nindent
Replaced `indent` with `nindent` in Helm templates for: - `extraEnv` variables - `volumeMounts` declarations Ensures proper YAML formatting by: 1. Starting blocks on new lines 2. Maintaining consistent 8-space indentation 3. Preventing indentation errors in generated manifests Signed-off-by: siyu77 <[email protected]>
1 parent 1c053e8 commit 2f522db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/tei/templates/statefulset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ spec:
5656
{{- toYaml .Values.resources | nindent 12 }}
5757
{{- if .Values.extraEnv }}
5858
env:
59-
{{ toYaml .Values.extraEnv | indent 8 }}
59+
{{ toYaml .Values.extraEnv | nindent 8 }}
6060
{{- end }}
6161
volumeMounts:
6262
- name: data-volume
6363
mountPath: {{ .Values.persistence.mountPath }}
6464
{{- if .Values.volumeMounts }}
65-
{{ toYaml .Values.volumeMounts | indent 8 }}
65+
{{ toYaml .Values.volumeMounts | nindent 8 }}
6666
{{- end }}
6767
volumes:
6868
{{- if not .Values.persistence.enabled }}

0 commit comments

Comments
 (0)