设置授权规则
本节介绍如何为存储类设置授权规则。
设置并启用授权规则后,用户只能在特定项目和企业空间使用存储类。
Prerequisites
-
KubeSphere 平台需要安装并启用 KubeSphere 存储扩展组件。
-
You should join a cluster and have the 存储类访问规则管理 permission within the cluster. For more information, refer to "Cluster Members" and "Cluster Roles".
Steps
-
Log in to the KubeSphere web console with a user who has the 存储类访问规则管理 permission, and access your cluster.
-
Click 存储 > 存储类 in the left navigation pane.
-
Click the name of a storage class in the list to open its details page.
-
在存储类详情页面的左上角,选择更多操作 > 设置授权规则。
-
在设置授权规则对话框,点击页面右侧的已禁用按钮启用授权规则。
Note 若要禁用授权规则,在页面右侧点击已启用。
-
在授权规则设置区域,设置在特定的项目和企业空间使用该存储类。
-
设置完成后,点击确定。
Feedback
Was this page Helpful?
Receive the latest news, articles and updates from KubeSphere
Thanks for the feedback. If you have a specific question about how to use KubeSphere, ask it on Slack. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.