Client plugins not registered.
JoshVanL opened this issue · 3 comments
JoshVanL commented
Client auth plugins get registered to the local client via an init()
func in their package.
e.g.
if err := restclient.RegisterAuthProviderPlugin("oidc", newOIDCAuthProvider); err != nil {
klog.Fatalf("Failed to register oidc auth plugin: %v", err)
}
Since we don't currently do this, trying to auth in this way causes for example;
error: No Auth Provider found for name "oidc"
We just need to import the plugin directories to get them registered.
This needs to be backported to 0.1
/cc @ltagliamonte-dd
/assign
/kind bug
JoshVanL commented
Didn't need a back port - see PR
JoshVanL commented
/close
jetstack-bot commented
@JoshVanL: Closing this issue.
In response to this:
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.