Skip to content

Commit e6bd5b9

Browse files
authored
Merge pull request #33066 from kinzhi/kinzhi12
[zh]update file content/zh/docs/reference/access-authn-authz/rbac.md
2 parents 82c1c11 + 1e6c02e commit e6bd5b9

File tree

1 file changed

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

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -574,31 +574,31 @@ rules:
574574

575575
<!--
576576
Allow reading/writing Deployments (at the HTTP level: objects with `"deployments"`
577-
in the resource part of their URL) in both the `"extensions"` and `"apps"` API groups:
577+
in the resource part of their URL) in the `"apps"` API groups:
578578
-->
579-
允许读/写在 "extensions" 和 "apps" API 组中的 Deployment(在 HTTP 层面,对应
579+
允许读/写在 `"apps"` API 组中的 Deployment(在 HTTP 层面,对应
580580
URL 中资源部分为 "deployments"):
581581

582582
```yaml
583583
rules:
584-
- apiGroups: ["extensions", "apps"]
584+
- apiGroups: ["apps"]
585585
resources: ["deployments"]
586586
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
587587
```
588588

589589
<!--
590590
Allow reading Pods in the core API group, as well as reading or writing Job
591-
resources in the `"batch"` or `"extensions"` API groups:
591+
resources in the `"batch"` API group:
592592
-->
593-
允许读取核心 API 组中的 "pods" 和读/写 `"batch"` 或 `"extensions"` API 组中的
593+
允许读取核心 API 组中的 "pods" 和读/写 `"batch"` API 组中的
594594
"jobs"
595595

596596
```yaml
597597
rules:
598598
- apiGroups: [""]
599599
resources: ["pods"]
600600
verbs: ["get", "list", "watch"]
601-
- apiGroups: ["batch", "extensions"]
601+
- apiGroups: ["batch"]
602602
resources: ["jobs"]
603603
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
604604
```

0 commit comments

Comments
 (0)