Accessing the Cluster as a User
Learn how to impersonate the new user John and try to get the access authenticated.
We'll cover the following...
We'll cover the following...
Authentication
Since John is not around, we’ll do some role-playing and impersonate him.
Configuring kubectl
We’ll first have to set the cluster using the address and the certificate authority we sent John.
Press + to interact
kubectl config set-cluster jdoe \--certificate-authority \/usercode/certs/keys/server-ca.crt \--server $SERVER
We create a new cluster called jdoe
.
Please note that the command we executed created just another config entry that enables us to access all resources ...