rpi.carlosedp.cluster-monit.../manifests/setup/prometheus-operator-clusterRole.yaml

82 lines
1.2 KiB
YAML
Raw Normal View History

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
app.kubernetes.io/version: v0.40.0
2018-03-02 01:03:53 +01:00
name: prometheus-operator
rules:
- apiGroups:
- monitoring.coreos.com
resources:
- alertmanagers
- alertmanagers/finalizers
2018-03-02 01:03:53 +01:00
- prometheuses
- prometheuses/finalizers
- thanosrulers
- thanosrulers/finalizers
2018-03-02 01:03:53 +01:00
- servicemonitors
2019-08-08 22:09:53 +02:00
- podmonitors
- prometheusrules
2018-03-02 01:03:53 +01:00
verbs:
- '*'
2018-03-02 01:03:53 +01:00
- apiGroups:
- apps
resources:
- statefulsets
verbs:
- '*'
- apiGroups:
- ""
2018-03-02 01:03:53 +01:00
resources:
- configmaps
- secrets
verbs:
- '*'
- apiGroups:
- ""
2018-03-02 01:03:53 +01:00
resources:
- pods
verbs:
- list
- delete
- apiGroups:
- ""
2018-03-02 01:03:53 +01:00
resources:
- services
- services/finalizers
2018-03-02 01:03:53 +01:00
- endpoints
verbs:
- get
- create
- update
- delete
- apiGroups:
- ""
2018-03-02 01:03:53 +01:00
resources:
- nodes
verbs:
- list
- watch
- apiGroups:
- ""
2018-03-02 01:03:53 +01:00
resources:
- namespaces
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