Suspend the backup cronjob by default.
Showing
2 changed files
with
4 additions
and
0 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment