github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/pilot/templates/meshexpansion.yaml (about)

     1  {{- if .Values.global.meshExpansion }}
     2  
     3  apiVersion: networking.istio.io/v1alpha3
     4  kind: VirtualService
     5  metadata:
     6    name: meshexpansion-pilot
     7  spec:
     8    hosts:
     9    - "pilot.istio-system"
    10    gateways:
    11    - meshexpansion-gateway
    12    tcp:
    13    - match:
    14      - port: 15011
    15      route:
    16      - destination:
    17          host: istio-pilot.istio-system.svc.cluster.local
    18          port:
    19            number: 15011
    20  
    21  
    22  {{- end }}
    23  
    24  
    25  {{- if .Values.global.meshExpansionILB }}
    26  ---
    27  apiVersion: networking.istio.io/v1alpha3
    28  kind: VirtualService
    29  metadata:
    30    name: ilb-meshexpansion-pilot
    31  spec:
    32    hosts:
    33    - "meshexpansionilb.istio-system"
    34    gateways:
    35    - meshexpansion-ilb-gateway
    36    tcp:
    37    - match:
    38      - port: 15011
    39      route:
    40      - destination:
    41          host: istio-pilot.istio-system.svc.cluster.local
    42          port:
    43            number: 15011
    44    - match:
    45      - port: 15010
    46      route:
    47      - destination:
    48          host: istio-pilot.istio-system.svc.cluster.local
    49          port:
    50            number: 15010
    51    - match:
    52      - port: 5353
    53      route:
    54      - destination:
    55          host: kube-dns.kube-system.svc.cluster.local
    56          port:
    57            number: 53
    58  
    59  {{- end }}