JSON patch fails while providing admin-ack due to old oc binary
Issue
- I am unable to patch the config map for providing admin-ack.
- The patch command fails with error
"Error from server: Invalid JSON Patch".
$ oc -n openshift-config patch cm admin-acks --patch '{"data":{"ack-4.8-kube-1.22-api-removals-in-4.9":"true"}}' --type=merge
> "Error from server: Invalid JSON Patch"
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.8
- 4.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.