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

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: Gateway
     3  metadata:
     4    creationTimestamp: null
     5    name: foo-istio-autogenerated-k8s-ingress-ns
     6    namespace: istio-system
     7  spec:
     8    selector:
     9      istio: ingressgateway
    10    servers:
    11    - hosts:
    12      - '*'
    13      port:
    14        name: http-80-ingress-foo-ns
    15        number: 80
    16        protocol: HTTP
    17  ---
    18  apiVersion: networking.istio.io/v1alpha3
    19  kind: Gateway
    20  metadata:
    21    creationTimestamp: null
    22    name: foo2-istio-autogenerated-k8s-ingress-ns
    23    namespace: istio-system
    24  spec:
    25    selector:
    26      istio: ingressgateway
    27    servers:
    28    - hosts:
    29      - '*'
    30      port:
    31        name: http-80-ingress-foo2-ns
    32        number: 80
    33        protocol: HTTP
    34  ---
    35  apiVersion: networking.istio.io/v1alpha3
    36  kind: VirtualService
    37  metadata:
    38    annotations:
    39      internal.istio.io/route-semantics: ingress
    40    creationTimestamp: null
    41    name: foohost-bar-com-foo-istio-autogenerated-k8s-ingress
    42    namespace: ns
    43  spec:
    44    gateways:
    45    - istio-system/foo-istio-autogenerated-k8s-ingress-ns
    46    hosts:
    47    - foohost.bar.com
    48    http:
    49    - match:
    50      - uri:
    51          exact: /second
    52      route:
    53      - destination:
    54          host: service2.ns.svc.mydomain
    55          port:
    56            number: 4200
    57        weight: 100
    58    - route:
    59      - destination:
    60          host: service1.ns.svc.mydomain
    61          port:
    62            number: 4200
    63        weight: 100
    64  ---