postgres-operator-examples
postgres-operator-examples copied to clipboard
GCS configuration in postgres helm-chart is broken (base64 encoding)
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.