• Kubernetes Submit Queue's avatar
    Merge pull request #32586 from deads2k/api-05-restrict-versions · e3f0ce23
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue
    
    restrict discoverable versions to those that have resources
    
    Prevents versions with no resources from appearing in discovery.
    
    @soltysh ptal.  I think you have some issues for this, mind wiring them up?
    
    ```
    kubectl api-versions
    apps/v1alpha1
    authentication.k8s.io/v1beta1
    authorization.k8s.io/v1beta1
    autoscaling/v1
    batch/v1
    certificates.k8s.io/v1alpha1
    extensions/v1beta1
    policy/v1alpha1
    rbac.authorization.k8s.io/v1alpha1
    storage.k8s.io/v1beta1
    v1
    ```
    Fixes  #29998.
    e3f0ce23
master_test.go 43.3 KB