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/apple.istio-system
    internal.istio.io/service-account-name: ""
  name: gateway~istio-autogenerated-k8s-gateway~apple
  namespace: istio-system
spec:
  servers:
  - hosts:
    - apple/apple.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/banana.istio-system
    internal.istio.io/service-account-name: ""
  name: gateway~istio-autogenerated-k8s-gateway~banana
  namespace: istio-system
spec:
  servers:
  - hosts:
    - banana/banana.example
    port:
      name: default
      number: 80
      protocol: HTTP
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/http.apple
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~apple~*
  namespace: apple
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~apple
  hosts:
  - '*'
  http:
  - name: apple.http.0
    route:
    - destination:
        host: httpbin-apple.apple.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/http.banana
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~banana~*
  namespace: banana
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~banana
  hosts:
  - '*'
  http:
  - name: banana.http.0
    route:
    - destination:
        host: httpbin-banana.banana.svc.domain.suffix
        port:
          number: 80
---
