blob: 2a096c9852e6bd3ff5512b70722abd3e7feeb943 [file] [log] [blame]
apiVersion: security.istio.io/v1beta1
kind: PeerAuthentication
metadata:
name: "default"
annotations:
test-suite: "automtls-partial-sidecar-dr-no-tls"
spec:
mtls:
mode: STRICT
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: "multiversion-route"
annotations:
test-suite: "automtls-partial-sidecar-dr-no-tls"
spec:
hosts:
- "multiversion"
http:
- name: "vistio-route"
match:
- uri:
prefix: "/vistio"
route:
- destination:
host: "multiversion"
subset: "vistio"
- name: "legacy-by-default"
route:
- destination:
host: "multiversion"
subset: "vlegacy"
---
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: "multiversion"
annotations:
test-suite: "automtls-partial-sidecar-dr-no-tls"
spec:
host: "multiversion"
subsets:
- name: "vistio"
labels:
version: "vistio"
- name: "vlegacy"
labels:
version: "vlegacy"