feat(cnpg): configure backup
All checks were successful
Renovate / renovate (push) Successful in 1m24s

This commit is contained in:
Peter 2024-08-14 20:05:16 +02:00
parent 00ed2b58f7
commit dbe213da6a
Signed by: prskr
GPG key ID: F56BED6903BC5E37
2 changed files with 11 additions and 0 deletions

View file

@ -6,6 +6,7 @@ resources:
- resources/secrets/ext-pgo-admin.yaml - resources/secrets/ext-pgo-admin.yaml
- resources/secrets/cnpg-backup-creds.yaml - resources/secrets/cnpg-backup-creds.yaml
- resources/cluster.yaml - resources/cluster.yaml
- resources/backup.yaml
helmCharts: helmCharts:
- releaseName: cnpg - releaseName: cnpg

View file

@ -0,0 +1,10 @@
---
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: daily-backup
spec:
schedule: "0 1 * * *"
backupOwnerReference: self
cluster:
name: app-cluster