24 lines
485 B
YAML
24 lines
485 B
YAML
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
kind: ClusterRole
|
||
|
metadata:
|
||
|
labels:
|
||
|
app.kubernetes.io/component: exporter
|
||
|
app.kubernetes.io/name: node-exporter
|
||
|
app.kubernetes.io/part-of: kube-prometheus
|
||
|
app.kubernetes.io/version: 1.3.1
|
||
|
name: node-exporter
|
||
|
namespace: monitoring
|
||
|
rules:
|
||
|
- apiGroups:
|
||
|
- authentication.k8s.io
|
||
|
resources:
|
||
|
- tokenreviews
|
||
|
verbs:
|
||
|
- create
|
||
|
- apiGroups:
|
||
|
- authorization.k8s.io
|
||
|
resources:
|
||
|
- subjectaccessreviews
|
||
|
verbs:
|
||
|
- create
|