istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/config/analysis/analyzers/testdata/virtualservice_internal_gateway_ref.yaml (about)

     1  # The following virtual service should cause the warning IST0165 because it references a generated internal gateway.
     2  apiVersion: networking.istio.io/v1beta1
     3  kind: VirtualService
     4  metadata:
     5    name: httpbin
     6  spec:
     7    hosts:
     8    - "foo.com"
     9    gateways:
    10    - "istio-ingress/gateway-istio-autogenerated-k8s-gateway-foo"
    11    http:
    12    - route:
    13      - destination:
    14          host: httpbin
    15          port:
    16            number: 80