postgres-operator-examples icon indicating copy to clipboard operation
postgres-operator-examples copied to clipboard

GCS configuration in postgres helm-chart is broken (base64 encoding)

Open boskisam opened this issue 3 years ago • 0 comments

Hi,

If i try to create a cluster with postgres helm-chart, add my gcs json key and spin up the cluster it does not finish creating since pgo is not decoding base64 secret. I have worked around the issue by removing base64 encoding in secret template in gcs json fields. helm/postgres/templates/pgbackrest-secret.yaml

Changing:

        {{ $repo.gcs.key | b64enc }}

to

        {{ $repo.gcs.key }}

In kustomize i see it is passed without encoding, so should work fine. might also be the case in aws/azure storage.

boskisam avatar Feb 01 '22 09:02 boskisam