github.com/verrazzano/verrazzano@v1.7.1/tools/psr/manifests/charts/worker/templates/clusterrolebinding.yaml (about)

     1  # Copyright (c) 2022, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  apiVersion: rbac.authorization.k8s.io/v1
     5  kind: ClusterRoleBinding
     6  metadata:
     7    name: {{ .Release.Namespace }}-{{ template "worker.fullName" .}}
     8  roleRef:
     9    apiGroup: rbac.authorization.k8s.io
    10    kind: ClusterRole
    11    name: cluster-admin
    12  subjects:
    13    - kind: ServiceAccount
    14      name: {{ template "worker.fullName" .}}
    15      namespace: {{ .Release.Namespace }}
    16    - kind: ServiceAccount
    17      name: default
    18      namespace: {{ .Release.Namespace }}