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.
|
||||
|
||||
```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