You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use the envFromSecret to pass K8s secrets that are shared with InfluxDB to allow Telegraf to push to InfluxDB. The secrets have dashes in them which does not seem to parse properly in the config file. For example, my secret key is named user-token. I use the below output:
It appears that $admin-token does not parse correctly and I get 401 errors in Telegraf. I can hach=k around this by passing the secret as an env variable:
I am trying to use the
envFromSecret
to pass K8s secrets that are shared with InfluxDB to allow Telegraf to push to InfluxDB. The secrets have dashes in them which does not seem to parse properly in the config file. For example, my secret key is nameduser-token
. I use the below output:It appears that
$admin-token
does not parse correctly and I get 401 errors in Telegraf. I can hach=k around this by passing the secret as an env variable:Is this the expected way to do this or is there some other way I can use the
envFromSecret
to get a secret in the config with a dash?Thanks for the help!
The text was updated successfully, but these errors were encountered: