Patch service account to rolebinding in k8s dosen't work correctly
You can add/replace/remove by specifying the operation in the patch command in json type, by default patch command will replace the value. The below command should work for your requirement.
kubectl patch rolebinding test-team-binding --type=json -p='[{"op": "add", "path": "/subjects/3", "value": {"kind": "ServiceAccount","name":"user3","namespace":"test-namespace" } }]'
Thanks,Kiruba