istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/testdata/config/destination-rule-ssl.yaml (about) 1 # Fails if a service with the name exists: trusted_ca required ! 2 apiVersion: networking.istio.io/v1alpha3 3 kind: DestinationRule 4 metadata: 5 name: ssl-simple 6 namespace: testns 7 spec: 8 host: ssl1.webinf.info 9 trafficPolicy: 10 loadBalancer: 11 simple: LEAST_CONN 12 tls: 13 mode: SIMPLE 14 --- 15 # This will not work: myCA not found, results in rejecting all clusters if the 16 # service exists. 17 apiVersion: networking.istio.io/v1alpha3 18 kind: DestinationRule 19 metadata: 20 name: drprefix 21 namespace: testns 22 spec: 23 host: "random.webinf.info" 24 trafficPolicy: 25 loadBalancer: 26 simple: RANDOM