Fix a command error in configure-service-account.md file. (#10289)
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user