Skip to content

Commit 2f3a7ec

Browse files
committed
put the retention policy in the right place
1 parent 355f702 commit 2f3a7ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pgdb03-cirrus/templates/postgres_cluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ spec:
1717

1818
{{- if .Values.db.backups }}
1919
backup:
20+
# Keep 8 weekly backups
21+
retentionPolicy: "8w"
2022
target: "prefer-standby"
2123
{{- if .Values.db.backups.volumeSnapshot }}
2224
volumeSnapshot:
2325
className: {{ .Values.db.backups.volumeSnapshot.snapshotClassName }}
2426
{{- end }}
2527
{{- if .Values.db.backups.s3.enabled }}
2628
barmanObjectStore:
27-
# Keep 8 weekly backups
28-
retentionPolicy: "8w"
2929
wal:
3030
compression: bzip2
3131
data:

0 commit comments

Comments
 (0)