redhat-cop / openshift-applier

Used to apply OpenShift objects to an OpenShift Cluster
Apache License 2.0
102 stars 61 forks source link

patch needs to support a patch strategy option #149

Closed etsauer closed 4 years ago

etsauer commented 4 years ago

When I try to patch an object that does not support the "Strategic Merge" patch type, we get an error like:

Error from server (UnsupportedMediaType): the body of the request was in an unknown format - accepted media types include: application/json-patch+json, application/merge-patch+json

We need to be able to set the patching strategy in this case.