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:
@@ -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 }}
|
||||
Reference in New Issue
Block a user