Solutions to the practice test - certificate API
A new member akshay joined our team. He requires access to our cluster. The Certificate Signing Request is at the /root location.
View the answer at /var/answers/akshay-csr.yaml
Run the command kubectl get csr
Run the command kubectl certificate approve akshay
Run the command kubectl get csr
Run the command kubectl get csr and look at the Requestor column
The other CSR’s are requested during the TLS Bootstrapping process. We will discuss more about it later in the course when we go through the TLS bootstrap section.
Run the command kubectl get csr
Run the command kubectl get csr agent-smith -o yaml
Run the command kubectl certificate deny agent-smith
Run the command kubectl delete csr agent-smith