k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/exporters/kube-state-metrics/clusterRole.yaml (about) 1 apiVersion: rbac.authorization.k8s.io/v1 2 kind: ClusterRole 3 metadata: 4 labels: 5 app.kubernetes.io/name: kube-state-metrics 6 app.kubernetes.io/version: 2.0.0-rc.0 7 name: kube-state-metrics 8 rules: 9 - apiGroups: 10 - "" 11 resources: 12 - configmaps 13 - secrets 14 - nodes 15 - pods 16 - services 17 - resourcequotas 18 - replicationcontrollers 19 - limitranges 20 - persistentvolumeclaims 21 - persistentvolumes 22 - namespaces 23 - endpoints 24 verbs: 25 - list 26 - watch 27 - apiGroups: 28 - apps 29 resources: 30 - statefulsets 31 - daemonsets 32 - deployments 33 - replicasets 34 verbs: 35 - list 36 - watch 37 - apiGroups: 38 - batch 39 resources: 40 - cronjobs 41 - jobs 42 verbs: 43 - list 44 - watch 45 - apiGroups: 46 - autoscaling 47 resources: 48 - horizontalpodautoscalers 49 verbs: 50 - list 51 - watch 52 - apiGroups: 53 - authentication.k8s.io 54 resources: 55 - tokenreviews 56 verbs: 57 - create 58 - apiGroups: 59 - authorization.k8s.io 60 resources: 61 - subjectaccessreviews 62 verbs: 63 - create 64 - apiGroups: 65 - policy 66 resources: 67 - poddisruptionbudgets 68 verbs: 69 - list 70 - watch 71 - apiGroups: 72 - certificates.k8s.io 73 resources: 74 - certificatesigningrequests 75 verbs: 76 - list 77 - watch 78 - apiGroups: 79 - storage.k8s.io 80 resources: 81 - storageclasses 82 - volumeattachments 83 verbs: 84 - list 85 - watch 86 - apiGroups: 87 - admissionregistration.k8s.io 88 resources: 89 - mutatingwebhookconfigurations 90 - validatingwebhookconfigurations 91 verbs: 92 - list 93 - watch 94 - apiGroups: 95 - networking.k8s.io 96 resources: 97 - networkpolicies 98 - ingresses 99 verbs: 100 - list 101 - watch 102 - apiGroups: 103 - coordination.k8s.io 104 resources: 105 - leases 106 verbs: 107 - list 108 - watch