mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-14 03:45:39 +00:00
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
```