From 0ee7a87d4f7f05691f2893cb369726ab46e5999c Mon Sep 17 00:00:00 2001 From: Honnix Date: Wed, 6 Nov 2019 16:20:47 +0100 Subject: [PATCH] support GCP as auth provider (#2) * support GCP as auth provider * dep ensure the module --- Gopkg.lock | 1 + cmd/kubectl-flyte/cmd/root.go | 1 + 2 files changed, 2 insertions(+) diff --git a/Gopkg.lock b/Gopkg.lock index 4513c3b590..afda57220d 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -1178,6 +1178,7 @@ "pkg/apis/clientauthentication/v1beta1", "pkg/version", "plugin/pkg/client/auth/exec", + "plugin/pkg/client/auth/gcp", "rest", "rest/watch", "restmapper", diff --git a/cmd/kubectl-flyte/cmd/root.go b/cmd/kubectl-flyte/cmd/root.go index f56009f43e..46de4ca3e5 100644 --- a/cmd/kubectl-flyte/cmd/root.go +++ b/cmd/kubectl-flyte/cmd/root.go @@ -13,6 +13,7 @@ import ( "github.com/lyft/flytestdlib/version" "github.com/spf13/pflag" "k8s.io/client-go/kubernetes" + _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" "k8s.io/client-go/rest" "k8s.io/client-go/tools/clientcmd"