ad565db4 by Adam Heath

Only set storageClassName if it has a value.

1 parent 725b76e0
......@@ -4,7 +4,9 @@ kind: PersistentVolumeClaim
metadata:
name: {{ include "postgresql-rclone.fullname" . }}-backups
spec:
{{- if .Values.backup.pvc.storageClassName }}
storageClassName: {{ .Values.backup.pvc.storageClassName }}
{{- end }}
accessModes:
- ReadWriteOnce
resources:
......
......@@ -4,7 +4,9 @@ kind: PersistentVolumeClaim
metadata:
name: {{ include "postgresql-rclone.fullname" . }}-restores
spec:
{{- if .Values.backup.pvc.storageClassName }}
storageClassName: {{ .Values.restore.pvc.storageClassName }}
{{- end }}
accessModes:
- ReadWriteOnce
resources:
......