Skip to content

Commit 46f6777

Browse files
committed
Add schedule for full and diff backups
1 parent d922bff commit 46f6777

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

helm-chart/postgrescluster/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: postgrescluster
33
description: A Helm chart for eoapi database dep for k8s
44
type: application
55
# The version below should match the version on the PostgresCluster CRD
6-
version: 5.5.4
7-
appVersion: 5.5.4
6+
version: 5.5.5
7+
appVersion: 5.5.5

helm-chart/postgrescluster/templates/postgres.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ spec:
121121
repo1-retention-full: {{ default "2" .Values.backupRetentionFullCount | quote }}
122122
repos:
123123
- name: repo1
124+
schedules:
125+
full: {{ default "0 1 * * 0" .Values.backupScheduleFull | quote }}
126+
differential: {{ default "0 1 * * 1-6" .Values.backupScheduleDifferential | quote }}
124127
volume:
125128
volumeClaimSpec:
126129
{{- if .Values.backupsStorageClassName }}
@@ -137,6 +140,9 @@ spec:
137140
repo1-retention-full: {{ default "2" .Values.backupRetentionFullCount | quote }}
138141
repos:
139142
- name: repo1
143+
schedules:
144+
full: {{ default "0 1 * * 0" .Values.backupScheduleFull | quote }}
145+
differential: {{ default "0 1 * * 1-6" .Values.backupScheduleDifferential | quote }}
140146
volume:
141147
volumeClaimSpec:
142148
{{- if .Values.backupsStorageClassName }}

0 commit comments

Comments
 (0)