-
Notifications
You must be signed in to change notification settings - Fork 487
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
helm chart: additional options to add environment variables #5810
Conversation
f02546f
to
506cd2b
Compare
# Conflicts: # operations/helm/charts/grafana-agent/CHANGELOG.md
Hi, thanks for the PR, and sorry it took so long to get back to you. In general, I'm worried about adding more than one way of doing something, and we already have four ways of exposing secrets:
I think yet another way would have to be extremely justified. Have you explored all four of those ways already? |
Hi @rfratto
We would like to pass Username and Password for an upstream Prometheus to the Agent. We are using classical Helm deployment + secret injection via --set . Additional, we are having an umbrella Chart which bundles Grafana Agent + kube-state-metics + goldpinger together. And we have the problem that we are not able to define defaults values for Using A valid alternative would be the mounting option here if the proposal gets rejected. |
Hi @rfratto, thanks for your review. I´ve rebuild our helm chart and it´s now using |
PR Description
Which issue(s) this PR fixes
We´re using the Agent Helm-Chart and there is currently no good way to get environment variables/secrets into the container.
Therefore i´m suggesting to add env & secrets for which users can define key=value pairs which makes usage easier and resolves mentioned issues.
Notes to the Reviewer
PR Checklist