istio.io/istio@v0.0.0-20240520182934-d79c90f27776/manifests/charts/base/templates/endpoints.yaml (about) 1 {{- if regexMatch "^([0-9]*\\.){3}[0-9]*$" .Values.global.remotePilotAddress }} 2 # if the remotePilotAddress is an IP addr 3 apiVersion: v1 4 kind: Endpoints 5 metadata: 6 {{- if .Values.pilot.enabled }} 7 name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }}-remote 8 {{- else }} 9 name: istiod{{- if .Values.revision }}-{{ .Values.revision}}{{- end }} 10 {{- end }} 11 namespace: {{ .Release.Namespace }} 12 subsets: 13 - addresses: 14 - ip: {{ .Values.global.remotePilotAddress }} 15 ports: 16 - port: 15012 17 name: tcp-istiod 18 protocol: TCP 19 - port: 15017 20 name: tcp-webhook 21 protocol: TCP 22 --- 23 {{- end }}