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