• Kubernetes Submit Queue's avatar
    Merge pull request #35810 from deads2k/client-18-decode-status · 7c391158
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    always allow decoding of status when returned from the API
    
    `unversioned.Status` should be able to come back from any API version and still be properly decoded.  This doesn't happen today by default.
    
    @smarterclayton  Our projectrequest endpoint returns a `Status` object on a 200 return from list to indicate everything went well.  This (or something like it) is needed to make the API accepted by `kubectl`.  Alternatively, we change the API to return a different (still not a `Project`) value from list, which still feels wrong.
    7c391158
client_test.go 9.7 KB