istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/integration/ambient/testdata/beta-per-port-mtls.yaml (about) 1 apiVersion: security.istio.io/v1beta1 2 kind: PeerAuthentication 3 metadata: 4 name: "per-port" 5 annotations: 6 test-suite: "beta-per-port-mtls" 7 spec: 8 selector: 9 matchLabels: 10 app: b 11 mtls: 12 mode: DISABLE 13 portLevelMtls: 14 # 8090 is the targetPort for service http(80) 15 8090: 16 mode: STRICT 17 --- 18 apiVersion: networking.istio.io/v1alpha3 19 kind: DestinationRule 20 metadata: 21 name: "default" 22 annotations: 23 test-suite: "beta-per-port-mtls" 24 spec: 25 host: "*.local" 26 trafficPolicy: 27 tls: 28 mode: DISABLE