Fixed wrong imagepullsecret name (#7426)
* Fixed wrong imagepullsecret name * Fixed wrong escapingpull/7210/merge
parent
5aa1126769
commit
7e975e06b6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue