feat: Replace custom pgdump job with CNPG ScheduledBackup
Some checks failed
Deploy Cluster / Terraform (push) Successful in 1m30s
Deploy Cluster / Ansible (push) Has been cancelled

This commit is contained in:
2026-03-28 03:15:39 +00:00
parent d4930235fa
commit 7cb3b84ecb
3 changed files with 12 additions and 62 deletions

View File

@@ -0,0 +1,11 @@
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: rancher-db-weekly
namespace: cnpg-cluster
spec:
schedule: "0 0 2 * * 0"
backupOwnerReference: self
cluster:
name: rancher-db
target: primary