-
Notifications
You must be signed in to change notification settings - Fork 566
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 --args option to sync command #60
Conversation
@mxey Thanks for the PR! Code LGTM, but would you mind elaborating a bit more on your expected use-case? For me |
TBH I am not sure if I need
|
@mxey I feel like --wait should be against each chart in the yaml? |
@willejs Probably you think that one would want to decide whether Somethine like: releases:
- name: mywebapp
chart: mycharts/mywebapp
args: "--wait"
- name: fluentd
chart: mycharts/fluentd-daemonset |
@mxey Thanks for the response!
Ah! It sounds like a completely reasonable use-case now. Oh, but then, don't we need to FORCE |
I think we would be better calling out specific values instead of allowing generic arguments. If we want support for
|
@sstarcher Thx for the feedback! Honestly saying I'm still considering if it is good to do so. Basically For example, WDYT? |
My thoughts are
|
@sstarcher Thx for the confirmation!
Adding
Definitely an interesting use-case! Would you mind providing me a brief example? |
Having a --wait at a global level makes sense as currently we have no way of knowing without digging if what we just applied is working. A --wait would go a long way toward that. As for not applying --wait to everything and wanting to select it or not. I have in the past hard charts like Kafka that can take 10 mins to start and waiting for it some times does not make sense. Another example of when not to wait is related to charts that have a job that fails and later succeeds. In this case --wait will fail, but the chart succeeds. I do agree that this is more or less a fault of the chart and may not be something we specifically want to work around. |
@sstarcher Thx for the detailed answer! |
@mxey Thank you very much for your suggestion and contribution 👍 |
The option exists for some of the other commands, and I'd like to pass options to
helm upgrade
like--wait
and--reset-values