fix(cnpg): Add scheduled backup to atlantis chart

To work update the bucket-name and add the `nutanix-s3`
secret to the namespace.
This commit is contained in:
Moritz Jorg
2025-03-18 13:21:01 +01:00
parent 705ddfc1a3
commit 44245a143f
3 changed files with 31 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
{{- 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 }}