mirror of https://github.com/istio/istio.io.git
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:
parent
17f03f086a
commit
83a9ab3d40
|
|
@ -99,6 +99,23 @@ are supported.
|
|||
EOF
|
||||
{{< /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.
|
||||
|
||||
{{< text bash >}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue