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

     1  {{- if .Values.global.meshExpansion }}
     2  
     3  apiVersion: networking.istio.io/v1alpha3
     4  kind: VirtualService
     5  metadata:
     6    name: meshexpansion-citadel
     7  spec:
     8    hosts:
     9    - "istio-citadel.istio-system"
    10    gateways:
    11    - meshexpansion-gateway
    12    tcp:
    13    - match:
    14      - port: 8060
    15      route:
    16      - destination:
    17          host: istio-citadel.istio-system.svc.cluster.local
    18          port:
    19            number: 8060
    20  
    21  {{- end }}
    22  
    23  ---
    24  
    25  {{- if .Values.global.meshExpansionILB }}
    26  
    27  apiVersion: networking.istio.io/v1alpha3
    28  kind: VirtualService
    29  metadata:
    30    name: meshexpansion-ilb-citadel
    31  spec:
    32    hosts:
    33    - "istio-citadel.istio-system"
    34    gateways:
    35    - meshexpansion-ilb-gateway
    36    tcp:
    37    - match:
    38      - port: 8060
    39      route:
    40      - destination:
    41          host: istio-citadel.istio-system.svc.cluster.local
    42          port:
    43            number: 8060
    44  
    45  {{- end }}