0d6151e4 by Adam Heath

Suspend the backup cronjob by default.

1 parent 228aef4c
...@@ -18,6 +18,9 @@ metadata: ...@@ -18,6 +18,9 @@ metadata:
18 labels: 18 labels:
19 {{- include "postgresql-rclone.labels" . | nindent 4 }} 19 {{- include "postgresql-rclone.labels" . | nindent 4 }}
20 spec: 20 spec:
21 {{- if not .Values.backup.enabled }}
22 suspend: true
23 {{- end }}
21 schedule: {{ .Values.backup.job.schedule }} 24 schedule: {{ .Values.backup.job.schedule }}
22 startingDeadlineSeconds: {{ .Values.backup.job.startingDeadlineSeconds }} 25 startingDeadlineSeconds: {{ .Values.backup.job.startingDeadlineSeconds }}
23 concurrencyPolicy: Forbid 26 concurrencyPolicy: Forbid
......
...@@ -26,6 +26,7 @@ local: ...@@ -26,6 +26,7 @@ local:
26 backupKeepDays: 288 26 backupKeepDays: 288
27 27
28 backup: 28 backup:
29 enabled: false
29 job: 30 job:
30 schedule: "13 3 * * *" 31 schedule: "13 3 * * *"
31 startingDeadlineSeconds: 3600 32 startingDeadlineSeconds: 3600
......