From 7e975e06b6f237957f8d8c9f63cdb4fae90f61d5 Mon Sep 17 00:00:00 2001 From: Ali Rizwan Date: Wed, 21 Feb 2018 03:52:40 +0100 Subject: [PATCH] Fixed wrong imagepullsecret name (#7426) * Fixed wrong imagepullsecret name * Fixed wrong escaping --- docs/tasks/configure-pod-container/configure-service-account.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tasks/configure-pod-container/configure-service-account.md b/docs/tasks/configure-pod-container/configure-service-account.md index da2950f100..c480964c82 100644 --- a/docs/tasks/configure-pod-container/configure-service-account.md +++ b/docs/tasks/configure-pod-container/configure-service-account.md @@ -178,7 +178,7 @@ myregistrykey   kubernetes.io/.dockerconfigjson   1       1d Next, modify the default service account for the namespace to use this secret as an imagePullSecret. ```shell -kubectl patch serviceaccount default -p '{\"imagePullSecrets\": [{\"name\": \"acrkey\"}]}' +kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "myregistrykey"}]}' ``` Interactive version requiring manual edit: