Skip to content

No Auth Provider found for name "oidc"  #22

@ahmedjami

Description

@ahmedjami

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions