Merge pull request #10516 from nixargh/kubernetes_sd_config_gcp_provider_fix
Explicitly include gcp auth from k8s.io to kubernetes discovery
This commit is contained in:
commit
a30b27a8d0
|
@ -45,6 +45,9 @@ import (
|
|||
"k8s.io/client-go/tools/cache"
|
||||
"k8s.io/client-go/tools/clientcmd"
|
||||
|
||||
// Required to get the GCP auth provider working.
|
||||
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
|
||||
|
||||
"github.com/prometheus/prometheus/discovery"
|
||||
"github.com/prometheus/prometheus/discovery/targetgroup"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue