-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[prometheus-snmp-exporter] Is there a way to put SNMPv3 auth passwords in secrets? #4066
Comments
Hey, I had the same issue recently (I want to have the auth part of the config be a secret). SNMP exporter now supports submitting multiple config files, so you can have your config as values and auth block mounted as secret/injected as a file in runtime. I am running the version from #4043 and it works fine, but looks like the maintainer is not active. |
Closing this as it has been resolved in #4043, if you have any further problems or feature requests please open a new issue, thanks! |
Don't mean to necro this, but is the intended way to use this to add an
|
Yeah that's exactly how I've been using it @prometheanfire |
Describe the bug a clear and concise description of what the bug is.
I have configured the snmp exporter and have a working config. However I do not want to enter my SNMPv3 passwords directly into git, I would like to encrypt the passwords. We're using a secrets manager that will create k8s Secrets. However I am not seeing a way to force this chart to reference the values from a Secret.
Is there any way to accomplish this? Or is there a better way to encrypt/protect the passwords?
Thanks!
What's your helm version?
v3.12.1
What's your kubectl version?
v1.28.2
Which chart?
prometheus-snmp-exporter
What's the chart version?
1.8.1
What happened?
No response
What you expected to happen?
No response
How to reproduce it?
No response
Enter the changed values of values.yaml?
Enter the command that you execute and failing/misfunctioning.
helm upgrade --install -n monitoring snmp-exporter prometheus-community/prometheus-snmp-exporter --version 1.8.1 -f ~/projects/prometheus/snmp.yaml
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: