apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
  annotations:
    internal.istio.io/gateway-semantics: gateway
    internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
    internal.istio.io/parents: Gateway/gateway/a.istio-system
    internal.istio.io/service-account-name: ""
  name: gateway~istio-autogenerated-k8s-gateway~a
  namespace: istio-system
spec:
  servers:
  - hosts:
    - istio-system/a.example
    port:
      name: default
      number: 80
      protocol: HTTP
---
apiVersion: networking.istio.io/v1
kind: Gateway
metadata:
  annotations:
    internal.istio.io/gateway-semantics: gateway
    internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
    internal.istio.io/parents: Gateway/gateway/b.istio-system
    internal.istio.io/service-account-name: ""
  name: gateway~istio-autogenerated-k8s-gateway~b
  namespace: istio-system
spec:
  servers:
  - hosts:
    - istio-system/b.example
    port:
      name: default
      number: 80
      protocol: HTTP
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/existing-istio-first.istio-system,HTTPRoute/existing-istio-last.istio-system,HTTPRoute/stale-istio-reference.istio-system,HTTPRoute/stale-other-reference.istio-system
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~a~*
  namespace: istio-system
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~a
  hosts:
  - '*'
  http:
  - name: istio-system.existing-istio-first.0
    route:
    - destination:
        host: httpbin.istio-system.svc.domain.suffix
        port:
          number: 80
  - name: istio-system.existing-istio-last.0
    route:
    - destination:
        host: httpbin.istio-system.svc.domain.suffix
        port:
          number: 80
  - name: istio-system.stale-istio-reference.0
    route:
    - destination:
        host: httpbin.istio-system.svc.domain.suffix
        port:
          number: 80
  - name: istio-system.stale-other-reference.0
    route:
    - destination:
        host: httpbin.istio-system.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/existing-istio-first.istio-system,HTTPRoute/existing-istio-last.istio-system,HTTPRoute/stale-istio-reference.istio-system,HTTPRoute/stale-other-reference.istio-system
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~b~*
  namespace: istio-system
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~b
  hosts:
  - '*'
  http:
  - name: istio-system.existing-istio-first.0
    route:
    - destination:
        host: httpbin.istio-system.svc.domain.suffix
        port:
          number: 80
  - name: istio-system.existing-istio-last.0
    route:
    - destination:
        host: httpbin.istio-system.svc.domain.suffix
        port:
          number: 80
  - name: istio-system.stale-istio-reference.0
    route:
    - destination:
        host: httpbin.istio-system.svc.domain.suffix
        port:
          number: 80
  - name: istio-system.stale-other-reference.0
    route:
    - destination:
        host: httpbin.istio-system.svc.domain.suffix
        port:
          number: 80
---
