I have created key,csr and the crt with server-ca.crt & server-ca.key.
Configured kubeconfig for new user authentication and authorisation.
Created role and rolebindings.
But I get below error,
kubectl --kubeconfig=johnconfig get pods
error: You must be logged in to the server (Unauthorized)
Any suggestions