Helm flags for Global, Install and Upgrade helm commands#1673
Merged
priyawadhwa merged 8 commits intoGoogleContainerTools:masterfrom Feb 26, 2019
Merged
Helm flags for Global, Install and Upgrade helm commands#1673priyawadhwa merged 8 commits intoGoogleContainerTools:masterfrom
priyawadhwa merged 8 commits intoGoogleContainerTools:masterfrom
Conversation
This was referenced Feb 19, 2019
priyawadhwa
reviewed
Feb 19, 2019
Contributor
priyawadhwa
left a comment
There was a problem hiding this comment.
Thanks for your contribution! Left some comments.
Codecov Report
@@ Coverage Diff @@
## master #1673 +/- ##
==========================================
+ Coverage 46.52% 46.55% +0.02%
==========================================
Files 125 125
Lines 5661 5664 +3
==========================================
+ Hits 2634 2637 +3
Misses 2754 2754
Partials 273 273
Continue to review full report at Codecov.
|
Author
|
This is now ready to go. Thanks for the comments @priyawadhwa |
Author
|
Is this ok to go? |
Contributor
|
@tjerkw I think you just need to rebase, and then I can merge this! |
Contributor
|
Looks like travis failed -- If you run that command and commit I think that should fix it! |
Author
|
Done. Forgot about it. |
priyawadhwa
approved these changes
Feb 26, 2019
Contributor
priyawadhwa
left a comment
There was a problem hiding this comment.
LGTM, thanks so much for your contribution!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This solves the following outstanding pull requests (they can all be closed):
#1284 #1506 #1507 #1445 #1499
It allows configuring flags to helm, for
The code is similar to the code in kustomize, and kubectl. They all have the option to add flags to the deploy commands.
This also makes skaffold easier to use if helm comes with new flags, it will "just work". Since the flags are free text. Just add them, and run 👍
Btw: The flags are set on the top level "HelmDeploy" struct. Not in the "HelmRelease" section in the yaml file.
This is because a "Global" flags list doesn't make sense per release. Then its not global anymore.
Custom flags to "helm install/upgrade" do make sense per release. But most of the time you probably want to keep them similar. Thats why i didn't set the flag on the HelmRelease struct.
Also: The flags clash a bit with the "Wait" and "RecreatePods" and "Namespace" fields in HelmRelease. However if you use both helm would complain and not run. So we're fine there.