apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: cluster-admins
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- apiGroup: rbac.authorization.k8s.io
  kind: Group
  name: "${CLUSTER_ADMIN_GROUP}" # ${cluster-name}-cluster-admins / New cluster admins
- apiGroup: rbac.authorization.k8s.io
  kind: Group
  name: "${CLUSTER_GLOBAL_ADMINS_GROUP}" # aks-cluster-admins  / Global admins
