Skip to content
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

Pull API tokens from Kubernetes Secrets #294

Open
luke-clinch opened this issue Aug 20, 2024 · 0 comments
Open

Pull API tokens from Kubernetes Secrets #294

luke-clinch opened this issue Aug 20, 2024 · 0 comments

Comments

@luke-clinch
Copy link

First of all, hats off for this great piece of work - we have favoured using this over SNMP for feeding metrics to Grafana Cloud. The dashboard is fab.

We have deployed the Fortigate Exporter as a pod on bare metal Kubernetes. (v1.28)
Our configmap contains the api token used by the Fortigate Exporter deployment to authenticate to our Fortigates.
To avoid storing credentials in the clear, we'd like to store the api token as a Kubernetes Secerets.
Is this supported? How should the k8s secret variable be referenced in the configmap / fortigate-key.yaml?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant