Closed as not planned
Closed as not planned
Description
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:
- Kubernetes version (
kubectl version
): 1.24 - OS (e.g., MacOS 10.13.6): Linux 5.15 LTS kernel
- Python version (
python --version
) 3.10.9 - Python client version (
pip list | grep kubernetes
) 24.2.0