k3s-cluster/kubernetes/main/apps/database/postgresql/cluster/scheduledbackup.yaml

13 lines
326 B
YAML
Raw Permalink Normal View History

---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/postgresql.cnpg.io/scheduledbackup_v1.json
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: postgres
namespace: database
spec:
schedule: "@daily"
immediate: true
backupOwnerReference: self
cluster:
name: postgres16