NimbleArchitect / kubectl-ice

Kubectl-ice is an open-source tool for Kubernetes users to monitor and optimize container resource usage. Features include usage breakdowns for pods and containers, making scaling and optimization easier. The tool is compatible with major cloud providers and is actively developed by a community of contributors
Apache License 2.0
250 stars 9 forks source link

Error: failed to create clientset: no Auth Provider found for name "oidc" #5

Closed amitech closed 2 years ago

amitech commented 2 years ago

Getting this error for all command line options.

$ kubectl-ice status                    
failed to create clientset: no Auth Provider found for name "oidc"

I am using - idp-issuer-url: https://oidc.mydomain.com/

I am able to access k8s cluster with kubectl.

NimbleArchitect commented 2 years ago

I don't currently have k8s configured to use oidc so I'm unable to test but...

A quick google suggests that I just need to import an oidc auth module, I have updated the latest release to v0.0.16 could you try the command again and let me know

amitech commented 2 years ago

It is working fine with latest version. Thanks 🙂

NimbleArchitect commented 2 years ago

thanks for confirming