Skip to content

Commit 7e975e0

Browse files
aleerizk8s-ci-robot
authored andcommitted
Fixed wrong imagepullsecret name (kubernetes#7426)
* Fixed wrong imagepullsecret name * Fixed wrong escaping
1 parent 5aa1126 commit 7e975e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tasks/configure-pod-container/configure-service-account.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ myregistrykey   kubernetes.io/.dockerconfigjson   1       1d
178178
Next, modify the default service account for the namespace to use this secret as an imagePullSecret.
179179

180180
```shell
181-
kubectl patch serviceaccount default -p '{\"imagePullSecrets\": [{\"name\": \"acrkey\"}]}'
181+
kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "myregistrykey"}]}'
182182
```
183183

184184
Interactive version requiring manual edit:

0 commit comments

Comments
 (0)