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 support for Helm --wait-for-jobs flag #271

Merged
merged 1 commit into from
Jun 1, 2021
Merged

Add support for Helm --wait-for-jobs flag #271

merged 1 commit into from
Jun 1, 2021

Conversation

kewats
Copy link
Contributor

@kewats kewats commented Jun 1, 2021

Adding support for setting wait-for-jobs in HelmRelease.

helm/helm#5948

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 your pull request 🌻

Think it would be better to enable this by default (as we do with --wait), and make the flag an "inverse", so e.g. DisableWaitForJobs. This ensures people get the best automated experience by default.

@kewats
Copy link
Contributor Author

kewats commented Jun 1, 2021

Sure, I will make the change. I agree that gives a better experience by default.

@hiddeco
Copy link
Member

hiddeco commented Jun 1, 2021

When you are done with the changes, please smash your commits into one as the change is quite small. Thank you ☕

@kewats
Copy link
Contributor Author

kewats commented Jun 1, 2021

Hi @hiddeco, I have inverted the flag and squashed my commits. Please review, thanks!

Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>

Added support for helm waitForJobs

Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>

Minor fixes

Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>

Changed WaitForJobs to DisableWaitForJobs

Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>

Minor fixes

Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>

Changed WaitForJobs to DisableWaitForJobs

Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>

Removed unnecessary update to v2alpha1

Signed-off-by: Santosh Kewat <santoshkewat.bitmesra@gmail.com>
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.

LGTM, thanks a lot @kewats 🥇 💯

I think your PR needs a tiny rebase with main so that I am able to merge it without any conflicts.

@hiddeco hiddeco added area/helm Helm related issues and pull requests enhancement New feature or request labels Jun 1, 2021
@hiddeco hiddeco changed the title Adding support for helm wait-for-jobs Add support for Helm --wait-for-jobs flag Jun 1, 2021
@hiddeco hiddeco merged commit e25d689 into fluxcd:main Jun 1, 2021
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 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants