Skip to content

Commit f9c092c

Browse files
authored
Merge pull request #34367 from Sea-n/zh-rm-approvers
[zh] Remove approvers for localized files
2 parents 812c42b + 34367ab commit f9c092c

File tree

3 files changed

+17
-21
lines changed

3 files changed

+17
-21
lines changed

content/zh-cn/docs/reference/access-authn-authz/abac.md

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
---
2-
approvers:
3-
- erictune
4-
- lavalamp
5-
- deads2k
6-
- liggitt
72
title: 使用 ABAC 鉴权
83
content_type: concept
4+
weight: 80
95
---
10-
116
<!--
127
reviewers:
138
- erictune
@@ -67,7 +62,7 @@ properties:
6762
- `/foo/*` matches all subpaths of `/foo/`.
6863
- `readonly`, type boolean, when true, means that the Resource-matching policy only applies to get, list, and watch operations, Non-resource-matching policy only applies to get operation.
6964
-->
70-
## 策略文件格式
65+
## 策略文件格式 {#policy-file-format}
7166

7267
基于 `ABAC` 模式,可以这样指定策略文件 `--authorization-policy-file=SOME_FILENAME`
7368

@@ -76,7 +71,7 @@ properties:
7671
每一行都是一个策略对象,策略对象是具有以下属性的映射:
7772

7873
- 版本控制属性:
79-
- `apiVersion`,字符串类型:有效值为`abac.authorization.kubernetes.io/v1beta1`,允许对策略格式进行版本控制和转换。
74+
- `apiVersion`,字符串类型:有效值为 `abac.authorization.kubernetes.io/v1beta1`,允许对策略格式进行版本控制和转换。
8075
- `kind`,字符串类型:有效值为 `Policy`,允许对策略格式进行版本控制和转换。
8176
- `spec` 配置为具有以下映射的属性:
8277
- 主体匹配属性:
@@ -85,7 +80,7 @@ properties:
8580
`system:unauthenticated` 匹配所有未经过身份验证的请求。
8681
- 资源匹配属性:
8782
- `apiGroup`,字符串类型;一个 API 组。
88-
- 例: `apps`, `networking.k8s.io`
83+
- 例:`apps`, `networking.k8s.io`
8984
- 通配符:`*`匹配所有 API 组。
9085
- `namespace`,字符串类型;一个命名空间。
9186
- 例如:`kube-system`
@@ -95,7 +90,7 @@ properties:
9590
- 通配符:`*`匹配所有资源请求。
9691
- 非资源匹配属性:
9792
- `nonResourcePath`,字符串类型;非资源请求路径。
98-
- 例如:`/version``/apis`
93+
- 例如:`/version` `/apis`
9994
- 通配符:
10095
- `*` 匹配所有非资源请求。
10196
- `/foo/*` 匹配 `/foo/` 的所有子路径。
@@ -141,7 +136,7 @@ To permit a user to do anything, write a policy with the apiGroup, namespace,
141136
resource, and nonResourcePath properties set to `"*"`.
142137
-->
143138

144-
## 鉴权算法
139+
## 鉴权算法 {#authorization-algorithm}
145140

146141
请求具有与策略对象的属性对应的属性。
147142

@@ -184,7 +179,7 @@ kubectl 使用 api-server 的 `/api` 和 `/apis` 端点来发现服务资源类
184179

185180
当使用 ABAC 鉴权时,这些特殊资源必须显式地通过策略中的 `nonResourcePath` 属性暴露出来(参见下面的 [示例](#examples)):
186181

187-
* `/api``/api/*``/apis``/apis/*` 用于 API 版本协商。
182+
* `/api``/api/*``/apis` `/apis/*` 用于 API 版本协商。
188183
* `/version` 通过 `kubectl version` 检索服务器版本。
189184
* `/swaggerapi/*` 用于创建 / 更新操作。
190185

@@ -267,7 +262,7 @@ system:serviceaccount:<namespace>:<serviceaccountname>
267262
-->
268263
[完整文件示例](https://releases.k8s.io/{{< param "fullversion" >}}/pkg/auth/authorizer/abac/example_policy_file.jsonl)
269264

270-
## 服务帐户的快速说明
265+
## 服务帐户的快速说明 {#a-quick-note-on-service-accounts}
271266

272267
服务帐户自动生成用户。用户名是根据命名约定生成的:
273268

content/zh-cn/docs/tasks/manage-daemon/rollback-daemon-set.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
approvers:
3-
- janetkuo
42
title: 对 DaemonSet 执行回滚
53
content_type: task
64
weight: 20
@@ -222,7 +220,7 @@ have revision 1 and 2 in the system, and roll back from revision 2 to revision
222220
注意 DaemonSet 修订版本只会正向变化。也就是说,回滚完成后,所回滚到的
223221
`ControllerRevision` 版本号 (`.revision` 字段) 会增加。
224222
例如,如果用户在系统中有版本 1 和版本 2,并从版本 2 回滚到版本 1,
225-
带有 `.revision: 1``ControllerRevision` 将变为 `.revision: 3`
223+
带有 `.revision: 1` `ControllerRevision` 将变为 `.revision: 3`
226224
{{< /note >}}
227225

228226
<!--
@@ -234,5 +232,3 @@ have revision 1 and 2 in the system, and roll back from revision 2 to revision
234232
## 故障排查
235233

236234
* 参阅 [DaemonSet 滚动升级故障排除](/zh/docs/tasks/manage-daemon/update-daemon-set/#troubleshooting)
237-
238-

content/zh-cn/docs/tutorials/stateful-application/basic-stateful-set.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
---
22
title: StatefulSet 基础
33
content_type: tutorial
4-
approvers:
4+
weight: 10
5+
---
6+
<!--
7+
reviewers:
58
- enisoc
69
- erictune
710
- foxish
811
- janetkuo
912
- kow3ns
1013
- smarterclayton
11-
12-
---
14+
title: StatefulSet Basics
15+
content_type: tutorial
16+
weight: 10
17+
-->
1318

1419
<!-- overview -->
1520

0 commit comments

Comments
 (0)