Skip to content

Commit 86a38e8

Browse files
authored
Merge pull request #35702 from yanrongshi/zh-cn]Resync-rbac.md
[zh-cn] Reword in rbac.md
2 parents a4d81b5 + 508083a commit 86a38e8

File tree

1 file changed

+5
-5
lines changed
  • content/zh-cn/docs/reference/access-authn-authz

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ Here's an example Role in the "default" namespace that can be used to grant read
133133
#### Role 示例 {#role-example}
134134

135135
下面是一个位于 "default" 名字空间的 Role 的示例,可用来授予对
136-
{{< glossary_tooltip text="pods" term_id="pod" >}} 的读访问权限:
136+
{{< glossary_tooltip text="Pod" term_id="pod" >}} 的读访问权限:
137137

138138
<!--
139139
```yaml
@@ -175,7 +175,7 @@ Because ClusterRoles are cluster-scoped, you can also use them to grant access t
175175
-->
176176
### ClusterRole 示例 {#clusterrole-example}
177177

178-
ClusterRole 可以和 Role 相同完成授权
178+
ClusterRole 同样可以用于授予 Role 能够授予的权限
179179
因为 ClusterRole 属于集群范围,所以它也可以为以下资源授予访问权限:
180180

181181
* 集群范围资源(比如{{< glossary_tooltip text="节点(Node)" term_id="node" >}})
@@ -226,7 +226,7 @@ rules:
226226
The name of a Role or a ClusterRole object must be a valid
227227
[path segment name](/docs/concepts/overview/working-with-objects/names#path-segment-names).
228228
-->
229-
Role 或 ClusterRole 对象的名称必须是合法的[路径区段名称](/zh-cn/docs/concepts/overview/working-with-objects/names#path-segment-names)。
229+
Role 或 ClusterRole 对象的名称必须是合法的[路径分段名称](/zh-cn/docs/concepts/overview/working-with-objects/names#path-segment-names)。
230230

231231
<!--
232232
### RoleBinding and ClusterRoleBinding
@@ -257,7 +257,7 @@ RoleBinding 所在的名字空间。
257257
如果你希望将某 ClusterRole 绑定到集群中所有名字空间,你要使用 ClusterRoleBinding。
258258

259259
RoleBinding 或 ClusterRoleBinding 对象的名称必须是合法的
260-
[路径区段名称](/zh-cn/docs/concepts/overview/working-with-objects/names#path-segment-names)。
260+
[路径分段名称](/zh-cn/docs/concepts/overview/working-with-objects/names#path-segment-names)。
261261

262262
<!--
263263
#### RoleBinding examples {#rolebinding-example}
@@ -269,7 +269,7 @@ This allows "jane" to read pods in the "default" namespace.
269269
#### RoleBinding 示例 {#rolebinding-example}
270270

271271
下面的例子中的 RoleBinding 将 "pod-reader" Role 授予在 "default" 名字空间中的用户 "jane"。
272-
这样,用户 "jane" 就具有了读取 "default" 名字空间中 pods 的权限。
272+
这样,用户 "jane" 就具有了读取 "default" 名字空间中所有 Pod 的权限。
273273

274274
<!--
275275
```yaml

0 commit comments

Comments
 (0)