feat(cnpg): configure backup
All checks were successful
Renovate / renovate (push) Successful in 1m24s
All checks were successful
Renovate / renovate (push) Successful in 1m24s
This commit is contained in:
parent
00ed2b58f7
commit
dbe213da6a
2 changed files with 11 additions and 0 deletions
|
@ -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
|
||||||
|
|
10
cnpg/resources/backup.yaml
Normal file
10
cnpg/resources/backup.yaml
Normal 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
|
Loading…
Reference in a new issue