Repository navigation
[release-2.1] chore: Updating DB password key when postgresql.auth.username is customized - #639
Conversation
…omized (redhat-developer#628) * Updating password helper Signed-off-by: Leanne Ahern <lahern@redhat.com> * Updating helper in pod template Signed-off-by: Leanne Ahern <lahern@redhat.com> * Bumping chart version Signed-off-by: Leanne Ahern <lahern@redhat.com> --------- Signed-off-by: Leanne Ahern <lahern@redhat.com> (cherry picked from commit c129c80)
PR Summary by QodoFix PostgreSQL password key selection for custom usernames
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
1. Custom users can read the wrong password
|
|
Important The |
Signed-off-by: Leanne Ahern <lahern@redhat.com>
|
6e39a38
into
redhat-developer:release-2.1



Description of the change
Updating helper in _helpers.tpl to return the admin key when username is postgres and the user key otherwise, then use it in deployment.yaml.
Which issue(s) does this PR fix or relate to
Checklist
Chart.yamlaccording to Semantic Versioning.values.yamland added to the corresponding README.md. The pre-commit utility can be used to generate the necessary content. Runpre-commit run --all-filesto run the hooks and then push any resulting changes. The pre-commit Workflow will enforce this and warn you if needed.pre-commithook.ct lintcommand.