diff --git a/helm/postgres/templates/postgres.yaml b/helm/postgres/templates/postgres.yaml index 11633f2e..c4e296ae 100644 --- a/helm/postgres/templates/postgres.yaml +++ b/helm/postgres/templates/postgres.yaml @@ -60,6 +60,8 @@ spec: volume: volumeClaimSpec: {{- if $repo.volume.backupsStorageClassName }} + storageClassName: {{ $repo.volume.backupsStorageClassName | quote }} + {{- else if .Values.backupsStorageClassName }} storageClassName: {{ .Values.backupsStorageClassName | quote }} {{- end }} accessModes: