2018-12-12 18:18:00 +01:00
|
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
2018-03-02 01:03:53 +01:00
|
|
|
kind: ClusterRole
|
|
|
|
metadata:
|
2019-08-08 22:09:53 +02:00
|
|
|
labels:
|
|
|
|
app.kubernetes.io/component: controller
|
|
|
|
app.kubernetes.io/name: prometheus-operator
|
2020-05-26 17:59:47 +02:00
|
|
|
app.kubernetes.io/version: v0.39.0
|
2018-03-02 01:03:53 +01:00
|
|
|
name: prometheus-operator
|
|
|
|
rules:
|
|
|
|
- apiGroups:
|
|
|
|
- monitoring.coreos.com
|
|
|
|
resources:
|
|
|
|
- alertmanagers
|
2020-03-18 15:13:47 +01:00
|
|
|
- alertmanagers/finalizers
|
2018-03-02 01:03:53 +01:00
|
|
|
- prometheuses
|
|
|
|
- prometheuses/finalizers
|
2020-03-18 15:13:47 +01:00
|
|
|
- thanosrulers
|
|
|
|
- thanosrulers/finalizers
|
2018-03-02 01:03:53 +01:00
|
|
|
- servicemonitors
|
2019-08-08 22:09:53 +02:00
|
|
|
- podmonitors
|
2018-12-12 18:18:00 +01:00
|
|
|
- prometheusrules
|
2018-03-02 01:03:53 +01:00
|
|
|
verbs:
|
2018-12-12 18:18:00 +01:00
|
|
|
- '*'
|
2018-03-02 01:03:53 +01:00
|
|
|
- apiGroups:
|
|
|
|
- apps
|
|
|
|
resources:
|
|
|
|
- statefulsets
|
2018-12-12 18:18:00 +01:00
|
|
|
verbs:
|
|
|
|
- '*'
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2018-03-02 01:03:53 +01:00
|
|
|
resources:
|
|
|
|
- configmaps
|
|
|
|
- secrets
|
2018-12-12 18:18:00 +01:00
|
|
|
verbs:
|
|
|
|
- '*'
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2018-03-02 01:03:53 +01:00
|
|
|
resources:
|
|
|
|
- pods
|
2018-12-12 18:18:00 +01:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- delete
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2018-03-02 01:03:53 +01:00
|
|
|
resources:
|
|
|
|
- services
|
2019-02-15 13:22:45 +01:00
|
|
|
- services/finalizers
|
2018-03-02 01:03:53 +01:00
|
|
|
- endpoints
|
2018-12-12 18:18:00 +01:00
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- create
|
|
|
|
- update
|
2019-02-15 13:22:45 +01:00
|
|
|
- delete
|
2018-12-12 18:18:00 +01:00
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2018-03-02 01:03:53 +01:00
|
|
|
resources:
|
|
|
|
- nodes
|
2018-12-12 18:18:00 +01:00
|
|
|
verbs:
|
|
|
|
- list
|
|
|
|
- watch
|
|
|
|
- apiGroups:
|
|
|
|
- ""
|
2018-03-02 01:03:53 +01:00
|
|
|
resources:
|
|
|
|
- namespaces
|
2018-12-12 18:18:00 +01:00
|
|
|
verbs:
|
|
|
|
- get
|
|
|
|
- list
|
|
|
|
- watch
|
2020-05-26 17:59:47 +02:00
|
|
|
- apiGroups:
|
|
|
|
- authentication.k8s.io
|
|
|
|
resources:
|
|
|
|
- tokenreviews
|
|
|
|
verbs:
|
|
|
|
- create
|
|
|
|
- apiGroups:
|
|
|
|
- authorization.k8s.io
|
|
|
|
resources:
|
|
|
|
- subjectaccessreviews
|
|
|
|
verbs:
|
|
|
|
- create
|