github.com/codefresh-io/kcfi@v0.0.0-20230301195427-c1578715cc46/charts/codefresh-operator/templates/role_binding.yaml (about)

     1  {{ if not .Values.serviceAccountName }}
     2  kind: RoleBinding
     3  apiVersion: rbac.authorization.k8s.io/v1
     4  metadata:
     5    name: cf-onprem-operator
     6    labels:
     7      app: cf-onprem-operator  
     8  subjects:
     9  - kind: ServiceAccount
    10    name: cf-onprem-operator
    11  roleRef:
    12    kind: Role
    13    name: cf-onprem-operator
    14    apiGroup: rbac.authorization.k8s.io
    15  {{ end }}