-
Notifications
You must be signed in to change notification settings - Fork 202
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 force-reboot and drain timeouts to chart config and ds #360
Add force-reboot and drain timeouts to chart config and ds #360
Conversation
a56fb06
to
4ef4c8e
Compare
Would it be possible to add reboot command as well or is another PR warranted? |
@anthr76 the reboot command is already flexible, in our main branch. We are just waiting for the next kubernetes kind nodes to release our recent work! |
@@ -96,7 +96,7 @@ func main() { | |||
Run: root} | |||
|
|||
rootCmd.PersistentFlags().BoolVar(&forceReboot, "force-reboot", false, | |||
"force a reboot even if the drain is still running (default: false)") | |||
"force a reboot even if the drain fails or times out (default: false)") |
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.
if you would like this clarification to be included in the next release (1.7.0), it's probably better to add it into another PR.
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.
I'm not overly concerned, I just noticed it was slightly incorrect when doing the helm chart changes and wanted to correct it.
I'm not sure I understand your response here -- I believe @anthr76 is asking to have the |
@bstrdsmkr Is indeed correct.. Didn't see that |
You're right, it seems like this slipped through the cracks. PRs welcome! |
I'll be happy to. Any idea on when this gets merged along with the new release? |
as a sanity check, is there a generic way to convert between the flag name and a yaml safe name? That way you could generate them from the yaml values instead of hard coding each one |
That would be amazing, but I am not sure we have that. @ckotzbauer what do you think of the idea? We could maybe write a utility function that does that in the helm chart, and leverage it? Or is there any other way? |
@cnmcavoy this will need a rebase, can you tackle it? That would be lovely. |
@evrardjp @bstrdsmkr I think the "kebabcase" function could help us: https://helm.sh/docs/chart_template_guide/function_list/#kebabcase |
4ef4c8e
to
644e892
Compare
Is there any chance that this will be merged some day? Is there a way to help to speed up the process? |
644e892
to
cee15cf
Compare
rebased. |
Followup from #341, exposes all of the new cli flags to the helm chart.