mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
Currently, the adapter uses http.DefaultClient to access Prometheus. This means that it does support using TLS client certificates, custom CA certificates, or token-base authentication, which are all common setups when connecting to Prometheus behind an auth proxy. This commit adds support for using a separate kubeconfig, or in-cluster config, to configure auth when connecting to Prometheus. Fixes #52 [directxman12: cleanups, spelling corrections, and slight refactor] |
||
|---|---|---|
| .. | ||
| app | ||
| adapter.go | ||