Add backup configuration for CloudNativePG with Ceph integration
This commit is contained in:
parent
364fbee48c
commit
33e0f96764
@ -68,6 +68,23 @@ spec:
|
|||||||
storage:
|
storage:
|
||||||
size: 50Gi
|
size: 50Gi
|
||||||
storageClass: local-path
|
storageClass: local-path
|
||||||
|
backup:
|
||||||
|
enabled: true
|
||||||
|
barmanObjectStore:
|
||||||
|
endpointURL: http://rook-ceph-rgw-rgw-bulk.ceph.svc:80
|
||||||
|
destinationPath: "s3://backup-cnpg/"
|
||||||
|
s3Credentials:
|
||||||
|
accessKeyId:
|
||||||
|
name: postgrs-backup-bucket
|
||||||
|
key: ACCESS_KEY_ID
|
||||||
|
secretAccessKey:
|
||||||
|
name: postgres-backup-bucket
|
||||||
|
key: ACCESS_SECRET_KEY
|
||||||
|
data:
|
||||||
|
compression: bzip2
|
||||||
|
wal:
|
||||||
|
compression: bzip2
|
||||||
|
retentionPolicy: "60d"
|
||||||
---
|
---
|
||||||
apiVersion: objectbucket.io/v1alpha1
|
apiVersion: objectbucket.io/v1alpha1
|
||||||
kind: ObjectBucketClaim
|
kind: ObjectBucketClaim
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user