istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/ingress/testdata/tls.yaml.golden (about)

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: VirtualService
     3  metadata:
     4    annotations:
     5      internal.istio.io/route-semantics: ingress
     6    creationTimestamp: null
     7    name: foo-org-tls-istio-autogenerated-k8s-ingress
     8    namespace: bar
     9  spec:
    10    gateways:
    11    - istio-system/tls-istio-autogenerated-k8s-ingress-bar
    12    hosts:
    13    - foo.org
    14    http:
    15    - route:
    16      - destination:
    17          host: httpbin.bar.svc.mydomain
    18          port:
    19            number: 80
    20        weight: 100
    21  ---
    22  apiVersion: networking.istio.io/v1alpha3
    23  kind: Gateway
    24  metadata:
    25    creationTimestamp: null
    26    name: tls-istio-autogenerated-k8s-ingress-bar
    27    namespace: istio-system
    28  spec:
    29    selector:
    30      istio: ingressgateway
    31    servers:
    32    - hosts:
    33      - foo.org
    34      port:
    35        name: https-443-ingress-tls-bar-0
    36        number: 443
    37        protocol: HTTPS
    38      tls:
    39        credentialName: myingress-cert
    40        mode: SIMPLE
    41    - hosts:
    42      - '*'
    43      port:
    44        name: http-80-ingress-tls-bar
    45        number: 80
    46        protocol: HTTP
    47  ---