istio.io/istio@v0.0.0-20240520182934-d79c90f27776/manifests/charts/gateways/istio-egress/templates/serviceaccount.yaml (about) 1 {{ $gateway := index .Values "gateways" "istio-egressgateway" }} 2 apiVersion: v1 3 kind: ServiceAccount 4 {{- if .Values.global.imagePullSecrets }} 5 imagePullSecrets: 6 {{- range .Values.global.imagePullSecrets }} 7 - name: {{ . }} 8 {{- end }} 9 {{- end }} 10 metadata: 11 name: {{ $gateway.name }}-service-account 12 namespace: {{ .Release.Namespace }} 13 labels: 14 {{ $gateway.labels | toYaml | trim | indent 4 }} 15 release: {{ .Release.Name }} 16 istio.io/rev: {{ .Values.revision | default "default" | quote }} 17 install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }} 18 operator.istio.io/component: "EgressGateways" 19 {{- with $gateway.serviceAccount.annotations }} 20 annotations: 21 {{- toYaml . | nindent 4 }} 22 {{- end }}