From ad85bdb054f45b373e178cd93ae87afdb55809f7 Mon Sep 17 00:00:00 2001 From: Mike Patterson Date: Sun, 20 Dec 2020 11:36:20 -0800 Subject: [PATCH] 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. --- .../access-authn-authz/certificate-signing-requests.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/en/docs/reference/access-authn-authz/certificate-signing-requests.md b/content/en/docs/reference/access-authn-authz/certificate-signing-requests.md index 6d05d0436a..045b1661aa 100644 --- a/content/en/docs/reference/access-authn-authz/certificate-signing-requests.md +++ b/content/en/docs/reference/access-authn-authz/certificate-signing-requests.md @@ -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