---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: {{ include "tpu-dra-driver.fullname" . }}-role-binding
  namespace: {{ include "tpu-dra-driver.namespace" . }}
subjects:
- kind: ServiceAccount
  name: {{ include "tpu-dra-driver.serviceAccountName" . }}
  namespace: {{ include "tpu-dra-driver.namespace" . }}
roleRef:
  kind: ClusterRole
  name: {{ include "tpu-dra-driver.fullname" . }}-role
  apiGroup: rbac.authorization.k8s.io
