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/default.istio-system
    internal.istio.io/service-account-name: ""
  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/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/multi-service.default
    internal.istio.io/route-semantics: gateway
  name: default~8080~echo-1.default.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - echo-1.default.svc.domain.suffix
  http:
  - match:
    - port: 8080
    name: default.multi-service.0
    route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/multi-service.default
    internal.istio.io/route-semantics: gateway
  name: default~80~echo-1.default.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - echo-1.default.svc.domain.suffix
  http:
  - match:
    - port: 80
    name: default.multi-service.0
    route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/echo-port.default
    internal.istio.io/route-semantics: gateway
  name: default~80~echo-port.default.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - echo-port.default.svc.domain.suffix
  http:
  - match:
    - port: 80
    name: default.echo-port.0
    route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/consumer-override.default
    internal.istio.io/route-semantics: gateway
  name: default~80~httpbin-apple.apple.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - httpbin-apple.apple.svc.domain.suffix
  http:
  - match:
    - port: 80
    name: default.consumer-override.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/multi-service.default
    internal.istio.io/route-semantics: gateway
  name: default~echo-2.default.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - echo-2.default.svc.domain.suffix
  http:
  - name: default.multi-service.0
    route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/echo.default,HTTPRoute/header.default
    internal.istio.io/route-semantics: gateway
  name: default~echo.default.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - echo.default.svc.domain.suffix
  http:
  - headers:
      request:
        add:
          my-added-header: added-value
    match:
    - uri:
        prefix: /path
    name: default.header.0
    route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
  - name: default.echo.0
    route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/dual.default
    internal.istio.io/route-semantics: gateway
  name: default~example.default.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - example.default.svc.domain.suffix
  http:
  - name: default.dual.0
    route:
    - destination:
        host: example.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/dual.default
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~default~foo.example.com
  namespace: default
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~default
  hosts:
  - foo.example.com
  http:
  - name: default.dual.0
    route:
    - destination:
        host: example.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: TCPRoute/tcp.default
    internal.istio.io/route-semantics: gateway
  name: tcp~tcp~0~istio-autogenerated-k8s-gateway
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - echo-1.default.svc.domain.suffix
  tcp:
  - route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: TLSRoute/tls.default
    internal.istio.io/route-semantics: gateway
  name: tls~tls~0~istio-autogenerated-k8s-gateway
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - echo-1.default.svc.domain.suffix
  tls:
  - match:
    - sniHosts:
      - echo-1.default.svc.domain.suffix
    route:
    - destination:
        host: echo.default.svc.domain.suffix
        port:
          number: 80
---
