Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

patch_namespaced_custom_object only accepts merge-patch+json patch type #862

Closed
rodrigovalin opened this issue Jul 2, 2019 · 1 comment

Comments

@rodrigovalin
Copy link

The patch_namespaced_custom_object function will only accept patches of type merge-patch+json as can be seen in here:

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.

@tomplus
Copy link
Member

tomplus commented Jul 2, 2019

It's already fixed here: kubernetes-client/gen#119 and it should be generated in the next release of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants