Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions helm/postgres/templates/postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion helm/postgres/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down