From ae65fbeded5942eeaeb53efd2dbc3d094437aa03 Mon Sep 17 00:00:00 2001 From: Felixnoo Date: Tue, 19 Oct 2021 17:40:11 +0800 Subject: [PATCH] update the data settings tab in secrets and configmaps docs Signed-off-by: Felixnoo --- .../en/docs/project-user-guide/configuration/configmaps.md | 2 +- content/en/docs/project-user-guide/configuration/secrets.md | 6 +++--- .../zh/docs/project-user-guide/configuration/configmaps.md | 3 +-- content/zh/docs/project-user-guide/configuration/secrets.md | 6 +++--- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/content/en/docs/project-user-guide/configuration/configmaps.md b/content/en/docs/project-user-guide/configuration/configmaps.md index 9850187e0..7da72630c 100644 --- a/content/en/docs/project-user-guide/configuration/configmaps.md +++ b/content/en/docs/project-user-guide/configuration/configmaps.md @@ -30,7 +30,7 @@ You can see the ConfigMap manifest file in YAML format by enabling **Edit YAML** {{}} -3. On the **ConfigMap Settings** tab, configure values by clicking **Add Data**. +3. On the **Data Settings** tab, configure values by clicking **Add Data**. 4. Enter a key-value pair. For example: diff --git a/content/en/docs/project-user-guide/configuration/secrets.md b/content/en/docs/project-user-guide/configuration/secrets.md index 6db3bd1dd..6b550c5bd 100644 --- a/content/en/docs/project-user-guide/configuration/secrets.md +++ b/content/en/docs/project-user-guide/configuration/secrets.md @@ -36,7 +36,7 @@ You can see the Secret's manifest file in YAML format by enabling **Edit YAML** ### Step 3: Set a Secret -1. Under the tab **Secret Settings**, you must select a Secret type. In KubeSphere, you can create the following types of Secrets, indicated by the `type` field. +1. Under the tab **Data Settings**, you must select a Secret type. In KubeSphere, you can create the following types of Secrets, indicated by the `type` field. {{< notice note >}} @@ -94,7 +94,7 @@ This section shows how to create Secrets from your Docker Hub account and GitHub 1. Log in to KubeSphere as `project-regular` and go to your project. Select **Secrets** from the navigation bar and click **Create** on the right. -2. Set a name, such as `dockerhub-id`, and click **Next**. On the **Secret Settings** page, fill in the following fields and click **Validate** to verify whether the information provided is valid. +2. Set a name, such as `dockerhub-id`, and click **Next**. On the **Data Settings** page, fill in the following fields and click **Validate** to verify whether the information provided is valid. **Type**: Select **kubernetes.io/dockerconfigjson (image registry Secret)**. @@ -110,7 +110,7 @@ This section shows how to create Secrets from your Docker Hub account and GitHub 1. Log in to KubeSphere as `project-regular` and go to your project. Select **Secrets** from the navigation bar and click **Create** on the right. -2. Set a name, such as `github-id`, and click **Next**. On the **Secret Settings** page, fill in the following fields. +2. Set a name, such as `github-id`, and click **Next**. On the **Data Settings** page, fill in the following fields. **Type**: Select **kubernetes.io/basic-auth (account password Secret)**. diff --git a/content/zh/docs/project-user-guide/configuration/configmaps.md b/content/zh/docs/project-user-guide/configuration/configmaps.md index 8e0541c80..a60999b5e 100644 --- a/content/zh/docs/project-user-guide/configuration/configmaps.md +++ b/content/zh/docs/project-user-guide/configuration/configmaps.md @@ -30,7 +30,7 @@ Kubernetes [配置字典(ConfigMap)](https://kubernetes.io/docs/concepts/con {{}} -3. 在**配置设置**选项卡,点击**添加数据**以配置键值对。 +3. 在**数据设置**选项卡,点击**添加数据**以配置键值对。 4. 输入一个键值对。下图为示例: @@ -69,4 +69,3 @@ Kubernetes [配置字典(ConfigMap)](https://kubernetes.io/docs/concepts/con 在创建工作负载、[服务](../../../project-user-guide/application-workloads/services/)、[任务](../../../project-user-guide/application-workloads/jobs/)或[定时任务](../../../project-user-guide/application-workloads/cronjobs/)时,您可以用配置字典为容器添加环境变量。您可以在**添加容器**页面勾选**环境变量**,点击**引用配置字典或保密字典**,然后从下拉列表中选择一个配置字典。 - diff --git a/content/zh/docs/project-user-guide/configuration/secrets.md b/content/zh/docs/project-user-guide/configuration/secrets.md index 4ee06fc58..1aec17970 100644 --- a/content/zh/docs/project-user-guide/configuration/secrets.md +++ b/content/zh/docs/project-user-guide/configuration/secrets.md @@ -36,7 +36,7 @@ Kubernetes [保密字典 (Secret)](https://kubernetes.io/zh/docs/concepts/config ### 步骤 3:设置保密字典 -1. 在**保密字典设置**选项卡,从**类型**下拉列表中选择保密字典类型。您可以在 KubeSphere 中创建以下保密字典,类型对应 YAML 文件中的 `type` 字段。 +1. 在**数据设置**选项卡,从**类型**下拉列表中选择保密字典类型。您可以在 KubeSphere 中创建以下保密字典,类型对应 YAML 文件中的 `type` 字段。 {{< notice note >}} @@ -94,7 +94,7 @@ Kubernetes [保密字典 (Secret)](https://kubernetes.io/zh/docs/concepts/config 1. 以 `project-regular` 用户登录 KubeSphere 并进入您的项目。在左侧导航栏中选择**配置**下的**保密字典**,然后在页面右侧点击**创建**。 -2. 设置保密字典名称(例如 `dockerhub-id`)并点击**下一步**。在**保密字典设置**页面,设置以下参数,然后点击**验证**以检查设置的信息是否有效。 +2. 设置保密字典名称(例如 `dockerhub-id`)并点击**下一步**。在**数据设置**页面,设置以下参数,然后点击**验证**以检查设置的信息是否有效。 **类型**:选择**kubernetes.io/dockerconfigjson(镜像仓库保密字典)**。 @@ -110,7 +110,7 @@ Kubernetes [保密字典 (Secret)](https://kubernetes.io/zh/docs/concepts/config 1. 以 `project-regular` 用户登录 KubeSphere 并进入您的项目。在左侧导航栏中选择**配置**下的**保密字典**,然后在页面右侧点击**创建**。 -2. 设置保密字典名称(例如 `github-id`)并点击**下一步**。在**保密字典设置**页面,设置以下参数。 +2. 设置保密字典名称(例如 `github-id`)并点击**下一步**。在**数据设置**页面,设置以下参数。 **类型**:选择**kubernetes.io/basic-auth(帐户密码保密字典)**。