• k8s-merge-robot's avatar
    Merge pull request #28820 from caesarxuchao/patch-subresource · 6b6141f8
    k8s-merge-robot authored
    Automatic merge from submit-queue
    
    [client-gen] Allow passing subresources in Patch method
    
    Expand the Patch() method from:
    ```
    Patch(name string, pt api.PatchType, data []byte)
    ```
    to
    ```
    Patch(name string, pt api.PatchType, data []byte, subresources ...string)
    ```
    
    Continue on #27293. Fixes #26580.
    
    cc @Random-Liu @lavalamp 
    6b6141f8
test_utils.go 6.17 KB