File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
content/zh-cn/examples/access Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ kind: ClusterRole
3
3
metadata :
4
4
annotations :
5
5
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 没有什么可恢复的。
12
13
labels :
13
14
rbac.authorization.k8s.io/aggregate-to-edit : " true"
14
15
name : custom:aggregate-to-edit:endpoints # 你可以随意愿更改这个 name
You can’t perform that action at this time.
0 commit comments