Add environment variables for Postgres backup configuration and update S3 endpoint and destination path
This commit is contained in:
parent
403096cde5
commit
816ed4ab03
@ -44,6 +44,9 @@ metadata:
|
||||
name: pg-cluster
|
||||
namespace: cnpg-system
|
||||
spec:
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: postgres-backup-bucket
|
||||
instances: 2
|
||||
priorityClassName: homelab-critical
|
||||
resources:
|
||||
@ -70,8 +73,8 @@ spec:
|
||||
storageClass: local-path
|
||||
backup:
|
||||
barmanObjectStore:
|
||||
endpointURL: http://rook-ceph-rgw-rgw-bulk.ceph.svc:80
|
||||
destinationPath: "s3://backup-cnpg/"
|
||||
endpointURL: http://${BUCKET_HOST}:${BUCKET_PORT}
|
||||
destinationPath: "s3://${BUCKET_NAME}/"
|
||||
s3Credentials:
|
||||
accessKeyId:
|
||||
name: postgres-backup-bucket
|
||||
@ -87,6 +90,8 @@ spec:
|
||||
managed:
|
||||
roles:
|
||||
- name: marco
|
||||
connectionlimit: -1
|
||||
ensure: present
|
||||
login: true
|
||||
superuser: true
|
||||
passwordSecret:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user