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:
    - '*/*.domain.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: fake-service.com
    internal.istio.io/parents: Gateway/invalid-service/default.istio-system
    internal.istio.io/service-account-name: ""
  name: invalid-service~istio-autogenerated-k8s-gateway~default
  namespace: istio-system
spec:
  servers:
  - hosts:
    - istio-system/*.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/target-port-reference/default.istio-system
    internal.istio.io/service-account-name: ""
  name: target-port-reference~istio-autogenerated-k8s-gateway~default
  namespace: istio-system
spec:
  servers:
  - hosts:
    - istio-system/*.example
    port:
      name: default
      number: 8080
      protocol: HTTP
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/invalid-backendRef-hostname.default,HTTPRoute/invalid-backendRef-mirror.default,HTTPRoute/invalid-backendRef-serviceimport.default,HTTPRoute/no-backend.default
    internal.istio.io/route-semantics: gateway
  name: default~httpbin.default.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - httpbin.default.svc.domain.suffix
  http:
  - name: default.invalid-backendRef-hostname.0
    route:
    - destination:
        host: unknown.example.com
        port:
          number: 80
  - name: default.invalid-backendRef-mirror.0
    route:
    - destination:
        host: httpbin.default.svc.domain.suffix
        port:
          number: 80
  - name: default.invalid-backendRef-serviceimport.0
    route:
    - destination:
        host: unknown-service-import.default.svc.domain.suffix
        port:
          number: 80
  - directResponse:
      status: 500
    mirrors:
    - destination:
        host: httpbin.default.svc.domain.suffix
        port:
          number: 80
    name: default.no-backend.0
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/invalid-parentRef-service.default
    internal.istio.io/route-semantics: gateway
  name: default~not-found.default.svc.domain.suffix
  namespace: default
spec:
  gateways:
  - mesh
  hosts:
  - not-found.default.svc.domain.suffix
  http:
  - name: default.invalid-parentRef-service.0
    route:
    - destination:
        host: httpbin.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/invalid-mirror.default
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~default~*
  namespace: default
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~default
  hosts:
  - '*'
  http:
  - name: default.invalid-mirror.0
    route:
    - destination:
        host: httpbin.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/invalid-backendRef-kind.default
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~default~first.domain.example
  namespace: default
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~default
  hosts:
  - first.domain.example
  http:
  - name: default.invalid-backendRef-kind.0
    route:
    - destination: {}
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/invalid-backendRef-notfound.default
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~default~second.domain.example
  namespace: default
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~default
  hosts:
  - second.domain.example
  http:
  - name: default.invalid-backendRef-notfound.0
    route:
    - destination:
        host: nonexistent.default.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/invalid-backendRef-mixed.default
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~default~third.domain.example
  namespace: default
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~default
  hosts:
  - third.domain.example
  http:
  - name: default.invalid-backendRef-mixed.0
    route:
    - destination:
        host: nonexistent.default.svc.domain.suffix
        port:
          number: 80
      weight: 1
    - destination:
        host: httpbin.default.svc.domain.suffix
        port:
          number: 80
      weight: 1
    - destination: {}
      weight: 1
---
