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 >}}
|
{{< text bash >}}
|
||||||
$ kubectl apply -f - <<EOF
|
$ kubectl apply -f - <<EOF
|
||||||
apiVersion: security.istio.io/v1beta1
|
apiVersion: security.istio.io/v1
|
||||||
kind: RequestAuthentication
|
kind: RequestAuthentication
|
||||||
metadata:
|
metadata:
|
||||||
name: ingress-jwt
|
name: ingress-jwt
|
||||||
|
|
|
@ -99,7 +99,7 @@ $ kubectl apply -n foo -f - <<EOF
|
||||||
apiVersion: security.istio.io/v1beta1
|
apiVersion: security.istio.io/v1beta1
|
||||||
kind: PeerAuthentication
|
kind: PeerAuthentication
|
||||||
metadata:
|
metadata:
|
||||||
name: "default"
|
name: default
|
||||||
spec:
|
spec:
|
||||||
mtls:
|
mtls:
|
||||||
mode: STRICT
|
mode: STRICT
|
||||||
|
@ -142,7 +142,7 @@ $ kubectl apply -n istio-system -f - <<EOF
|
||||||
apiVersion: security.istio.io/v1beta1
|
apiVersion: security.istio.io/v1beta1
|
||||||
kind: PeerAuthentication
|
kind: PeerAuthentication
|
||||||
metadata:
|
metadata:
|
||||||
name: "default"
|
name: default
|
||||||
spec:
|
spec:
|
||||||
mtls:
|
mtls:
|
||||||
mode: STRICT
|
mode: STRICT
|
||||||
|
|
Loading…
Reference in New Issue