rancher-charts/packages/longhorn/longhorn-1.4/generated-changes/patch
Phan Le f8b46ccbee Package: release Longhorn 1.4.3 into dev-v2.8
Signed-off-by: Phan Le <phan.le@suse.com>
2023-10-30 18:19:30 -03:00
..
Chart.yaml.patch Copy longhorn version 102. x.x to 103.0.0 2023-10-30 18:19:30 -03:00
README.md.patch Package: release Longhorn 1.4.3 into dev-v2.8 2023-10-30 18:19:30 -03:00
app-readme.md.patch updated approach for PSPs: make prepare/patch: release longhorn v1.4.0 into Rancher 2.7 2023-02-13 15:01:28 -08:00
questions.yaml.patch make prepare/patch: release longhorn v1.4.2 into Rancher 2.7 2023-06-02 15:11:26 -07:00
values.yaml.patch make prepare/patch: release longhorn v1.4.3 into Rancher 2.7 2023-07-31 15:53:56 -07:00

README.md.patch

--- charts-original/README.md
+++ charts/README.md
@@ -36,43 +36,14 @@
 
 As a replacement for PSPs, [Pod Security Admission](https://kubernetes.io/docs/concepts/security/pod-security-admission/) should be used. Please consult the Longhorn docs for more details on how to configure your chart release namespaces to work with the new Pod Security Admission and apply Pod Security Standards.
 
-## Installation
-1. Add Longhorn chart repository.
-```
-helm repo add longhorn https://charts.longhorn.io
-```
-
-2. Update local Longhorn chart information from chart repository.
-```
-helm repo update
-```
-
-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.
-
-```
-kubectl create namespace longhorn-system
-helm install longhorn longhorn/longhorn --namespace longhorn-system
-```
-
 ## Uninstallation
 
-With Helm 2 to uninstall Longhorn.
-```
-kubectl -n longhorn-system patch -p '{"value": "true"}' --type=merge lhs deleting-confirmation-flag
-helm delete longhorn --purge
-```
-
-With Helm 3 to uninstall Longhorn.
-```
-kubectl -n longhorn-system patch -p '{"value": "true"}' --type=merge lhs deleting-confirmation-flag
-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.