Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Closed
@rodrigovalin

Description

@rodrigovalin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions