Include missing cert export step

Updating the instructions to include missing step of getting issued cert exported from kubernetes, decoded, and ready for kubeconfig setup.
pull/25735/head
Mike Patterson 2020-12-20 11:36:20 -08:00 committed by GitHub
parent 7dbc63babc
commit ad85bdb054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -252,6 +252,12 @@ kubectl get csr/john -o yaml
The certificate value is in Base64-encoded format under `status.certificate`.
Export the issued certificate from the CertificateSigningRequest.
```
kubectl get csr john -o jsonpath='{.status.certificate}'| base64 -d > /home/vagrant/work/john.crt
```
### Create Role and RoleBinding
With the certificate created. it is time to define the Role and RoleBinding for