We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf9f2a3 commit 14a7a05Copy full SHA for 14a7a05
2 files changed
pgdb01-cirrus/templates/postgres_cluster.yaml
@@ -16,14 +16,15 @@ spec:
16
cpu: {{ .Values.db.resource.limits.cpu | quote }}
17
memory: {{ .Values.db.resource.limits.memory }}
18
19
- {{- if .Values.db.backups }}
20
backup:
21
{{- if .Values.db.backups.volumeSnapshot }}
22
volumeSnapshot:
23
className: {{ .Values.db.backups.volumeSnapshot.snapshotClassName }}
24
{{- end }}
25
- {{- end }}
26
+ # Keep 8 weekly backups
+ retentionPolicy: "8w"
27
+
28
{{- if .Values.db.backups.s3.enabled }}
29
plugins:
30
- enabled: true
pgdb01-cirrus/values.yaml
@@ -15,6 +15,8 @@ db:
15
memory: 128Gi
backups:
- enabled: false
+ volumeSnapshot:
+ enabled: true
+ snapshotClassName: csi-rbdplugin-snapclass
s3:
enabled: false
0 commit comments