From 67a342aae3543374eddbd991b2833bc68b83384e Mon Sep 17 00:00:00 2001 From: Mike Patterson Date: Fri, 19 Feb 2021 13:18:53 -0800 Subject: [PATCH] Update certificate-signing-requests.md Maintain original docs `/home/vagrant/work/`working directory to be consistent. --- .../access-authn-authz/certificate-signing-requests.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 cee4342ddf..18a1afa2d0 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 @@ -253,9 +253,10 @@ kubectl get csr/john -o yaml The certificate value is in Base64-encoded format under `status.certificate`. Export the issued certificate from the CertificateSigningRequest. +This example assumes the key and certificate files are located at "/home/vagrant/work/". ``` -kubectl get csr john -o jsonpath='{.status.certificate}'| base64 -d > certificate.crt +kubectl get csr john -o jsonpath='{.status.certificate}'| base64 -d > /home/vagrant/work/john.crt ``` ### Create Role and RoleBinding @@ -278,7 +279,6 @@ kubectl create rolebinding developer-binding-john --role=developer --user=john ### Add to kubeconfig The last step is to add this user into the kubeconfig file. -This example assumes the key and certificate files are located at "/home/vagrant/work/". First, you need to add new credentials: