-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Regression: patch_namespaced_custom_object only accepts merge-patch+json patch type #2119
Comments
/assign |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
This is still very much a problem. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened (please include outputs or screenshots):
According to #862, this library is supposed to support JSON Patch in
patch_namespaced_custom_object()
, not just JSON Merge Patch. As far as I can tell, this is not the case:python/kubernetes/client/api/custom_objects_api.py
Lines 3066 to 3067 in 68d5a14
What you expected to happen:
I should be able to specify that I want to use JSON Patch with this method.
How to reproduce it (as minimally and precisely as possible):
Attempt to supply an array of JSON Patch objects and observe that you receive an unsupported media type error.
Anything else we need to know?:
Environment:
kubectl version
): 1.24python --version
) 3.10.9pip list | grep kubernetes
) 24.2.0The text was updated successfully, but these errors were encountered: