diff --git a/applications/templates/cloudnativepg.yaml b/applications/templates/cloudnativepg.yaml index ac110c3..4fa3a64 100644 --- a/applications/templates/cloudnativepg.yaml +++ b/applications/templates/cloudnativepg.yaml @@ -68,6 +68,23 @@ spec: storage: size: 50Gi 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 kind: ObjectBucketClaim