https://rancher.com/ logo
#general
Title
# general
m

mammoth-morning-97730

08/30/2022, 11:19 AM
Hi, One question. I have two k3s environments. In a namespace I have a service account. I generated a kubeconfig for this services account with labels and annotations for use workload identity. I tried with this kubeconfig and received the next message "error: You must be logged in to the server (Unauthorized)" I was review the certificates in the cluster's and all it 's fine. I tried this configuration in an AKS cluster and a minikube in my computer and it's possible execute kubectl commands without problems. how I don't understood this behaviour I recreated the services account and working fine. In the other cluster I have the same problem and I need understand this behaviour. Some idea!!! Thank you so much for your help! Regards