Skip to content

Commit ae772a5

Browse files
committed
[zh] Fix tiny translation mistakes in RBAC
Signed-off-by: rudeigerc <[email protected]>
1 parent c2b38df commit ae772a5

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ metadata:
244244
subjects:
245245
# 你可以指定不止一个“subject(主体)”
246246
- kind: User
247-
name: jane # "name" 是不区分大小写的
247+
name: jane # "name" 是区分大小写的
248248
apiGroup: rbac.authorization.k8s.io
249249
roleRef:
250250
# "roleRef" 指定与某 Role 或 ClusterRole 的绑定关系
@@ -268,7 +268,7 @@ RoleBinding 所在名字空间的资源。这种引用使得你可以跨整个
268268
之后在多个名字空间中复用。
269269

270270
例如,尽管下面的 RoleBinding 引用的是一个 ClusterRole,"dave"(这里的主体,
271-
不区分大小写)只能访问 "development" 名字空间中的 Secrets 对象,因为 RoleBinding
271+
区分大小写)只能访问 "development" 名字空间中的 Secrets 对象,因为 RoleBinding
272272
所在的名字空间(由其 metadata 决定)是 "development"。
273273

274274
```yaml
@@ -283,7 +283,7 @@ metadata:
283283
namespace: development
284284
subjects:
285285
- kind: User
286-
name: dave # 'name' 是不区分大小写的
286+
name: dave # 'name' 是区分大小写的
287287
apiGroup: rbac.authorization.k8s.io
288288
roleRef:
289289
kind: ClusterRole
@@ -312,7 +312,7 @@ metadata:
312312
name: read-secrets-global
313313
subjects:
314314
- kind: Group
315-
name: manager # 'name' 是不区分大小写的
315+
name: manager # 'name' 是区分大小写的
316316
apiGroup: rbac.authorization.k8s.io
317317
roleRef:
318318
kind: ClusterRole

0 commit comments

Comments
 (0)