Issue with k8s.io/docs/tasks/configure-pod-container/configure-service-account/ #7100
Closed
1 of 2 tasks
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
sig/docs
Categorizes an issue or PR as relevant to SIG Docs.
This is a document error.
Problem:
Error from server: invalid character 'i' looking for beginning of object key string
from kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "myregistrykey"}]}'
Proposed Solution:
escape this JSON string by '\'
kubectl patch serviceaccount default -p '{\"imagePullSecrets\": [{\"name\": \"acrkey\"}]}'
Page to Update:
http://kubernetes.io/...
The text was updated successfully, but these errors were encountered: