-
Notifications
You must be signed in to change notification settings - Fork 160
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
Conversation
5163b5d
to
5b07a8b
Compare
There was a problem hiding this 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
.
7c0300f
to
d9cfe7e
Compare
Makes total sense :) Thanks for remind me that. |
d9cfe7e
to
72ccc74
Compare
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>
72ccc74
to
ba35b00
Compare
There was a problem hiding this 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
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.