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

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: Gateway
     3  metadata:
     4    name: istio-autogenerated-k8s-ingress
     5    namespace: istio-system
     6  spec:
     7    selector:
     8      istio: {{ .Values.global.k8sIngressSelector }}
     9    servers:
    10    - port:
    11        number: 80
    12        protocol: HTTP2
    13        name: http
    14      hosts:
    15      - "*"
    16  {{ if .Values.global.k8sIngressHttps }}
    17    - port:
    18        number: 443
    19        protocol: HTTPS
    20        name: https-default
    21      tls:
    22        mode: SIMPLE
    23        serverCertificate: /etc/istio/ingress-certs/tls.crt
    24        privateKey: /etc/istio/ingress-certs/tls.key
    25      hosts:
    26      - "*"
    27  {{ end }}
    28  ---
    29  {{- if .Values.global.meshExpansion }}
    30  apiVersion: networking.istio.io/v1alpha3
    31  kind: Gateway
    32  metadata:
    33    name: meshexpansion-gateway
    34  spec:
    35    selector:
    36      istio: ingressgateway
    37    servers:
    38    - port:
    39        number: 15011
    40        protocol: TCP
    41        name: tcp-pilot
    42      hosts:
    43      - "*"
    44    - port:
    45        number: 8060
    46        protocol: TCP
    47        name: tcp-citadel
    48      hosts:
    49      - "*"
    50  ---
    51  {{- end }}
    52  
    53  {{- if .Values.global.meshExpansionILB }}
    54  apiVersion: networking.istio.io/v1alpha3
    55  kind: Gateway
    56  metadata:
    57    name: meshexpansion-ilb-gateway
    58  spec:
    59    selector:
    60      istio: ilbgateway
    61    servers:
    62    - port:
    63        number: 15011
    64        protocol: TCP
    65        name: tcp-pilot
    66      hosts:
    67      - "*"
    68    - port:
    69        number: 8060
    70        protocol: TCP
    71        name: tcp-citadel
    72      hosts:
    73      - "*"
    74  {{- end }}