This repository has been archived by the owner on Jan 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
Allow for passing influx passwords as secrets #53
Comments
can you set it as an env var? |
...k8s secret? |
Yes, a k8s secret. For example, when influx is deployed, the default secret name is namespace-influxdb-auth. My chart deploys both Influx and Telegraf, it would be great if we could have telegraf reference the namespace-influxdb-auth secret rather than having me pass it in as a string (since I won't know what it is because influx hasn't set it yet) |
Yes, it is possible to make the config file to read values from env vars. But it's not possible to pass these vars to the pod - tick-charts/telegraf-ds/templates/daemonset.yaml Lines 25 to 41 in dc5e913
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a large chart that includes some custom containers and influx and telegraf. We let influx create a random password and all the other charts just read the secret to get the password. It would be helpful if telegraf could read this out of the secret rather than me passing it in raw.
The text was updated successfully, but these errors were encountered: