You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
93 lines
1.3 KiB
93 lines
1.3 KiB
3 months ago
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/component: controller
|
||
|
app.kubernetes.io/name: prometheus-operator
|
||
|
app.kubernetes.io/part-of: kube-prometheus
|
||
|
app.kubernetes.io/version: 0.49.0
|
||
|
name: prometheus-operator
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- monitoring.coreos.com
|
||
|
resources:
|
||
|
- alertmanagers
|
||
|
- alertmanagers/finalizers
|
||
|
- alertmanagerconfigs
|
||
|
- prometheuses
|
||
|
- prometheuses/finalizers
|
||
|
- thanosrulers
|
||
|
- thanosrulers/finalizers
|
||
|
- servicemonitors
|
||
|
- podmonitors
|
||
|
- probes
|
||
|
- prometheusrules
|
||
|
verbs:
|
||
|
- '*'
|
||
|
- apiGroups:
|
||
|
- apps
|
||
|
resources:
|
||
|
- statefulsets
|
||
|
verbs:
|
||
|
- '*'
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- configmaps
|
||
|
- secrets
|
||
|
verbs:
|
||
|
- '*'
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- pods
|
||
|
verbs:
|
||
|
- list
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- services
|
||
|
- services/finalizers
|
||
|
- endpoints
|
||
|
verbs:
|
||
|
- get
|
||
|
- create
|
||
|
- update
|
||
|
- delete
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- nodes
|
||
|
verbs:
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- ""
|
||
|
resources:
|
||
|
- namespaces
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- networking.k8s.io
|
||
|
resources:
|
||
|
- ingresses
|
||
|
verbs:
|
||
|
- get
|
||
|
- list
|
||
|
- watch
|
||
|
- apiGroups:
|
||
|
- authentication.k8s.io
|
||
|
resources:
|
||
|
- tokenreviews
|
||
|
verbs:
|
||
|
- create
|
||
|
- apiGroups:
|
||
|
- authorization.k8s.io
|
||
|
resources:
|
||
|
- subjectaccessreviews
|
||
|
verbs:
|
||
|
- create
|