From 61c0acece99d61c0475046e778559c3488fc24c4 Mon Sep 17 00:00:00 2001 From: Darshan Hassan Shashikumar <62122269+darshanhs09@users.noreply.github.com> Date: Fri, 27 Aug 2021 10:54:44 -0700 Subject: [PATCH] feat: Multiple VirtualService objects support for canary strategy of Argo Rollouts. Adding the TLSRoute details in the multiple virtualService spec. fixes #1100 --- .../istio/multipleVirtualsvc.yaml | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/docs/getting-started/istio/multipleVirtualsvc.yaml b/docs/getting-started/istio/multipleVirtualsvc.yaml index 567e9d8a18..a763d4b8fc 100644 --- a/docs/getting-started/istio/multipleVirtualsvc.yaml +++ b/docs/getting-started/istio/multipleVirtualsvc.yaml @@ -20,6 +20,19 @@ spec: port: number: 15372 weight: 0 + tls: + - match: + - port: 3000 + sniHosts: + - reviews.bookinfo.com + - localhost + route: + - destination: + host: rollouts-demo-stable + weight: 100 + - destination: + host: rollouts-demo-canary + weight: 0 --- apiVersion: networking.istio.io/v1alpha3 @@ -43,4 +56,17 @@ spec: host: rollouts-demo-canary port: number: 15373 - weight: 0 \ No newline at end of file + weight: 0 + tls: + - match: + - port: 3000 + sniHosts: + - reviews.bookinfo.com + - localhost + route: + - destination: + host: rollouts-demo-stable + weight: 100 + - destination: + host: rollouts-demo-canary + weight: 0