@@ -133,7 +133,7 @@ Here's an example Role in the "default" namespace that can be used to grant read
133
133
#### Role 示例 {#role-example}
134
134
135
135
下面是一个位于 "default" 名字空间的 Role 的示例,可用来授予对
136
- {{< glossary_tooltip text="pods " term_id="pod" >}} 的读访问权限:
136
+ {{< glossary_tooltip text="Pod " term_id="pod" >}} 的读访问权限:
137
137
138
138
<!--
139
139
```yaml
@@ -175,7 +175,7 @@ Because ClusterRoles are cluster-scoped, you can also use them to grant access t
175
175
-->
176
176
# ## ClusterRole 示例 {#clusterrole-example}
177
177
178
- ClusterRole 可以和 Role 相同完成授权 。
178
+ ClusterRole 同样可以用于授予 Role 能够授予的权限 。
179
179
因为 ClusterRole 属于集群范围,所以它也可以为以下资源授予访问权限:
180
180
181
181
* 集群范围资源(比如{{< glossary_tooltip text="节点(Node)" term_id="node" >}})
@@ -226,7 +226,7 @@ rules:
226
226
The name of a Role or a ClusterRole object must be a valid
227
227
[path segment name](/docs/concepts/overview/working-with-objects/names#path-segment-names).
228
228
-->
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)。
230
230
231
231
<!--
232
232
# ## RoleBinding and ClusterRoleBinding
@@ -257,7 +257,7 @@ RoleBinding 所在的名字空间。
257
257
如果你希望将某 ClusterRole 绑定到集群中所有名字空间,你要使用 ClusterRoleBinding。
258
258
259
259
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)。
261
261
262
262
<!--
263
263
# ### RoleBinding examples {#rolebinding-example}
@@ -269,7 +269,7 @@ This allows "jane" to read pods in the "default" namespace.
269
269
# ### RoleBinding 示例 {#rolebinding-example}
270
270
271
271
下面的例子中的 RoleBinding 将 "pod-reader" Role 授予在 "default" 名字空间中的用户 "jane"。
272
- 这样,用户 "jane" 就具有了读取 "default" 名字空间中 pods 的权限。
272
+ 这样,用户 "jane" 就具有了读取 "default" 名字空间中所有 Pod 的权限。
273
273
274
274
<!--
275
275
` ` ` yaml
0 commit comments