diff --git a/content/en/docs/access-control-and-account-management/external-authentication/use-an-ldap-service.md b/content/en/docs/access-control-and-account-management/external-authentication/use-an-ldap-service.md index c0f71e83d..571c153e0 100644 --- a/content/en/docs/access-control-and-account-management/external-authentication/use-an-ldap-service.md +++ b/content/en/docs/access-control-and-account-management/external-authentication/use-an-ldap-service.md @@ -12,21 +12,8 @@ This document describes how to use an LDAP service as an external identity provi ## Prerequisites * You need to deploy a Kubernetes cluster and install KubeSphere in the cluster. For details, see [Installing on Linux](/docs/installing-on-linux/) and [Installing on Kubernetes](/docs/installing-on-kubernetes/). - * You need to obtain the manager distinguished name (DN) and manager password of an LDAP service. -* If you are using KubeSphere 3.2.0, run the following command before configuring LDAP: - - ```bash - kubectl -n kubesphere-system set image deployment/ks-apiserver *=kubespheredev/ks-apiserver:release-3.2 - ``` - - {{< notice note >}} - - This is not required in the next release. - - {{}} - ## Procedure 1. Log in to KubeSphere as `admin`, move the cursor to in the lower-right corner, click **kubectl**, and run the following command to edit `ks-installer` of the CRD `ClusterConfiguration`: @@ -96,6 +83,18 @@ This document describes how to use an LDAP service as an external identity provi {{}} +5. If you are using KubeSphere 3.2.0, run the following command after configuring LDAP and wait until `ks-installer` is up and running: + + ```bash + kubectl -n kubesphere-system set image deployment/ks-apiserver *=kubespheredev/ks-apiserver:release-3.2 + ``` + + {{< notice note >}} + + This is not required in the next release. + + {{}} + 6. Go to the KubeSphere login page and enter the username and password of an LDAP user to log in. {{< notice note >}} diff --git a/content/zh/docs/access-control-and-account-management/external-authentication/use-an-ldap-service.md b/content/zh/docs/access-control-and-account-management/external-authentication/use-an-ldap-service.md index 2ef463149..60909e928 100644 --- a/content/zh/docs/access-control-and-account-management/external-authentication/use-an-ldap-service.md +++ b/content/zh/docs/access-control-and-account-management/external-authentication/use-an-ldap-service.md @@ -12,21 +12,8 @@ weight: 12220 ## 准备工作 * 您需要部署一个 Kubernetes 集群,并在集群中安装 KubeSphere。有关详细信息,请参阅[在 Linux 上安装](../../../installing-on-linux/)和[在 Kubernetes 上安装](../../../installing-on-kubernetes/)。 - * 您需要获取 LDAP 服务的管理员专有名称(DN)和管理员密码。 -* 如果您使用 KubeSphere 3.2.0,请在配置 LDAP 之前执行以下命令: - - ```bash - kubectl -n kubesphere-system set image deployment/ks-apiserver *=kubespheredev/ks-apiserver:release-3.2 - ``` - - {{< notice note >}} - - 下个版本无需执行此步。 - - {{}} - ## 步骤 1. 以 `admin` 身份登录 KubeSphere,将光标移动到右下角 ,点击 **kubectl**,然后执行以下命令来编辑 CRD `ClusterConfiguration` 中的 `ks-installer`: @@ -96,6 +83,18 @@ weight: 12220 {{}} +6. 如果您使用 KubeSphere 3.2.0,请在配置 LDAP 之后执行以下命令并等待至 `ks-installer` 成功运行: + + ```bash + kubectl -n kubesphere-system set image deployment/ks-apiserver *=kubespheredev/ks-apiserver:release-3.2 + ``` + + {{< notice note >}} + + 下个版本无需执行此步。 + + {{}} + 6. 进入KubeSphere登录页面,输入 LDAP 用户的用户名和密码登录。 {{< notice note >}}