robjuz/helm-charts

allow providing the database DSN via extraEnv

Closed this issue · 4 comments

Allow providing the database DSN via extraEnv.
Like this it could be provided as a k8s secret.
I will provide a PR for that

Why would you set the database DSN manually, external database is already supported.

If security of the database password is your consent, I can improve the external database values to accept a secret with credentials.

If security of the database password is your consent, I can improve the external database values to accept a secret with credentials.

Exactly, I wanted to add the whole database DSN via reference to a secret.
More as a simple workaround

But if you plan to refactor this anyway:
Ideally the password for the external DB could be referenced from a secret (optionally).
There is also another problem with the password: if it contains e.g. special characters, that leads to problems in the URL. I had to use only numbers as a workaround.

closing because of #48