---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  annotations:
    helm.sh/hook: pre-upgrade,pre-rollback
    helm.sh/hook-delete-policy: before-hook-creation, hook-succeeded
    helm.sh/hook-weight: "2"
  name: upgrade-crd-hook-cluster-role-binding
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: upgrade-crd-hook-cluster-role
subjects:
  - kind: ServiceAccount
    name: upgrade-crd-hook-sa
    namespace: kube-amd-gpu
