mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2026-01-12 18:15:14 +00:00
Automatic merge from submit-queue compact rules which has the same ResourceName **What this PR does / why we need it**: make compact rule more elegant. Before ``` # ./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] ``` After ``` # ./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 get patch 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 ```