mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-25 19:05:44 +01:00
14 lines
283 B
YAML
14 lines
283 B
YAML
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
name: node-exporter
|
|
rules:
|
|
- apiGroups: ["authentication.k8s.io"]
|
|
resources:
|
|
- tokenreviews
|
|
verbs: ["create"]
|
|
- apiGroups: ["authorization.k8s.io"]
|
|
resources:
|
|
- subjectaccessreviews
|
|
verbs: ["create"]
|