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

Add uninstall disableWait flag #416

Merged
merged 2 commits into from
Feb 16, 2022

Conversation

samueltorres
Copy link
Contributor

@samueltorres samueltorres commented Feb 13, 2022

Add a uninstall disableWait property on Helm Release Uninstall API, so users can set whether Helm Controller waits for all the resources to be deleted before finalizing the Helm Release.

This is very handy to ensure Helm Releases are fully un-installed. See Slack Thread.

Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for this PR, looks like it is a newly added flag introduced a couple Helm releases ago which I missed. 🙇

I think the default behavior should be to wait (because that results in the best observation of an uninstall), to be inline with the other wait related flags for e.g. Install and Upgrade. The flag in the Custom Resource would then become DisableWait.

@hiddeco hiddeco added area/helm Helm related issues and pull requests area/ux In pursuit of a delightful user experience enhancement New feature or request labels Feb 15, 2022
@samueltorres samueltorres force-pushed the add-uninstall-wait-feature branch 3 times, most recently from 7c0300f to d9cfe7e Compare February 15, 2022 18:09
@samueltorres
Copy link
Contributor Author

Makes total sense :) Thanks for remind me that.

@samueltorres samueltorres changed the title Add uninstall wait flag Add uninstall disableWait flag Feb 15, 2022
samueltorres and others added 2 commits February 16, 2022 12:09
This commit changes the default behavior of the Helm uninstall action
to wait for all resources to be deleted, and introduces a
`.spec.uninstall.disableWait` flag to disable this behavior.

Signed-off-by: Samuel Torres <samuelpirestorres@gmail.com>
Signed-off-by: Hidde Beydals <hello@hidde.co>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @samueltorres and @hiddeco

@hiddeco hiddeco merged commit 317bce5 into fluxcd:main Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/helm Helm related issues and pull requests area/ux In pursuit of a delightful user experience enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants