Skip to content

Commit 008d00b

Browse files
authored
Sync #16632 add a concrete example of an allow-nothing binding to istio-waypoint into Chinese (#16634)
1 parent 6e2988d commit 008d00b

File tree

1 file changed

+15
-0
lines changed
  • content/zh/docs/ops/best-practices/security

1 file changed

+15
-0
lines changed

content/zh/docs/ops/best-practices/security/index.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,21 @@ Istio 新的 Ambient 数据平面模式引入了一种新的拆分数据平面
6161
需要注意的是,`GatewayClass` 是集群范围的资源,将命名空间范围的策略绑定到它需要特别小心。
6262
Istio 要求绑定到 `GatewayClass` 的策略位于根命名空间中,通常是 `istio-system`
6363

64+
对于 waypoint,标准的不允许任何行为的策略是:
65+
66+
{{< text yaml >}}
67+
apiVersion: security.istio.io/v1
68+
kind: AuthorizationPolicy
69+
metadata:
70+
name: allow-nothing-istio-waypoint
71+
namespace: istio-system
72+
spec:
73+
targetRefs:
74+
- group: gateway.networking.k8s.io
75+
kind: GatewayClass
76+
name: istio-waypoint
77+
{{< /text >}}
78+
6479
{{< tip >}}
6580
当在 waypoint 中使用默认拒绝模式时,除了“经典”默认拒绝策略外,
6681
还应使用绑定到 `istio-waypoint` `GatewayClass` 的策略。

0 commit comments

Comments
 (0)