Skip to content

Commit 40b3832

Browse files
authored
[zh] Enhance format in rbac.md
1 parent f764ec7 commit 40b3832

File tree

1 file changed

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

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2097,6 +2097,7 @@ This is not a recommended policy.
20972097
下面的策略允许 **所有** 服务帐户充当集群管理员。
20982098
容器中运行的所有应用程序都会自动收到服务帐户的凭据,可以对 API 执行任何操作,
20992099
包括查看 Secrets 和修改权限。这一策略是不被推荐的。
2100+
{{< /warning >}}
21002101

21012102
```shell
21022103
kubectl create clusterrolebinding permissive-binding \
@@ -2105,12 +2106,10 @@ kubectl create clusterrolebinding permissive-binding \
21052106
--user=kubelet \
21062107
--group=system:serviceaccounts
21072108
```
2108-
{{< /warning >}}
21092109

21102110
<!--
21112111
After you have transitioned to use RBAC, you should adjust the access controls
21122112
for your cluster to ensure that these meet your information security needs.
21132113
-->
2114-
在你完成到 RBAC 的迁移后,应该调整集群的访问控制,确保相关的策略满足你的
2115-
信息安全需求。
2114+
在你完成到 RBAC 的迁移后,应该调整集群的访问控制,确保相关的策略满足你的信息安全需求。
21162115

0 commit comments

Comments
 (0)