github.com/argoproj/argo-cd@v1.8.7/test/e2e/testdata/cluster-role/cluster-role.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1beta1
     2  kind: ClusterRoleBinding
     3  metadata:
     4    namespace: cert-manager
     5    name: my-cluster-role-binding
     6    annotations:
     7      argocd.argoproj.io/hook: PreSync
     8  roleRef:
     9    apiGroup: rbac.authorization.k8s.io
    10    kind: ClusterRole
    11    name: cluster-admin
    12  subjects:
    13    - kind: ServiceAccount
    14      name: default
    15      namespace: default