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

Facing issue " No Auth Provider found for name "azure" #17

Open
gopalkalabe opened this issue Jan 29, 2020 · 2 comments
Open

Facing issue " No Auth Provider found for name "azure" #17

gopalkalabe opened this issue Jan 29, 2020 · 2 comments

Comments

@gopalkalabe
Copy link

Trying to copy file from kubernetes pod to azure storage. But facing the above issue.

@ahmedjami
Copy link

Hi,
You have to add the import of azure plugin on kube.go, like my case where I have to connect with oidc Auth Provider.
Please check here : https://github.com/ahmedjami/skbn/blob/master/pkg/skbn/kube.go#L16
You have to replace
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
With
_ "k8s.io/client-go/plugin/pkg/client/auth/azure"
And build your project
Hope this help!

@ahmedjami
Copy link

I'll will commit the new kube.go with all plugin to allow users to activate the needed plugin

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

2 participants