Skip to content
New issue

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

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

Already on GitHub? # to your account

No Auth Provider found for name "oidc" #22

Open
ahmedjami opened this issue Feb 11, 2020 · 1 comment
Open

No Auth Provider found for name "oidc" #22

ahmedjami opened this issue Feb 11, 2020 · 1 comment

Comments

@ahmedjami
Copy link

Hi,
I got the following error when trying to run a cain command:

cain schema -n cassjcarlo -k demodb -l app=cassandracluster
2020/02/10 15:47:40 No Auth Provider found for name "oidc"

I see that cain use the current context from .kube/config file with an out-of-cluster client configuration wich it's my case.

So I decided to try with client-go out-of-cluster-client-configuration example and I Got the same error!
So, I modified the main.go of out-of-cluster-client-configuration and uncomment
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc" line. so I could run the example.

Now that I know where the error comes from, I want to know how authentication is implemented and where I can find the list of plugin used for auth in cain ?
thanks

@ahmedjami
Copy link
Author

I found this
https://github.com/nuvo/skbn/blob/master/pkg/skbn/kube.go
The configuration of client to authenticate to K8S is done here ?
thanks

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

No branches or pull requests

1 participant