From d9464099f26b1e12e573e7e7fed226d3baebaab3 Mon Sep 17 00:00:00 2001 From: salrashid123 Date: Thu, 7 Jun 2018 05:47:58 -0700 Subject: [PATCH] Update route rules for mtls (#1459) * update route rules for mtls * minor rework --- .../docs/tasks/traffic-management/request-routing.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/content/docs/tasks/traffic-management/request-routing.md b/content/docs/tasks/traffic-management/request-routing.md index afedeaa89f..012d897841 100644 --- a/content/docs/tasks/traffic-management/request-routing.md +++ b/content/docs/tasks/traffic-management/request-routing.md @@ -35,6 +35,12 @@ you'll need to use `replace` rather than `create` in the following command. $ istioctl create -f @samples/bookinfo/routing/route-rule-all-v1.yaml@ ``` + If you enabled `mTLS`, please run the following instead + + ```command + $ istioctl create -f @samples/bookinfo/routing/route-rule-all-v1-mtls.yaml@ + ``` + > In a Kubernetes deployment of Istio, you can replace `istioctl` > with `kubectl` in the above, and for all other CLI commands. > Note, however, that `kubectl` currently does not provide input validation. @@ -174,6 +180,12 @@ all users to v2, optionally in a gradual fashion. We'll explore this in a separa $ istioctl delete -f @samples/bookinfo/routing/route-rule-all-v1.yaml@ ``` + If you enabled `mTLS`, please run the following instead + + ```command + $ istioctl delete -f @samples/bookinfo/routing/route-rule-all-v1-mtls.yaml@ + ``` + * If you are not planning to explore any follow-on tasks, refer to the [Bookinfo cleanup](/docs/guides/bookinfo/#cleanup) instructions to shutdown the application.