fix JSON syntax (#9899)
when i hit the command
`kubectl patch serviceaccount default -p '{\"imagePullSecrets\": [{\"name\": \"myregistrykey\"}]}'`
then i got this error
`Error from server (BadRequest): invalid character '\\' looking for beginning of object key string`
But i stripped all back slashes, and it worked.
If this issue is caused only in my specific environment,
close this pull-request.
My environment is ...
- Docker for Mac: Version 18.06.0-ce-mac70 (26399), Kubernetes: v1.10.3
This commit is contained in:
parent
c6a4252444
commit
79104cb55c