kubectl patch 
[kubectl pull image](https://texonom.com/kubectl-pull-image-04eb3c1dfba34779a8accf7689e400a7) 


should use path file or data
```typekubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "regcred"}]}'```





> [Update API Objects in Place Using kubectl patch](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/)





