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

Only send one notification unless --wait is used. #45

Open
dtuite opened this issue Apr 19, 2020 · 4 comments
Open

Only send one notification unless --wait is used. #45

dtuite opened this issue Apr 19, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@dtuite
Copy link
Member

dtuite commented Apr 19, 2020

When helm is used without --wait, it's basically impossible for the install or upgrade to fail. Helm doesn't wait for the pods to start up or anything, it just returns to the user immediately. There is no information available in the second notification that couldn't have been sent in the first.

When --wait is used, it makes sense to send two notifications because the upgrade or install can fail and the second notification can indicate that to the user.

As far as I can tell, there is no way to determine if --wait was used or not from within the cluster. Might need to talk to the Helm owners.

@dtuite dtuite added the enhancement New feature or request label Apr 19, 2020
@hd-deman
Copy link

@dtuite How about global way to disable wait behaviour to reduce noice?

@hd-deman
Copy link

And/or set max retries?

@dtuite
Copy link
Member Author

dtuite commented Apr 20, 2020

@dtuite How about global way to disable wait behaviour to reduce noice?

Yes. This is another option. I presume that most teams will have scripted their helm deployments and either will always be using --wait or never using --wait. There shouldn't be many teams using a mix outside of dev clusters.

@TJM
Copy link
Contributor

TJM commented Jul 14, 2020

I would like to see this as well, the extra "Upgraded" notification is not very useful to us. We are using helm-operator, and generally have to watch its logs or k describe helmrelease xxxxxx to see whats happening :)

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

No branches or pull requests

3 participants