infra4talos/apps-kustomized/kube-prometheus/nodeExporter-clusterRole.yaml

25 lines
550 B
YAML
Raw Permalink Normal View History

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.6.1
name: node-exporter
annotations:
argocd.argoproj.io/sync-wave: '1'
rules:
- apiGroups:
- authentication.k8s.io
resources:
- tokenreviews
verbs:
- create
- apiGroups:
- authorization.k8s.io
resources:
- subjectaccessreviews
verbs:
- create