-
Notifications
You must be signed in to change notification settings - Fork 166
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
Support json patch & json merge patch in addition to strategic patch #357
Comments
This monkeypatch resolved it:
K8 1.10.7 |
Is that a custom resource (CRD)? Your change above redefines But we clearly need to add a way to choose patch format. What do you think? PS. doc on the formats: https://kubernetes.io/docs/tasks/run-application/update-api-object-kubectl-patch/ |
Hey @cben - yes this is a patch against a CRD so that makes sense indeed and I agree with you, well named functions for the purpose over an expanding list of arguments. |
I'll be happy to take a PR. Otherwise, I'm unlikely to get to this any time soon, I need to focus on bugs first (especially #318). |
Error message: the body of the request was in an unknown format - accepted media types include: application/json-patch+json,application/merge-patch+json
Using
@atcloud.patch_service_check(check.metadata.name, {metadata: {annotations: {key: 'value'}}}, check.metadata.namespace)
Any ideas?
The text was updated successfully, but these errors were encountered: