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/cross.istio-system
    internal.istio.io/service-account-name: ""
  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:
      caCertCredentialName: configmap://default/auth-cert-cacert
      credentialName: kubernetes-gateway://cert/cert
      mode: MUTUAL
---
apiVersion: networking.istio.io/v1
kind: VirtualService
metadata:
  annotations:
    internal.istio.io/parents: HTTPRoute/http.cert
    internal.istio.io/route-semantics: gateway
  name: istio-system~gateway~istio-autogenerated-k8s-gateway~cross~cert1.domain.example
  namespace: cert
spec:
  gateways:
  - istio-system/gateway~istio-autogenerated-k8s-gateway~cross
  hosts:
  - cert1.domain.example
  http:
  - name: cert.http.0
    route:
    - destination:
        host: httpbin.cert.svc.domain.suffix
        port:
          number: 80
---
