Skip to content
This repository was archived by the owner on Mar 15, 2022. It is now read-only.

Commit edc1251

Browse files
committed
Add kubeconfig GCP authentication support
Signed-off-by: live-wire <[email protected]>
1 parent eec9229 commit edc1251

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import (
3131

3232
"k8s.io/client-go/informers"
3333
"k8s.io/client-go/kubernetes"
34+
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp" // enables using kubeconfig for GCP auth
3435
"k8s.io/client-go/rest"
3536
"k8s.io/client-go/tools/clientcmd"
3637
)

0 commit comments

Comments
 (0)