1fe9b67d by Adam Heath

Expose keep last, weeks, months settings, and change days back to 7.

Refs: #BF-11762
1 parent 1ffb7f0b
...@@ -7,5 +7,8 @@ data: ...@@ -7,5 +7,8 @@ data:
7 {{- range $database := .Values.postgresql.databases }} 7 {{- range $database := .Values.postgresql.databases }}
8 {{ $database }} 8 {{ $database }}
9 {{- end }}{{ .Values.local.postgresDb | quote }} 9 {{- end }}{{ .Values.local.postgresDb | quote }}
10 BACKUP_KEEP_MINS: {{ .Values.local.backupKeepLast | quote }}
10 BACKUP_KEEP_DAYS: {{ .Values.local.backupKeepDays | quote }} 11 BACKUP_KEEP_DAYS: {{ .Values.local.backupKeepDays | quote }}
12 BACKUP_KEEP_WEEKS: {{ .Values.local.backupKeepWeeks | quote }}
13 BACKUP_KEEP_MONTHS: {{ .Values.local.backupKeepMonths | quote }}
11 14
......
...@@ -23,7 +23,10 @@ local: ...@@ -23,7 +23,10 @@ local:
23 repository: prodrigestivill/postgres-backup-local 23 repository: prodrigestivill/postgres-backup-local
24 tag: "latest" 24 tag: "latest"
25 pullPolicy: IfNotPresent 25 pullPolicy: IfNotPresent
26 backupKeepDays: 288 26 backupKeepLast: 1440
27 backupKeepDays: 7
28 backupKeepWeeks: 4
29 backupKeepMonths: 6
27 30
28 backup: 31 backup:
29 enabled: false 32 enabled: false
......