Mayur Sharma:
can someone please confirm, whether we need to add the user in kubeconfig (below two steps) also in below scenario,
Create crt file
kubectl get csr john-developer -o jsonpath='{.status.certificate}'| base64 -d > john.crt
add to kubeconfig,
kubectl config set-credentials john --client-key=john.key --client-certificate=john.crt --embed-certs=true
Question,
Create a new user called john. Grant him access to the cluster. John should have permission to create, list, get, update and delete pods in the development namespace . The private key exists in the location: /root/CKA/john.key and csr at /root/CKA/john.csr