able-magician-45575
07/20/2023, 12:40 PM─ kubectl get pods
Login to Rancher Server at https://rancher.example.com/login?requestId=v2...7nkd&publicKey=ey...zd9&responseType=kubeconfig
W0720 15:31:42.631443 54476 transport.go:243] Unable to cancel request for *exec.roundTripper
When I click on the link, I get taken to my dashboard.
Trying to use curl on the /login endpoint results in a 404.
I tried adding the CLI debug environment variable in my KUBECONFIG but no luck
eg.
users:
- name: "me"
user:
exec:
apiVersion: client.authentication.k8s.io/v1beta1
env:
- name: RANCHER_CLIENT_DEBUG
value: 'true'
args:
- token
- --server=rancher.example.com
- --auth-provider=pingProvider
- --user=me
command: /opt/homebrew/bin/rancher