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 repo field to helm release #5410
Add repo field to helm release #5410
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5410 +/- ##
==========================================
+ Coverage 71.34% 71.38% +0.03%
==========================================
Files 399 399
Lines 14508 14512 +4
==========================================
+ Hits 10351 10359 +8
+ Misses 3385 3383 -2
+ Partials 772 770 -2
Continue to review full report at Codecov.
|
Any comments? Would love to get this merged. |
Hey @bobby-richard, thanks for opening this, and sorry for taking a bit to respond. I'll be discussing this with the team shortly, I'll try to keep this updated with what we talk about. Do you think that we should simply remove the remote flag with this change? Since the repo field essentially tells us that it's remote and gives a bit more info? |
Thanks @marlon-gamez. I thought about removing the remote property, but wasn't sure how to handle a breaking change to the schema. Also, if you remove the remote property, you lose the ability to specify the chartPath using the repo alias (though I'm not sure why you'd want to do that, if the repo field was available). I'm happy to take a stab at removing the remote field if you think that's the way to go. |
Thanks @bobby-richard & @marlon-gamez for bring the I looked more into the code to understand what the implication would be if we remove This change looks good to me and i will merge it when kokoro passes. |
@tejal29 it looks like kokoro passed |
Hey @bobby-richard, sorry for the wait, we wanted to see if the author of #5193 had any ideas before we merge this. Thank you for the contribution! :) |
Fixes: #1665
Description
Currently, to use a a remote helm chart with skaffold, you must manually add the repository to your local helm config using
helm repo add
. In order to keep skaffold self contained, a repo field has been added to helm releases. If this field is set, the --repo argument will be passed to helm commands, allowing you to deploy remote helm charts without any additional helm configuration.