Replies: 1 comment
-
Hey @Darkemust, thanks for pointing this out. Just for the context, it's currently an expected behaviour by sql_exporter - the special characters if present have to be URL-encoded by the user. I have it in mind (wasn't a big issue before but apparently becomes an annoying piece), and maybe we just address that part in the application itself, so we don't need to fix on the helm chart side. Let me think about it and I'll get back with an improvement. At the moment I'm a bit busy with my daylight work, but I'll try my best. 👍 |
Beta Was this translation helpful? Give feedback.
0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, thank you very much for this great helm chart.
Problem detected
I encountered some issues regarding password complexity management in the sql-exporter helm chart in my environment. After trying several options, I don't see a way to correct it based on the options you provide in the helm chart.
I tried modifying the entrypoint but couldn't give up when I checked that I don't have a "command" argument in the helm chart.
Helm chart version:
0.12.5
Environment / Affected drivers
Occurs with complex passwords across DSN construction (containing special characters such as %, >, <, +, etc.) with any database engine.
Configuration (minimal reproduction)
Values.yaml
cm-dburl
cm-collector-db
Impact
Connection attempts fail whenever the password includes characters that must be URI-encoded, causing the DSN to be parsed incorrectly.
Workaround
Manually pre-encode the password and store it as a secret:
Then reference the encoded value via envFrom and build the DSN using that pre-encoded secret. This works but is not ideal for maintainability.
Expected behavior
Beta Was this translation helpful? Give feedback.
All reactions