• Kubernetes Submit Queue's avatar
    Merge pull request #46017 from xilabao/fix-print-of-generic-resources · a9aabd76
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 44412, 44810, 47130, 46017, 47829)
    
    fix self link error of generic resources in describe command
    
    **What this PR does / why we need it**:
    fix Self Link error
    ```
    ./cluster/kubectl.sh describe clusterrole system:controller:ttl-controller
    Name:		system:controller:ttl-controller
    Namespace:	
    Labels:		kubernetes.io/bootstrapping=rbac-defaults
    Annotations:	rbac.authorization.kubernetes.io/autoupdate=true
    API Version:	rbac.authorization.k8s.io/v1alpha1
    Kind:		ClusterRole
    Metadata:
      Creation Timestamp:	2017-05-18T06:42:02Z
      Resource Version:	80
      Self Link:		/apis/rbac.authorization.k8s.io/v1alpha1/clusterroles/system%!A(MISSING)controller%!A(MISSING)ttl-controller
      UID:			19a705a4-3b95-11e7-9d55-7427ea6f0fe3
    Rules:
      API Groups:
        
      Resources:
        nodes
      Verbs:
        list
        patch
        update
        watch
      API Groups:
        
      Resources:
        events
      Verbs:
        create
        patch
        update
    Events:	<none>
    ```
    
    **Which issue this PR fixes**: fixes #48743
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    a9aabd76
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...
common.go Loading commit data...
customcolumn.go Loading commit data...
customcolumn_test.go Loading commit data...
humanreadable.go Loading commit data...
interface.go Loading commit data...
json.go Loading commit data...
jsonpath.go Loading commit data...
name.go Loading commit data...
printers.go Loading commit data...
tabwriter.go Loading commit data...
template.go Loading commit data...
versioned.go Loading commit data...