Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/pg_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,7 @@ spec:
storage:
storageClass: {{ .Values.persistence.storageClass }}
size: {{ .Values.persistence.size }}
{{- with .Values.backup }}
backup:
{{- toYaml . | nindent 4 }}
{{- end }}
12 changes: 12 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,15 @@ postgresql:
## enabled: false
## source: "source-db" # must be defined in 'init.externalClusters'
replica: {}

## Add backup capability to all clusters
## https://cloudnative-pg.io/documentation/1.27/backup/
##
backup:
## Configure the backup method to use k8s VolumeSnapshots as a default
## https://cloudnative-pg.io/documentation/1.27/appendixes/backup_volumesnapshot/
##
volumeSnapshot:
## @param backup.volumeSnapshot.className VolumeSnapshotClass to be used to make backups
##
className: csi-cephfsplugin-snapclass