• Kubernetes Submit Queue's avatar
    Merge pull request #65391 from smarterclayton/describe · ec37c0f6
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. 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>.
    
    When splitting `snake_case` words, omit the underscore
    
    While we require camelCase by convention for official APIs, CRDs may use
    `snake_case`, and the generic describer prints this as `Snake _ Case`.  We should print `Snake Case`
    
    Prow is impacted by this for the ProwJob CRD:
    
    ```
      Decoration _ Config:
        Gcs _ Configuration:
          Bucket:                    origin-ci-test
          Default _ Org:             openshift
          Default _ Repo:            origin
          Path _ Strategy:           single
        Gcs _ Credentials _ Secret:  gcs-publisher-credentials
    ```
    
    @kubernetes/sig-cli-pr-reviews
    
    ```release-note
    Using `kubectl describe` on CRDs that use underscores will be prettier.
    ```
    ec37c0f6
Name
Last commit
Last update
..
internalversion Loading commit data...
storage Loading commit data...
.import-restrictions Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
customcolumn.go Loading commit data...
customcolumn_flags.go Loading commit data...
customcolumn_flags_test.go Loading commit data...
customcolumn_test.go Loading commit data...
humanreadable.go Loading commit data...
humanreadable_test.go Loading commit data...
interface.go Loading commit data...
jsonpath.go Loading commit data...
jsonpath_flags.go Loading commit data...
jsonpath_flags_test.go Loading commit data...
kube_template_flags.go Loading commit data...
tabwriter.go Loading commit data...
template.go Loading commit data...
template_flags.go Loading commit data...
template_flags_test.go Loading commit data...
template_test.go Loading commit data...