Fix RBAC groups user guide [release-1.1 branch] (#4350)

* Fix RBAC groups user guide

* Fix lint error

* Fix the wording
This commit is contained in:
lei-tang 2019-06-14 11:06:59 -07:00 committed by GitHub
parent 17f03f086a
commit 83a9ab3d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

View File

@ -99,6 +99,23 @@ are supported.
EOF EOF
{{< /text >}} {{< /text >}}
1. Apply a policy through a destination rule for the `sleep` service to use mutual TLS when
communicating with `httpbin`.
{{< text bash >}}
$ cat <<EOF | kubectl apply -n $NS -f -
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: use-mtls-on-sleep
spec:
host: httpbin.$NS.svc.cluster.local
trafficPolicy:
tls:
mode: ISTIO_MUTUAL
EOF
{{< /text >}}
1. Set the `TOKEN` environmental variable to contain a valid sample JWT. 1. Set the `TOKEN` environmental variable to contain a valid sample JWT.
{{< text bash >}} {{< text bash >}}