Hardcode object bucket name and path, since environment variables can't be used in manifests

This commit is contained in:
Marco van Zijl 2025-05-10 13:45:11 +02:00
parent 0fd741671c
commit c1eef7856c

View File

@ -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"