-
Notifications
You must be signed in to change notification settings - Fork 242
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
Use urlencode on tracker and hub for DSN connections #4129
Comments
Hi @rleffd 👋 Thanks for reporting this 👍 We should be quoting strings that may contain special characters. Could you confirm that updating the secret templates to quote the password fixes the issue? The db-migrator one shouldn’t be a problem as it isn’t in yaml format. password: {{ .Values.db.password | quote }} |
Not working with "quote": error="cannot parse My password has |
Oh I see, thanks 👍 |
Closes #4129 Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Closes #4129 Signed-off-by: Sergio Castaño Arteaga <tegioz@icloud.com>
Hello,
There is a small bug if the password used to connect to database has special characters like ":", "@", "$" etc. with the tracker and hub components because of use of DSN string to connect to db. For db-migrator, all is working well as it not using a DSN. I have not tested the scanner yet, but it seems that it is the same behaviour as hub and tracker because it using a DSN string also.
It would be nice to add an urlencode variable for the db password to values and templates. All components are not using a DSN string to connect to DB, so it is necessary to keep existing password variable and add another one with the password urlencoded.
I've just done a test locally:
and in all templates that is using a DSN string, I changed the secrets to:
It works well :)
The text was updated successfully, but these errors were encountered: