Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create a pod on a GKE Cluster #2

Closed
blakestoddard opened this issue Jan 24, 2019 · 3 comments
Closed

Unable to create a pod on a GKE Cluster #2

blakestoddard opened this issue Jan 24, 2019 · 3 comments

Comments

@blakestoddard
Copy link

Hello hello!

I'm unable to use kubectl warp to create a pod on a GKE cluster, here's the error I get:

$ kubectl warp -i -t --image ubuntu demo -- /bin/bash
Create the Pod
No Auth Provider found for name "gcp"

Anything I can do to help here? (I installed via brew)

@cokeeffe
Copy link
Contributor

cokeeffe commented Jan 24, 2019

Appears to be caused from lack of GCP client support

diff --git a/main.go b/main.go
index adfa801..8221214 100644
--- a/main.go
+++ b/main.go
@@ -18,6 +18,7 @@ import (
 	"time"

 	"github.com/ernoaapa/kubectl-warp/cmd"
+	_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
 	_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
 )

@ernoaapa
Copy link
Owner

@cokeeffe Thanks for testing with GKE! Can you provide a pull request? I happily approve that.

@ernoaapa
Copy link
Owner

Fixed by #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants