Fixed wrong imagepullsecret name (#7426)

* Fixed wrong imagepullsecret name

* Fixed wrong escaping
pull/7210/merge
Ali Rizwan 2018-02-21 03:52:40 +01:00 committed by k8s-ci-robot
parent 5aa1126769
commit 7e975e06b6
1 changed files with 1 additions and 1 deletions

View File

@ -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. Next, modify the default service account for the namespace to use this secret as an imagePullSecret.
```shell ```shell
kubectl patch serviceaccount default -p '{\"imagePullSecrets\": [{\"name\": \"acrkey\"}]}' kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "myregistrykey"}]}'
``` ```
Interactive version requiring manual edit: Interactive version requiring manual edit: