Skip to content

Commit 4154b31

Browse files
fix: helm template field format
Co-authored-by: Benjamin Blattberg <[email protected]>
1 parent 44b4ce5 commit 4154b31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

helm/postgres/templates/postgres.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ spec:
5757
{{- if $repo.volume }}
5858
volume:
5959
volumeClaimSpec:
60-
{{- if $repo.volume.backupsStorageClassName -}}storageClassName: {{ .Values.backupsStorageClassName | quote }}{{ end }}
60+
{{- if $repo.volume.backupsStorageClassName }}
61+
storageClassName: {{ .Values.backupsStorageClassName | quote }}
62+
{{- end }}
6163
accessModes:
6264
- "ReadWriteOnce"
6365
resources:

0 commit comments

Comments
 (0)