Skip to content

Commit 6ee7fea

Browse files
authored
Merge pull request #49193 from my-git9/np-14586
[zh-cn]sync production-environment/_index.md
2 parents 8c54e04 + 9e62b85 commit 6ee7fea

File tree

1 file changed

+2
-2
lines changed
  • content/zh-cn/docs/setup/production-environment

1 file changed

+2
-2
lines changed

content/zh-cn/docs/setup/production-environment/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,12 +462,12 @@ As someone setting up authentication and authorization on your production Kubern
462462
<!--
463463
- *Set the authorization mode*: When the Kubernetes API server
464464
([kube-apiserver](/docs/reference/command-line-tools-reference/kube-apiserver/))
465-
starts, the supported authentication modes must be set using the *--authorization-mode*
465+
starts, supported authorization modes must be set using an *--authorization-config* file or the *--authorization-mode*
466466
flag. For example, that flag in the *kube-adminserver.yaml* file (in */etc/kubernetes/manifests*)
467467
could be set to Node,RBAC. This would allow Node and RBAC authorization for authenticated requests.
468468
-->
469469
- **设置鉴权模式**:当 Kubernetes API 服务器([kube-apiserver](/docs/reference/command-line-tools-reference/kube-apiserver/))启动时,
470-
所支持的鉴权模式必须使用 `--authorization-mode` 标志配置。
470+
所支持的鉴权模式必须使用 `*--authorization-config` 文件或 `--authorization-mode` 标志配置。
471471
例如,`kube-apiserver.yaml`(位于 `/etc/kubernetes/manifests` 下)中对应的标志可以设置为 `Node,RBAC`
472472
这样就会针对已完成身份认证的请求执行 Node 和 RBAC 鉴权。
473473
<!--

0 commit comments

Comments
 (0)