...

Text file src/github.com/linkerd/linkerd2/multicluster/charts/linkerd-multicluster-link/templates/gateway-mirror.yaml

Documentation: github.com/linkerd/linkerd2/multicluster/charts/linkerd-multicluster-link/templates

     1{{ if .Values.gateway.enabled -}}
     2---
     3apiVersion: v1
     4kind: Service
     5metadata:
     6  name: probe-gateway-{{.Values.targetClusterName}}
     7  namespace: {{ .Release.Namespace }}
     8  labels:
     9    linkerd.io/extension: multicluster
    10    mirror.linkerd.io/mirrored-gateway: "true"
    11    mirror.linkerd.io/cluster-name: {{.Values.targetClusterName}}
    12    {{- with .Values.commonLabels }}{{ toYaml . | trim | nindent 4 }}{{- end }}
    13spec:
    14  ports:
    15  - name: mc-probe
    16    port: {{.Values.gateway.probe.port}}
    17    protocol: TCP
    18{{ end -}}

View as plain text