Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: patch long-horn uninstall #1036

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jokestax
Copy link
Contributor

Description

The helm uninstall for long horn fails with following error

time="2025-03-22T01:15:58Z" level=fatal msg="cannot uninstall Longhorn because deleting-confirmation-flag is set to `false`. Please set it to `true` using Longhorn UI or kubectl -n longhorn-system edit settings.longhorn.io deleting-confirmation-flag " func=app.UninstallCmd.func1 file="uninstall.go:48" do using kubectl

Test

Install the cluster with market-place application selected as long-horn,then uninstall using below

kubectl -n longhorn-system patch settings.longhorn.io deleting-confirmation-flag --type='merge' -p '{"value":"true"}'
helm uninstall longhorn -n longhorn-system
kubectl delete namespace longhorn-system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant