backup-local.yaml 518 Bytes
apiVersion: v1
kind: ConfigMap
metadata:
  name: {{ include "postgresql-rclone.fullname" . }}-backup-local
data:
  POSTGRES_DB: |-
  {{- range $database := .Values.postgresql.databases }}
    {{ $database }}
  {{- end }}{{ .Values.local.postgresDb | quote }}
  BACKUP_KEEP_MINS: {{ .Values.local.backupKeepLast | quote }}
  BACKUP_KEEP_DAYS: {{ .Values.local.backupKeepDays | quote }}
  BACKUP_KEEP_WEEKS: {{ .Values.local.backupKeepWeeks | quote }}
  BACKUP_KEEP_MONTHS: {{ .Values.local.backupKeepMonths | quote }}