mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-07 02:07:58 +00:00
Switched to bool var
This commit is contained in:
parent
30542b3a13
commit
8ed01f28dc
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ func (cmd *PrometheusAdapter) addFlags() {
|
||||||
"kubeconfig file used to configure auth when connecting to Prometheus.")
|
"kubeconfig file used to configure auth when connecting to Prometheus.")
|
||||||
cmd.Flags().StringVar(&cmd.PrometheusCAFile, "prometheus-ca-file", cmd.PrometheusCAFile,
|
cmd.Flags().StringVar(&cmd.PrometheusCAFile, "prometheus-ca-file", cmd.PrometheusCAFile,
|
||||||
"Optional CA file to use when connecting with Prometheus")
|
"Optional CA file to use when connecting with Prometheus")
|
||||||
cmd.Flags().StringVar(&cmd.SkipTLSVerification, "prometheus-skip-tls-verification", cmd.SkipTLSVerification,
|
cmd.Flags().BoolVar(&cmd.SkipTLSVerification, "prometheus-skip-tls-verification", cmd.SkipTLSVerification,
|
||||||
"Optional flag indicating whether connection to prometheus should skip tls verification")
|
"Optional flag indicating whether connection to prometheus should skip tls verification")
|
||||||
cmd.Flags().StringVar(&cmd.PrometheusTokenFile, "prometheus-token-file", cmd.PrometheusTokenFile,
|
cmd.Flags().StringVar(&cmd.PrometheusTokenFile, "prometheus-token-file", cmd.PrometheusTokenFile,
|
||||||
"Optional file containing the bearer token to use when connecting with Prometheus")
|
"Optional file containing the bearer token to use when connecting with Prometheus")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue