-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DATASOURCES_DEFAULT_HOST can't be empty when mariadbDependencyEnabled and postgresqlDependencyEnabled are disabled #84
Comments
Hey @vaaleyard, Yes this is intentional as we considered that for the database hostname it would be enough to store it as a configmap. |
And is it possible to pass the other |
I think you would have problems with this function https://github.com/passbolt/charts-passbolt/blob/main/templates/_helpers.tpl#L67 that doesn't consider that the host could be stored in a secret. |
+1 to using existing database and load necessary envs from secret |
The only "important" vars I could set this way was these ones:
At least these ones works. |
Hello. Thank you for your contribution. We are working on a fix for this issue and it will be included in the next release, which will be available in a few days. |
I'm trying to use an external database as the passbolt db, and I want to pass its variables to fetch from a secret I have in the my kubernetes cluster.
I have a secret in kubernetes with four variables, which has the connection settings for the database:
My values file is something like this:
Troubleshooting the error message:
and going to _helpers.tpl#L67 it looks like I have to obligatory pass the HOST variable as plain... Wouldn't it be better to also allow it to pass as a secret variable? Because it doesn't make sense to also leave this var in plain text.
The text was updated successfully, but these errors were encountered: