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/cross.istio-system
  creationTimestamp: null
  name: gateway-istio-autogenerated-k8s-gateway-cross
  namespace: istio-system
spec:
  servers:
  - hosts:
    - cert/cert1.domain.example
    port:
      name: default
      number: 443
      protocol: HTTPS
    tls:
      credentialName: kubernetes-gateway://cert/cert
      mode: SIMPLE
---
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/cross2.istio-system
  creationTimestamp: null
  name: gateway-istio-autogenerated-k8s-gateway-cross2
  namespace: istio-system
spec:
  servers:
  - hosts:
    - cert/cert2.domain.example
    port:
      name: default
      number: 443
      protocol: HTTPS
    tls:
      credentialName: kubernetes-gateway://cert2/cert2
      mode: SIMPLE
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/http.cert
    internal.istio.io/route-semantics: gateway
  creationTimestamp: null
  name: http-0-istio-autogenerated-k8s-gateway
  namespace: cert
spec:
  gateways:
  - istio-system/gateway-istio-autogenerated-k8s-gateway-cross
  hosts:
  - cert1.domain.example
  http:
  - route:
    - destination:
        host: httpbin.cert.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/http.cert
    internal.istio.io/route-semantics: gateway
  creationTimestamp: null
  name: http-1-istio-autogenerated-k8s-gateway
  namespace: cert
spec:
  gateways:
  - istio-system/gateway-istio-autogenerated-k8s-gateway-cross
  hosts:
  - cert2.domain.example
  http:
  - route:
    - destination:
        host: httpbin.cert.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/http.cert
    internal.istio.io/route-semantics: gateway
  creationTimestamp: null
  name: http-2-istio-autogenerated-k8s-gateway
  namespace: cert
spec:
  gateways:
  - istio-system/gateway-istio-autogenerated-k8s-gateway-cross2
  hosts:
  - cert1.domain.example
  http:
  - route:
    - destination:
        host: httpbin.cert.svc.domain.suffix
        port:
          number: 80
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/http.cert
    internal.istio.io/route-semantics: gateway
  creationTimestamp: null
  name: http-3-istio-autogenerated-k8s-gateway
  namespace: cert
spec:
  gateways:
  - istio-system/gateway-istio-autogenerated-k8s-gateway-cross2
  hosts:
  - cert2.domain.example
  http:
  - route:
    - destination:
        host: httpbin.cert.svc.domain.suffix
        port:
          number: 80
---
