mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/promscrape/discovery/kubernetes: do not print an empty kubeconfig_file
option in yaml at /config
page
This commit is contained in:
parent
9565dbed34
commit
454baf84d6
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ type SDConfig struct {
|
|||
Role string `yaml:"role"`
|
||||
// The filepath to kube config.
|
||||
// If defined any cluster connection information from HTTPClientConfig is ignored.
|
||||
KubeConfigFile string `yaml:"kubeconfig_file"`
|
||||
KubeConfigFile string `yaml:"kubeconfig_file,omitempty"`
|
||||
|
||||
HTTPClientConfig promauth.HTTPClientConfig `yaml:",inline"`
|
||||
ProxyURL *proxy.URL `yaml:"proxy_url,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue