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
+16 -1
View File
@@ -17,8 +17,23 @@ spec:
# - supervised: requires manual supervision to perform
# the switchover of the primary
primaryUpdateStrategy: unsupervised
{{- if .Values.cluster.backup.enabled }}
backup:
retentionPolicy: {{ .Values.cluster.backupRetention | default "60d" }}
barmanObjectStore:
destinationPath: {{ .Values.cluster.destinationPath | default ""}}
serverName: {{ include "Atlantis.fullname" . }}-db
endpointURL: http://10.255.241.30:30080
s3Credentials:
accessKeyId:
key: access_key
name: cnpg-s3
secretAccessKey:
key: access_secret
name: cnpg-s3
wal:
compression: snappy
retentionPolicy: {{ .Values.cluster.backup.backupRetention | default "60d" }}
{{- end}}
storage:
size: {{ .Values.cluster.size | default "5Gi" }}
{{- with .Values.cluster.bootstrap }}