mirror of https://github.com/istio/istio.io.git
[Zh] Sync docs from En (#13149)
Signed-off-by: xing.wu <xing.wu@daocloud.io>
This commit is contained in:
parent
6ef6a78357
commit
820692f014
|
@ -56,7 +56,7 @@ Istio 入口网关支持基于经过身份验证的 JWT 的路由,
|
|||
|
||||
{{< text bash >}}
|
||||
$ kubectl apply -f - <<EOF
|
||||
apiVersion: security.istio.io/v1beta1
|
||||
apiVersion: security.istio.io/v1
|
||||
kind: RequestAuthentication
|
||||
metadata:
|
||||
name: ingress-jwt
|
||||
|
|
|
@ -99,7 +99,7 @@ $ kubectl apply -n foo -f - <<EOF
|
|||
apiVersion: security.istio.io/v1beta1
|
||||
kind: PeerAuthentication
|
||||
metadata:
|
||||
name: "default"
|
||||
name: default
|
||||
spec:
|
||||
mtls:
|
||||
mode: STRICT
|
||||
|
@ -142,7 +142,7 @@ $ kubectl apply -n istio-system -f - <<EOF
|
|||
apiVersion: security.istio.io/v1beta1
|
||||
kind: PeerAuthentication
|
||||
metadata:
|
||||
name: "default"
|
||||
name: default
|
||||
spec:
|
||||
mtls:
|
||||
mode: STRICT
|
||||
|
|
Loading…
Reference in New Issue