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-10 07:12:08 +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
|