istio.io/istio@v0.0.0-20240520182934-d79c90f27776/pkg/test/datasets/validation/dataset/networking-v1alpha3-ServiceEntry.yaml (about)

     1  apiVersion: networking.istio.io/v1alpha3
     2  kind: ServiceEntry
     3  metadata:
     4    name: valid-service-entry
     5  spec:
     6    hosts:
     7    - eu.bookinfo.com
     8    ports:
     9    - number: 80
    10      name: http
    11      protocol: HTTP
    12    resolution: DNS
    13    endpoints:
    14    # Rather than relying on an external host that might become unreachable (causing test failures)
    15    # we can mock the external endpoint using service t which has no sidecar.
    16    - address: t.istio-system.svc.cluster.local # TODO: this is brittle
    17      ports:
    18        http: 8080 # TODO test https