From 6fc5f4b98943c2cd18f524fa8340aa7630195549 Mon Sep 17 00:00:00 2001 From: Samir Patel Date: Tue, 17 Jul 2018 01:57:39 -0400 Subject: [PATCH] Update pull-image-private-registry.md (#9153) `-d` does not work on mac, `--decode` should work cross platform --- .../configure-pod-container/pull-image-private-registry.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/en/docs/tasks/configure-pod-container/pull-image-private-registry.md b/content/en/docs/tasks/configure-pod-container/pull-image-private-registry.md index 877b577cb8..fc57fa8106 100644 --- a/content/en/docs/tasks/configure-pod-container/pull-image-private-registry.md +++ b/content/en/docs/tasks/configure-pod-container/pull-image-private-registry.md @@ -90,7 +90,7 @@ The value of the `.dockerconfigjson` field is a base64 representation of your Do To understand what is in the `.dockerconfigjson` field, convert the secret data to a readable format: - kubectl get secret regcred --output="jsonpath={.data.\.dockerconfigjson}" | base64 -d + kubectl get secret regcred --output="jsonpath={.data.\.dockerconfigjson}" | base64 --decode The output is similar to this: @@ -98,7 +98,7 @@ The output is similar to this: To understand what is in the `auth` field, convert the base64-encoded data to a readable format: - echo "c3R...zE2" | base64 -d + echo "c3R...zE2" | base64 --decode The output, username and password concatenated with a `:`, is similar to this: