apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  namespace: example-namespace
  name: grafana-proxy
rules:
  - verbs:
      - create
    apiGroups:
      - authentication.k8s.io
    resources:
      - tokenreviews
  - verbs:
      - create
    apiGroups:
      - authorization.k8s.io
    resources:
      - subjectaccessreviews