Fix a command error in configure-service-account.md file. (#10289)

This commit is contained in:
WanLinghao 2018-09-20 19:53:38 +08:00 committed by k8s-ci-robot
parent 352217b7c7
commit 77db7a1152
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,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\": \"myregistrykey\"}]}'
kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "myregistrykey"}]}'
```
Interactive version requiring manual edit: