From 69dcfa527784c0ccd80830cf0fd1852ac888ef04 Mon Sep 17 00:00:00 2001 From: Phan Le Date: Tue, 10 Jan 2023 22:43:09 -0800 Subject: [PATCH] Update uninstallation info to include the 'Deleting Confirmation Flag' in chart longhorn-5250 Signed-off-by: Phan Le --- chart/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chart/README.md b/chart/README.md index fd54c0e..bc722b6 100644 --- a/chart/README.md +++ b/chart/README.md @@ -49,11 +49,13 @@ helm install longhorn longhorn/longhorn --namespace longhorn-system 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 ```