Closed mrabe142 closed 1 year ago
Hi @mrabe142
Thanks for reporting this issue. Would you like to contribute by creating a PR to solve the issue? The Bitnami team will be happy to review it and provide feedback. Here you can find the contributing guidelines.
Hello,
I don't think I would be able to easily do that due to restrictions from my employer but I look forward to a fix.
Thank you
Hi @mrabe142 ,
Don't worry, we have created a task to fix it.
Name and Version
bitnami/postgres 12.5.2
What architecture are you using?
amd64
What steps will reproduce the bug?
helm template postres postgresql-12.5.2.tgz -n demo -f custom-values/postgres-values.yml > postgres1252.yml
Are you using any custom parameters or values?
What is the expected behavior?
The empty secrets template would be excluded if empty and POSTGRES_PASSWORD environment variable would not be set if the authentication options are turned off or empty
What do you see instead?
It generated an empty secrets block:
and it produces a POSTGRES_PASSWORD env variable pointing to a secret that doesn't exist
Additional information
I plan to inject postgres auth via Hashicorp Vault separately so I am leaving the auth stuff for the helm chart empty.