Sync #16632 add a concrete example of an allow-nothing binding to istio-waypoint into Chinese (#16634)

This commit is contained in:
Wilson Wu 2025-07-03 09:32:24 +08:00 committed by GitHub
parent 6e2988d38e
commit 008d00b844
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 0 deletions

View File

@ -61,6 +61,21 @@ Istio 新的 Ambient 数据平面模式引入了一种新的拆分数据平面
需要注意的是,`GatewayClass` 是集群范围的资源,将命名空间范围的策略绑定到它需要特别小心。
Istio 要求绑定到 `GatewayClass` 的策略位于根命名空间中,通常是 `istio-system`
对于 waypoint标准的不允许任何行为的策略是
{{< text yaml >}}
apiVersion: security.istio.io/v1
kind: AuthorizationPolicy
metadata:
name: allow-nothing-istio-waypoint
namespace: istio-system
spec:
targetRefs:
- group: gateway.networking.k8s.io
kind: GatewayClass
name: istio-waypoint
{{< /text >}}
{{< tip >}}
当在 waypoint 中使用默认拒绝模式时,除了“经典”默认拒绝策略外,
还应使用绑定到 `istio-waypoint` `GatewayClass` 的策略。