istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/security/testdata/reachability/global-dr.yaml.tmpl (about)

     1  apiVersion: networking.istio.io/v1beta1
     2  kind: DestinationRule
     3  metadata:
     4    name: "default"
     5  spec:
     6    host: "*"
     7    trafficPolicy:
     8      tls:
     9        mode: {{ .TLSMode }}
    10  ---
    11  # Apply a local policy to the system namespace to turn this off
    12  # Otherwise, the eastwest gateway will be impacted
    13  apiVersion: networking.istio.io/v1beta1
    14  kind: DestinationRule
    15  metadata:
    16    name: "eastwest-opt-out"
    17  spec:
    18    exportTo: [.]
    19    host: "*"
    20    trafficPolicy:
    21      loadBalancer:
    22        simple: UNSPECIFIED