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 storageClass: local-path
backup: backup:
barmanObjectStore: barmanObjectStore:
endpointURL: http://${BUCKET_HOST}:${BUCKET_PORT} endpointURL: http://rook-ceph-rgw-rgw-bulk.ceph.svc:80
destinationPath: s3://${BUCKET_NAME}/ destinationPath: s3://postgres-backup/
s3Credentials: s3Credentials:
accessKeyId: accessKeyId:
name: postgres-backup-bucket name: postgres-backup-bucket
@ -112,7 +112,7 @@ metadata:
name: postgres-backup-bucket name: postgres-backup-bucket
namespace: cnpg-system namespace: cnpg-system
spec: spec:
generateBucketName: postgres-backup bucketName: postgres-backup
storageClassName: rgw-bulk storageClassName: rgw-bulk
additionalConfig: additionalConfig:
maxSize: "400G" maxSize: "400G"