From c1eef7856c9ed59d6c67d7fbca92ed44e219d74d Mon Sep 17 00:00:00 2001 From: Marco van Zijl Date: Sat, 10 May 2025 13:45:11 +0200 Subject: [PATCH] Hardcode object bucket name and path, since environment variables can't be used in manifests --- applications/templates/cloudnativepg.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/templates/cloudnativepg.yaml b/applications/templates/cloudnativepg.yaml index 27765a9..a129ac0 100644 --- a/applications/templates/cloudnativepg.yaml +++ b/applications/templates/cloudnativepg.yaml @@ -73,8 +73,8 @@ spec: storageClass: local-path backup: barmanObjectStore: - endpointURL: http://${BUCKET_HOST}:${BUCKET_PORT} - destinationPath: s3://${BUCKET_NAME}/ + endpointURL: http://rook-ceph-rgw-rgw-bulk.ceph.svc:80 + destinationPath: s3://postgres-backup/ s3Credentials: accessKeyId: name: postgres-backup-bucket @@ -112,7 +112,7 @@ metadata: name: postgres-backup-bucket namespace: cnpg-system spec: - generateBucketName: postgres-backup + bucketName: postgres-backup storageClassName: rgw-bulk additionalConfig: maxSize: "400G" \ No newline at end of file