diff --git a/helm/postgres/templates/postgres.yaml b/helm/postgres/templates/postgres.yaml index 53261360..52838b64 100644 --- a/helm/postgres/templates/postgres.yaml +++ b/helm/postgres/templates/postgres.yaml @@ -116,8 +116,13 @@ spec: azure: container: {{ .Values.azure.container | quote }} {{- else }} + global: + repo1-retention-full: {{ .Values.repo1RetentionFull | quote }} + repo1-retention-full-type: {{ .Values.repo1RetentionFullType | quote }} repos: - name: repo1 + schedules: + full: {{ .Values.repo1Schedule | quote }} volume: volumeClaimSpec: {{- if .Values.backupsStorageClassName }} diff --git a/helm/postgres/values.yaml b/helm/postgres/values.yaml index 56d1ecd9..8dbf4d2a 100644 --- a/helm/postgres/values.yaml +++ b/helm/postgres/values.yaml @@ -176,7 +176,9 @@ postgresVersion: 16 # backupsSize sets the storage size of the backups to a volume in Kubernetes. # can be overridden by "pgBackRestConfig", if set. Defaults to the value below. # backupsSize: 1Gi - +repo1RetentionFull: 5 +repo1RetentionFullType: time +repo1Schedule: "0 14 * * 3" # backupsStorageClassName sets the storage class to a class existing in Kubernetes. # Defaults to the "default" storage class defined in the cluster. # Can be overridden by "pgBackRestConfig", if set.