istio.io/istio@v0.0.0-20240520182934-d79c90f27776/manifests/charts/gateways/istio-egress/templates/rolebindings.yaml (about)

     1  {{ $gateway := index .Values "gateways" "istio-egressgateway" }}
     2  apiVersion: rbac.authorization.k8s.io/v1
     3  kind: RoleBinding
     4  metadata:
     5    name: {{ $gateway.name }}-sds
     6    namespace: {{ .Release.Namespace }}
     7    labels:
     8      release: {{ .Release.Name }}
     9      istio.io/rev: {{ .Values.revision | default "default" | quote }}
    10      install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }}
    11      operator.istio.io/component: "EgressGateways"
    12  roleRef:
    13    apiGroup: rbac.authorization.k8s.io
    14    kind: Role
    15    name: {{ $gateway.name }}-sds
    16  subjects:
    17  - kind: ServiceAccount
    18    name: {{ $gateway.name }}-service-account
    19  ---