• Kubernetes Submit Queue's avatar
    Merge pull request #46326 from xilabao/add-role-to-describe-command · f5bcd98d
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 46432, 46701, 46326, 40848, 46396)
    
    add role/clusterrole to describe.go
    
    **What this PR does / why we need it**:
    ```
    # ./cluster/kubectl.sh describe clusterrole system:kube-scheduler 
    Name:		system:kube-scheduler
    Labels:		kubernetes.io/bootstrapping=rbac-defaults
    Annotations:	rbac.authorization.kubernetes.io/autoupdate=true
    PolicyRule:
      Resources			Non-Resource URLs	Resource Names		Verbs
      ---------			-----------------	--------------		-----
      bindings			[]			[]			[create]
      endpoints			[]			[]			[create]
      endpoints			[]			[kube-scheduler]	[delete]
      endpoints			[]			[kube-scheduler]	[get]
      endpoints			[]			[kube-scheduler]	[patch]
      endpoints			[]			[kube-scheduler]	[update]
      events			[]			[]			[create patch update]
      nodes				[]			[]			[get list watch]
      persistentvolumeclaims	[]			[]			[get list watch]
      persistentvolumes		[]			[]			[get list watch]
      pods				[]			[]			[get list watch]
      pods/binding			[]			[]			[create]
      pods/status			[]			[]			[update]
      replicasets.extensions	[]			[]			[get list watch]
      replicationcontrollers	[]			[]			[get list watch]
      services			[]			[]			[get list watch]
      statefulsets.apps		[]			[]			[get list watch]
    
    ```
    **Which issue this PR fixes**: 
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    f5bcd98d
Name
Last commit
Last update
..
install Loading commit data...
v1alpha1 Loading commit data...
v1beta1 Loading commit data...
validation Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
helpers.go Loading commit data...
register.go Loading commit data...
types.go Loading commit data...
zz_generated.deepcopy.go Loading commit data...