k8sPatchResource
It patches any resource in the cluster, based on provided options. When a client needs to perform the partial update, they can use k8sPatch. Alternatively can use k8sUpdate to replace an existing resource entirely. See Data Tracker for more. It returns a promise that resolves to the response of the resource patched. In case of failure promise gets rejected with HTTP error response.
| Parameter Name | Description |
|---|---|
|
Which are passed as key-value pairs in the map. |
|
k8s model |
|
The resource to be patched. |
|
Only the data to be patched on existing resource with the operation, path, and value. |
|
Appends as subpath if provided. |
|
The query parameters to be included in the URL. |