apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  annotations:
    internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
    internal.istio.io/parents: Gateway/gateway/default.istio-system
  creationTimestamp: null
  name: gateway-istio-autogenerated-k8s-gateway-default
  namespace: istio-system
spec:
  servers:
  - hosts:
    - '*/*.example.com'
    port:
      name: default
      number: 80
      protocol: HTTP
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/dual.default
    internal.istio.io/route-semantics: gateway
  creationTimestamp: null
  name: dual-0-istio-autogenerated-k8s-gateway
  namespace: default
spec:
  gateways:
  - istio-system/gateway-istio-autogenerated-k8s-gateway-default
  hosts:
  - foo.example.com
  http:
  - route:
    - destination:
        host: example.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/dual.default
    internal.istio.io/route-semantics: gateway
  creationTimestamp: null
  name: dual-1-istio-autogenerated-k8s-gateway
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - example.default.svc.domain.suffix
  http:
  - route:
    - destination:
        host: example.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/echo.default,HTTPRoute/header.default
    internal.istio.io/route-semantics: gateway
  creationTimestamp: null
  name: echo-0-istio-autogenerated-k8s-gateway
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - echo.default.svc.domain.suffix
  http:
  - headers:
      request:
        add:
          my-added-header: added-value
    match:
    - uri:
        prefix: /path
    route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
  - route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
---
