No Auth Provider found for name "oidc"
rayandasoriya opened this issue · 2 comments
rayandasoriya commented
While running ./serve
, I got this error.
panic: no Auth Provider found for name "oidc"
goroutine 1 [running]:
main.main()
/kubeview/cmd/server/main.go:66 +0xc29
benc-uk commented
Hi, I don't use OIDC or any sort of authentication in my code at all, I leave all of that to the Kubernetes client library
How do you connect to your cluster?
rayandasoriya commented
I got that issue when I ran it for the first time, so I had to add this package. I was unable to connect to my kube cluster.
"k8s.io/client-go/plugin/pkg/client/auth/oidc"
But now, it seems to works fine.
Sorry for the trouble. I think we can close the issue.