github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/weblogic-operator/templates/_operator-rolebinding.tpl (about)

     1  # Copyright (c) 2018, 2021, 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  {{- define "operator.operatorRoleBinding" }}
     5  ---
     6  kind: "RoleBinding"
     7  apiVersion: "rbac.authorization.k8s.io/v1"
     8  metadata:
     9    name: "weblogic-operator-rolebinding"
    10    namespace: {{ .Release.Namespace | quote }}
    11    labels:
    12      weblogic.operatorName: {{ .Release.Namespace | quote }}
    13  subjects:
    14  - kind: "ServiceAccount"
    15    name: {{ .serviceAccount | quote }}
    16    namespace: {{ .Release.Namespace | quote }}
    17    apiGroup: ""
    18  roleRef:
    19    kind: "Role"
    20    name: "weblogic-operator-role"
    21    apiGroup: "rbac.authorization.k8s.io"
    22  {{- end }}