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 need to load a secret from file (eg /var/run/secrets/kubernetes.io/serviceaccount/token) to use with prometheus_scrape
Right now, I've modified the helm chart command value to load it into an env variable and then I use it in token property, but is there a better way?
I'm thinking that maybe there could a generic approach to this (values from files) in vector config processing OR at least in the helm chart. I'd be happy to create a PR if there's some direction on the preferred approach.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I need to load a secret from file (eg
/var/run/secrets/kubernetes.io/serviceaccount/token) to use with prometheus_scrapeRight now, I've modified the helm chart
commandvalue to load it into an env variable and then I use it intokenproperty, but is there a better way?I'm thinking that maybe there could a generic approach to this (values from files) in vector config processing OR at least in the helm chart. I'd be happy to create a PR if there's some direction on the preferred approach.
Vector Config
Vector Logs
No response
Beta Was this translation helpful? Give feedback.
All reactions