Skip to content

Commit 536588c

Browse files
authored
Merge pull request #37423 from windsonsea/exaend
[zh] sync endpoints-aggregated.yaml
2 parents 9d23969 + d97b08d commit 536588c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

content/zh-cn/examples/access/endpoints-aggregated.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ kind: ClusterRole
33
metadata:
44
annotations:
55
kubernetes.io/description: |-
6-
Add endpoints write permissions to the edit and admin roles. This was
7-
removed by default in 1.22 because of CVE-2021-25740. See
8-
https://issue.k8s.io/103675. This can allow writers to direct LoadBalancer
9-
or Ingress implementations to expose backend IPs that would not otherwise
10-
be accessible, and can circumvent network policies or security controls
11-
intended to prevent/isolate access to those backends.
6+
将端点写入权限添加到 edit 和 admin 角色。此特性因 CVE-2021-25740 在 1.22
7+
中默认被移除。请参阅 https://issue.k8s.io/103675
8+
这一设置将允许写者要求 LoadBalancer 或 Ingress 的实现向外暴露后端 IP 地址,
9+
所暴露的 IP 地址无法通过其他方式访问,
10+
并且可以规避对这些后端访问进行预防/隔离的网络策略或安全控制机制。
11+
EndpointSlice 从未包含在 edit 和 admin 角色中,
12+
因此 EndpointSlice API 没有什么可恢复的。
1213
labels:
1314
rbac.authorization.k8s.io/aggregate-to-edit: "true"
1415
name: custom:aggregate-to-edit:endpoints # 你可以随意愿更改这个 name

0 commit comments

Comments
 (0)