From 954b9fe73e6984c53308fb20cd97a0c82aec3f53 Mon Sep 17 00:00:00 2001 From: Venkata Krishna Rohit Sakala Date: Fri, 13 Sep 2024 11:14:55 -0700 Subject: [PATCH 1/2] Add docs about enable/disable functionality in clusterrepo --- .../helm-charts-in-rancher.md | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/docs/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md b/docs/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md index 49253b610fc..d832455eba8 100644 --- a/docs/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md +++ b/docs/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md @@ -194,6 +194,29 @@ Non-Airgap Rancher installations upon refresh will reflect any chart repository Airgap installations where Rancher is configured to use the packaged copy of Helm system charts ([`useBundledSystemChart=true`](../../../getting-started/installation-and-upgrade/other-installation-methods/air-gapped-helm-cli-install/install-rancher-ha.md#helm-chart-options-for-air-gap-installations)) will only refer to the [system-chart](https://github.com/rancher/system-charts) repository that comes bundled and will not be able to be refreshed or synced. +### Enable/Disable Helm Chart Repositories + +Rancher v2.10.0 adds the ability to enable and disable Helm repositories. Helm repositories are enabled by default. + +To disable a chart repository: + +1. Click **☰ > Cluster Management**. +1. Find the name of the cluster whose repositories you want to access. Click **Explore** at the end of the cluster's row. +1. In the left navigation menu on the **Cluster Dashboard**, click **Apps > Repositories**. +1. Find the repository you want to disable, and click **⋮ > Edit YAML**. +1. Set the **Enabled** field under **Spec** to **false**. +1. Click **Save**. +1. When you disable a repository, updates are disabled and new changes to the clusterRepo are not applied. + +To enable a chart repository: + +1. Click **☰ > Cluster Management**. +1. Find the name of the cluster whose repositories you want to access. Click **Explore** at the end of the cluster's row. +1. In the left navigation menu on the **Cluster Dashboard**, click **Apps > Repositories**. +1. Find the repository you want to disable, and click **⋮ > Edit YAML**. +1. Set the **Enabled** field under **Spec** to **true**. +1. Click **Save**. + ## Deploy and Upgrade Charts To install and deploy a chart: From 4ccbbdf8b66a7c3c35e67d21672922c003af637c Mon Sep 17 00:00:00 2001 From: Billy Tat Date: Tue, 29 Oct 2024 14:28:56 -0700 Subject: [PATCH 2/2] Apply 954b9fe7 (Add docs about enable/disable functionality in clusterrepo) zh/en 2.10 docs --- .../helm-charts-in-rancher.md | 2 +- .../helm-charts-in-rancher.md | 23 +++++++++++++++++ .../helm-charts-in-rancher.md | 25 ++++++++++++++++++- 3 files changed, 48 insertions(+), 2 deletions(-) diff --git a/docs/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md b/docs/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md index d832455eba8..58bd62b889f 100644 --- a/docs/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md +++ b/docs/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md @@ -224,7 +224,7 @@ To install and deploy a chart: 1. Click **☰ > Cluster Management**. 1. Find the name of the cluster whose repositories you want to access. Click **Explore** at the end of the cluster's row. 1. In the left navigation menu on the **Cluster Dashboard**, click **Apps > Charts**. -1. Select a chart, and click **Install**. +1. Select a chart, and click **Install**. Rancher and Partner charts may have extra configurations available through custom pages or questions.yaml files. However, all chart installations can modify the values.yaml and other basic settings. After you click **Install**, a Helm operation job is deployed, and the console for the job is displayed. diff --git a/i18n/zh/docusaurus-plugin-content-docs/version-2.10/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md b/i18n/zh/docusaurus-plugin-content-docs/version-2.10/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md index 48ecc783bee..c9d475c3503 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/version-2.10/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md +++ b/i18n/zh/docusaurus-plugin-content-docs/version-2.10/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md @@ -165,6 +165,29 @@ spec: 仅支持 Helm 3 兼容 Chart 。 +### Enable/Disable Helm Chart Repositories + +Rancher v2.10.0 adds the ability to enable and disable Helm repositories. Helm repositories are enabled by default. + +To disable a chart repository: + +1. Click **☰ > Cluster Management**. +1. Find the name of the cluster whose repositories you want to access. Click **Explore** at the end of the cluster's row. +1. In the left navigation menu on the **Cluster Dashboard**, click **Apps > Repositories**. +1. Find the repository you want to disable, and click **⋮ > Edit YAML**. +1. Set the **Enabled** field under **Spec** to **false**. +1. Click **Save**. +1. When you disable a repository, updates are disabled and new changes to the clusterRepo are not applied. + +To enable a chart repository: + +1. Click **☰ > Cluster Management**. +1. Find the name of the cluster whose repositories you want to access. Click **Explore** at the end of the cluster's row. +1. In the left navigation menu on the **Cluster Dashboard**, click **Apps > Repositories**. +1. Find the repository you want to disable, and click **⋮ > Edit YAML**. +1. Set the **Enabled** field under **Spec** to **true**. +1. Click **Save**. + ### 部署和升级 Chart 安装和部署 chart: diff --git a/versioned_docs/version-2.10/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md b/versioned_docs/version-2.10/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md index 84ae382badb..4fbabf98051 100644 --- a/versioned_docs/version-2.10/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md +++ b/versioned_docs/version-2.10/how-to-guides/new-user-guides/helm-charts-in-rancher/helm-charts-in-rancher.md @@ -194,6 +194,29 @@ Non-Airgap Rancher installations upon refresh will reflect any chart repository Airgap installations where Rancher is configured to use the packaged copy of Helm system charts ([`useBundledSystemChart=true`](../../../getting-started/installation-and-upgrade/other-installation-methods/air-gapped-helm-cli-install/install-rancher-ha.md#helm-chart-options-for-air-gap-installations)) will only refer to the [system-chart](https://github.com/rancher/system-charts) repository that comes bundled and will not be able to be refreshed or synced. +### Enable/Disable Helm Chart Repositories + +Rancher v2.10.0 adds the ability to enable and disable Helm repositories. Helm repositories are enabled by default. + +To disable a chart repository: + +1. Click **☰ > Cluster Management**. +1. Find the name of the cluster whose repositories you want to access. Click **Explore** at the end of the cluster's row. +1. In the left navigation menu on the **Cluster Dashboard**, click **Apps > Repositories**. +1. Find the repository you want to disable, and click **⋮ > Edit YAML**. +1. Set the **Enabled** field under **Spec** to **false**. +1. Click **Save**. +1. When you disable a repository, updates are disabled and new changes to the clusterRepo are not applied. + +To enable a chart repository: + +1. Click **☰ > Cluster Management**. +1. Find the name of the cluster whose repositories you want to access. Click **Explore** at the end of the cluster's row. +1. In the left navigation menu on the **Cluster Dashboard**, click **Apps > Repositories**. +1. Find the repository you want to disable, and click **⋮ > Edit YAML**. +1. Set the **Enabled** field under **Spec** to **true**. +1. Click **Save**. + ## Deploy and Upgrade Charts To install and deploy a chart: @@ -201,7 +224,7 @@ To install and deploy a chart: 1. Click **☰ > Cluster Management**. 1. Find the name of the cluster whose repositories you want to access. Click **Explore** at the end of the cluster's row. 1. In the left navigation menu on the **Cluster Dashboard**, click **Apps > Charts**. -1. Select a chart, and click **Install**. +1. Select a chart, and click **Install**. Rancher and Partner charts may have extra configurations available through custom pages or questions.yaml files. However, all chart installations can modify the values.yaml and other basic settings. After you click **Install**, a Helm operation job is deployed, and the console for the job is displayed.