backup-local.yaml 323 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_DAYS: {{ .Values.local.backupKeepDays | quote }}