• Kubernetes Submit Queue's avatar
    Merge pull request #53483 from apelisse/openapi-columns · 153b5f50
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 50457, 55558, 53483, 55731, 52842). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Show openapi custom columns in `kubectl get`
    
    Change the name of the flag to something slightly more user-friendly,
    while making it default true. The flag is kept so that someone can
    revert it temporarly if things go wrong.
    
    **What this PR does / why we need it**: OpenAPI can specify for some columns to be used in `kubectl get`. That's very useful for non-core/hard-coded type in order to print more valuable data in get.
    
    **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
    
    **Special notes for your reviewer**:
    
    Closes kubernetes/kubectl#143
    
    **Release note**:
    ```release-note
    `kubectl get` will now use OpenAPI schema extensions by default to select columns for custom types.
    ```
    153b5f50
BUILD 2.21 KB