bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.61k stars 8.98k forks source link

[bitnami/postgresql] Add support for password rotation #22218

Open arovira opened 5 months ago

arovira commented 5 months ago

Name and Version

bitnami/postgresql 13.2.30

What is the problem this feature will solve?

At the moment, once a release is installed, there is no helm option to change the password. When attempting to do so, we get the following message:

WARNING: The configured password will be ignored on new installation in case when previous PostgreSQL release was deleted through the helm command. In that case, old PVC will have an old password, and setting it through helm won't take effect. Deleting persistent volumes (PVs) will solve the issue.

What is the feature you are proposing to solve the problem?

Changing a password should not be really complicated. This is a security standard procedure that could be supported.

What alternatives have you considered?

No response

javsalgar commented 5 months ago

Hi!

Thank you so much for the input. So far, we've been conservative on adding support for this use case because of the unwanted consequences that could occur. I will forward this to the engineering team for evaluation but as it is not a critical feature we cannot guarantee an ETA. In case you have a possible implementation idea, feel free to submit a PR and the team will review it.