From eeeceb0426afe1f1f9ee24ddda662008ca528227 Mon Sep 17 00:00:00 2001 From: Phan Le Date: Wed, 27 Sep 2023 16:53:14 -0700 Subject: [PATCH] Package: release Longhorn 1.5.1 into dev-v2.8 Signed-off-by: Phan Le --- .../longhorn-crd/longhorn-1.5/package.yaml | 4 ++-- .../generated-changes/patch/README.md.patch | 22 ++++++++++--------- packages/longhorn/longhorn-1.5/package.yaml | 4 ++-- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/packages/longhorn-crd/longhorn-1.5/package.yaml b/packages/longhorn-crd/longhorn-1.5/package.yaml index 4d86af303..f4941c67d 100644 --- a/packages/longhorn-crd/longhorn-1.5/package.yaml +++ b/packages/longhorn-crd/longhorn-1.5/package.yaml @@ -1,5 +1,5 @@ url: https://github.com/longhorn/charts.git subdirectory: charts/longhorn commit: 3b57266ab050578a858b53b53c355eb3110e12c2 -version: 103.0.0 -doNotRelease: true \ No newline at end of file +version: 103.2.0 +doNotRelease: false \ No newline at end of file diff --git a/packages/longhorn/longhorn-1.5/generated-changes/patch/README.md.patch b/packages/longhorn/longhorn-1.5/generated-changes/patch/README.md.patch index 33d728a33..5b4dd8fc4 100644 --- a/packages/longhorn/longhorn-1.5/generated-changes/patch/README.md.patch +++ b/packages/longhorn/longhorn-1.5/generated-changes/patch/README.md.patch @@ -9,29 +9,25 @@ -``` -helm repo add longhorn https://charts.longhorn.io -``` -+## Uninstallation - +- -2. Update local Longhorn chart information from chart repository. -``` -helm repo update -``` -+To prevent Longhorn from being accidentally uninstalled (which leads to data lost), we introduce a new setting, deleting-confirmation-flag. If this flag is **false**, the Longhorn uninstallation job will fail. Set this flag to **true** to allow Longhorn uninstallation. You can set this flag using setting page in Longhorn UI or `kubectl -n longhorn-system patch -p '{"value": "true"}' --type=merge lhs deleting-confirmation-flag` - +- -3. Install Longhorn chart. -- With Helm 2, the following command will create the `longhorn-system` namespace and install the Longhorn chart together. -``` -helm install longhorn/longhorn --name longhorn --namespace longhorn-system -``` -- With Helm 3, the following commands will create the `longhorn-system` namespace first, then install the Longhorn chart. -+To prevent damage to the Kubernetes cluster, we recommend deleting all Kubernetes workloads using Longhorn volumes (PersistentVolume, PersistentVolumeClaim, StorageClass, Deployment, StatefulSet, DaemonSet, etc). - +- -``` -kubectl create namespace longhorn-system -helm install longhorn longhorn/longhorn --namespace longhorn-system -``` -+From Rancher Cluster Explorer UI, navigate to Apps page, delete app `longhorn` then app `longhorn-crd` in Installed Apps tab. - --## Uninstallation +- + ## Uninstallation -With Helm 2 to uninstall Longhorn. -``` @@ -45,6 +41,12 @@ -helm uninstall longhorn -n longhorn-system -kubectl delete namespace longhorn-system -``` -- ++To prevent Longhorn from being accidentally uninstalled (which leads to data lost), we introduce a new setting, deleting-confirmation-flag. If this flag is **false**, the Longhorn uninstallation job will fail. Set this flag to **true** to allow Longhorn uninstallation. You can set this flag using setting page in Longhorn UI or `kubectl -n longhorn-system patch -p '{"value": "true"}' --type=merge lhs deleting-confirmation-flag` ++ ++To prevent damage to the Kubernetes cluster, we recommend deleting all Kubernetes workloads using Longhorn volumes (PersistentVolume, PersistentVolumeClaim, StorageClass, Deployment, StatefulSet, DaemonSet, etc). ++ ++From Rancher Cluster Explorer UI, navigate to Apps page, delete app `longhorn` then app `longhorn-crd` in Installed Apps tab. ++ + --- Please see [link](https://github.com/longhorn/longhorn) for more information. diff --git a/packages/longhorn/longhorn-1.5/package.yaml b/packages/longhorn/longhorn-1.5/package.yaml index 4d86af303..f4941c67d 100644 --- a/packages/longhorn/longhorn-1.5/package.yaml +++ b/packages/longhorn/longhorn-1.5/package.yaml @@ -1,5 +1,5 @@ url: https://github.com/longhorn/charts.git subdirectory: charts/longhorn commit: 3b57266ab050578a858b53b53c355eb3110e12c2 -version: 103.0.0 -doNotRelease: true \ No newline at end of file +version: 103.2.0 +doNotRelease: false \ No newline at end of file