istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/ingress/testdata/simple.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: VirtualService 20 metadata: 21 annotations: 22 internal.istio.io/route-semantics: ingress 23 creationTimestamp: null 24 name: foohost-bar-com-foo-istio-autogenerated-k8s-ingress 25 namespace: ns 26 spec: 27 gateways: 28 - istio-system/foo-istio-autogenerated-k8s-ingress-ns 29 hosts: 30 - foohost.bar.com 31 http: 32 - match: 33 - uri: 34 exact: /sub/path/ 35 route: 36 - destination: 37 host: service1.ns.svc.mydomain 38 port: 39 number: 4202 40 weight: 100 41 - match: 42 - uri: 43 exact: /sub/path/ 44 route: 45 - destination: 46 host: service1.ns.svc.mydomain 47 port: 48 number: 4207 49 weight: 100 50 - match: 51 - uri: 52 prefix: /sub/path/ 53 route: 54 - destination: 55 host: service1.ns.svc.mydomain 56 port: 57 number: 4209 58 weight: 100 59 - match: 60 - uri: 61 exact: /sub/path 62 route: 63 - destination: 64 host: service1.ns.svc.mydomain 65 port: 66 number: 4201 67 weight: 100 68 - match: 69 - uri: 70 exact: /sub/path 71 route: 72 - destination: 73 host: service1.ns.svc.mydomain 74 port: 75 number: 4206 76 weight: 100 77 - match: 78 - uri: 79 prefix: /sub/path 80 route: 81 - destination: 82 host: service1.ns.svc.mydomain 83 port: 84 number: 4208 85 weight: 100 86 - match: 87 - uri: 88 exact: /regex2* 89 route: 90 - destination: 91 host: service1.ns.svc.mydomain 92 port: 93 number: 4204 94 weight: 100 95 - match: 96 - uri: 97 prefix: /regex1 98 route: 99 - destination: 100 host: service1.ns.svc.mydomain 101 port: 102 number: 4203 103 weight: 100 104 - match: 105 - uri: 106 prefix: /regex3 107 route: 108 - destination: 109 host: service1.ns.svc.mydomain 110 port: 111 number: 4205 112 weight: 100 113 - match: 114 - uri: 115 exact: /path 116 route: 117 - destination: 118 host: service1.ns.svc.mydomain 119 port: 120 number: 4200 121 weight: 100 122 ---