Helm-Chart - Ability to provide Database Password outside of source-code #4607
valereColleville
started this conversation in
Ideas
Replies: 1 comment 20 replies
-
|
Hi @valereColleville 👋 You are not forced to write your password to your Eventually we'll improve the chart and add more options to provide credentials. We'll keep you posted! |
Beta Was this translation helpful? Give feedback.
20 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is your feature request related to a problem? Please describe.
I didn't find an ability to use environment variable for database password management. Today i'am forced to have the db.password field into my values.yaml. (or i missed something which is also possible)
Describe the solution you'd like
To be able to provide a "password-less source code" we need a way to link a vault-solution to provide the database password.
Classic pattern is to rely on kubernetes secret letting everyone filling the secret "as they want" (ex: using extrenal-secret + AWS Secret Manager or Azure-Vault-CSI or any Hashcorp vault operator etc...)
So update would be:
Create a "existingSecret" field in the helm chart, if exist use it as an envVar setup for the container and update SetupDB source code to override default yaml setup with env var value if provided.
Example in another tools (Harbor):
https://github.com/goharbor/harbor-helm/blob/main/templates/core/core-dpl.yaml#L130
https://github.com/goharbor/harbor-helm/blob/main/values.yaml#L973
Describe alternatives you've considered
Additional context
I'll be happy/open to provide a PR about it if we agree that the feature could be added.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions