kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: argocd-controller-clusteradmin
  labels:
    app.kubernetes.io/instance: argocd
subjects:
  - kind: ServiceAccount
    name: argocd-argocd-application-controller
    namespace: argocd
  - kind: ServiceAccount
    name: argocd-argocd-server
    namespace: argocd
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
