Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
merge-patch+json
The patch_namespaced_custom_object function will only accept patches of type merge-patch+json as can be seen in here:
patch_namespaced_custom_object
https://github.com/kubernetes-client/python/blob/master/kubernetes/client/apis/custom_objects_api.py#L2038
It should also be possible to specify a json-patch+json object, that is what kubectl patch uses.
json-patch+json
kubectl patch