2017-10-23 06:19:22 +02:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
|
|
|
name: kube-state-metrics
|
|
|
|
rules:
|
2019-01-22 05:07:31 +01:00
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2017-10-23 06:19:22 +02:00
|
|
|
resources:
|
2018-04-05 06:04:13 +02:00
|
|
|
- configmaps
|
|
|
|
- secrets
|
2017-10-23 06:19:22 +02:00
|
|
|
- nodes
|
|
|
|
- pods
|
|
|
|
- services
|
|
|
|
- resourcequotas
|
|
|
|
- replicationcontrollers
|
|
|
|
- limitranges
|
|
|
|
- persistentvolumeclaims
|
2018-01-15 17:33:44 +01:00
|
|
|
- persistentvolumes
|
2017-10-23 06:19:22 +02:00
|
|
|
- namespaces
|
2018-01-15 17:33:44 +01:00
|
|
|
- endpoints
|
2019-01-22 05:07:31 +01:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- extensions
|
2017-10-23 06:19:22 +02:00
|
|
|
resources:
|
|
|
|
- daemonsets
|
|
|
|
- deployments
|
|
|
|
- replicasets
|
2019-04-28 05:46:31 +02:00
|
|
|
- ingresses
|
2019-01-22 05:07:31 +01:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- apps
|
2017-10-23 06:19:22 +02:00
|
|
|
resources:
|
|
|
|
- statefulsets
|
2019-01-22 05:07:31 +01:00
|
|
|
- daemonsets
|
|
|
|
- deployments
|
|
|
|
- replicasets
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- batch
|
2017-10-23 06:19:22 +02:00
|
|
|
resources:
|
|
|
|
- cronjobs
|
|
|
|
- jobs
|
2019-01-22 05:07:31 +01:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- autoscaling
|
2018-01-15 17:33:44 +01:00
|
|
|
resources:
|
|
|
|
- horizontalpodautoscalers
|
2019-01-22 05:07:31 +01:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- policy
|
|
|
|
resources:
|
|
|
|
- poddisruptionbudgets
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
2019-04-28 05:46:31 +02:00
|
|
|
- apiGroups:
|
|
|
|
- certificates.k8s.io
|
|
|
|
resources:
|
|
|
|
- certificatesigningrequests
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
2019-07-19 08:50:49 +02:00
|
|
|
- apiGroups:
|
|
|
|
- storage.k8s.io
|
|
|
|
resources:
|
|
|
|
- storageclasses
|
2019-12-15 02:20:49 +01:00
|
|
|
- volumeattachments
|
2019-07-19 08:50:49 +02:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- autoscaling.k8s.io
|
|
|
|
resources:
|
|
|
|
- verticalpodautoscalers
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
2019-12-15 02:20:49 +01:00
|
|
|
- apiGroups:
|
|
|
|
- admissionregistration.k8s.io
|
|
|
|
resources:
|
|
|
|
- mutatingwebhookconfigurations
|
|
|
|
- validatingwebhookconfigurations
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- networking.k8s.io
|
|
|
|
resources:
|
|
|
|
- networkpolicies
|
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
2019-07-19 08:50:49 +02:00
|
|
|
|