Skip to content

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

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.

Activity

  1. tomplus commented on Jul 2, 2019

    @tomplus
    Member

    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

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