This commit is contained in:
Joseph Hanson 2023-08-15 14:14:32 +00:00
parent eabdced155
commit 362d50652d

View file

@ -25,6 +25,8 @@ spec:
monitoring: monitoring:
enablePodMonitor: true enablePodMonitor: true
backup: backup:
recovery:
source: clusterBackup
retentionPolicy: 30d retentionPolicy: 30d
barmanObjectStore: barmanObjectStore:
wal: wal:
@ -40,3 +42,17 @@ spec:
secretAccessKey: secretAccessKey:
name: cloudnative-pg-secret name: cloudnative-pg-secret
key: aws-secret-access-key key: aws-secret-access-key
externalClusters:
- name: clusterBackup
barmanObjectStore:
destinationPath: https://${SECRET_CLOUDFLARE_ACCOUNT_ID}.r2.cloudflarestorage.com
s3Credentials:
accessKeyId:
name: cloudnative-pg-secret
key: aws-access-key-id
secretAccessKey:
name: cloudnative-pg-secret
key: aws-secret-access-key
wal:
maxParallel: 8
compression: bzip2