Typo: name of the secret (#9200)
Change the name of the secret in the patch command
This commit is contained in:
committed by
k8s-ci-robot
parent
943725d2b6
commit
ec95f6b815
@@ -181,7 +181,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:
|
||||||
|
|||||||
Reference in New Issue
Block a user