Files
manifests/charts/atlantis/templates/schedule.yaml
T
Moritz Jorg 44245a143f fix(cnpg): Add scheduled backup to atlantis chart
To work update the bucket-name and add the `nutanix-s3`
secret to the namespace.
2025-03-18 13:37:32 +01:00

12 lines
317 B
YAML

{{- if and .Values.cluster.backup.enabled .Values.cluster.enabled -}}
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: {{ include "Atlantis.fullname" . }}-db
spec:
schedule: "0 0 1 * * *"
backupOwnerReference: self
cluster:
name: '{{ include "Atlantis.fullname" . }}-db'
{{- end }}