istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pilot/pkg/config/kube/gateway/testdata/reference-policy-tls.yaml.golden (about)

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: Gateway
     3  metadata:
     4    annotations:
     5      internal.istio.io/gateway-semantics: gateway
     6      internal.istio.io/gateway-service: istio-ingressgateway.istio-system.svc.domain.suffix
     7      internal.istio.io/parents: Gateway/gateway/cross.istio-system
     8    creationTimestamp: null
     9    name: gateway-istio-autogenerated-k8s-gateway-cross
    10    namespace: istio-system
    11  spec:
    12    servers:
    13    - hosts:
    14      - cert/cert1.domain.example
    15      port:
    16        name: default
    17        number: 443
    18        protocol: HTTPS
    19      tls:
    20        credentialName: kubernetes-gateway://cert/cert
    21        mode: SIMPLE
    22  ---
    23  apiVersion: networking.istio.io/v1alpha3
    24  kind: VirtualService
    25  metadata:
    26    annotations:
    27      internal.istio.io/parents: HTTPRoute/http.cert
    28      internal.istio.io/route-semantics: gateway
    29    creationTimestamp: null
    30    name: http-0-istio-autogenerated-k8s-gateway
    31    namespace: cert
    32  spec:
    33    gateways:
    34    - istio-system/gateway-istio-autogenerated-k8s-gateway-cross
    35    hosts:
    36    - cert1.domain.example
    37    http:
    38    - name: cert.http.0
    39      route:
    40      - destination:
    41          host: httpbin.cert.svc.domain.suffix
    42          port:
    43            number: 80
    44  ---