c-bata / kube-prompt

An interactive kubernetes client featuring auto-complete.
MIT License
1.79k stars 134 forks source link

Missing client-go oidc auth helper (and others) #40

Closed dnwe closed 5 years ago

dnwe commented 5 years ago

Currently kube-prompt only imports the gcp auth helper https://github.com/c-bata/kube-prompt/blob/584bef99527bd7ccf661473b978b8a12921d97ce/kube/client.go#L3-L7

Please could you also import the oidc helper with a blank identifier so it is included in the release builds?

 _ "k8s.io/client-go/plugin/pkg/client/auth/oidc"

Although I wonder if you might want to just import support for all of the available auth plugins rather than adding them one-by-one when people request them?

c-bata commented 5 years ago

Thanks. I didn't notice this problem because I only use Kubernetes on GKE(gcp). OK! I add all blank imports for available auth plugins.

c-bata commented 5 years ago

Hi @dnwe . Please update your kube-prompt. https://github.com/c-bata/kube-prompt/releases/tag/v1.0.6