Perform a Json merge patch on a resource The patch is passed a String type which should contain the JSON patch formatted per https://tools.ietf.org/html/rfc7386 It is a String type instead of a JSON object in order to allow clients to use their own favourite JSON library to create the patch, or alternatively to simply manually craft the JSON and insert it into a String.
Perform a Json merge patch on a resource
The patch is passed a String type which should contain the JSON patch formatted per https://tools.ietf.org/html/rfc7386
It is a String type instead of a JSON object in order to allow clients to use their own favourite JSON library to create the
patch, or alternatively to simply manually craft the JSON and insert it into a String. Also patches are generally expected to be
relatively small, so storing the whole patch in memory should not be problematic.
It is thus the responsibility of the client to ensure that the patch
parameter contains a valid JSON merge patch entity for the
targetted Kubernetes resource obj
The resource to update with the patch
A string containing the JSON patch entity
The patched resource (in a Future)