kubelogin
kubelogin copied to clipboard
Error: unknown command "oidc-login" for "kubectl"
Describe the issue
A clear and concise description of what the issue is.
I installed oidc-login in my mac using krew via the command "kubectl krew install oidc-login". When I try to connect to my cluster using Lens IDE I am getting the error as mentioned in the title.
To reproduce
A console log or steps to reproduce the issue.
Your environment
- OS: macOS
- kubectl version: v1.13.1
The same issue on Arch linux
You can fix the issue by installing kubectl
using Nix:
$ nix-env -iA nixpkgs.kubectl nixpkgs.kubelogin nixpkgs.kubelogin-oidc