-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
decouple helm
deployer chartPath
into chartPath
and remoteChart
#5482
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5482 +/- ##
==========================================
+ Coverage 71.42% 71.64% +0.21%
==========================================
Files 398 399 +1
Lines 14654 14749 +95
==========================================
+ Hits 10467 10567 +100
+ Misses 3409 3404 -5
Partials 778 778
Continue to review full report at Codecov.
|
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.
just a nit
I think that approach won't work because the |
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.
remoteChartPath
isn't actually a path. Could we try the following:
- keep
chartPath
for local charts remoteChartPath
→chartRef
orremoteChart
?
helm
deployer chartPath
into localChartPath
and remoteChartPath
helm
deployer chartPath
into chartPath
and remoteChart
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.
LGTM. Do we have anything in examples/
that uses remote helm charts? If not I think that would be a good follow up for this
Good idea. Added #5517 |
Hello @gsquared94 , It looks like when we I try and use the remoteChart variable, it does not work. I verified I am using the Skaffold version 1.21.0
Error I am receiving: |
@zestrells try |
Oh and more specifically, that error often indicates that you need to update the version of your skaffold.yaml |
Fixes: #5459
Description
Currently the
helm
deployer'schartPath
property can be used to specify the path to a local Helm chart (packaged or unpacked) or a Helm chart reference (likestable/nginx
) or even a URL (likehttps://example.com/charts/nginx-1.2.3.tgz
). It uses the additionalremote
property to hint skaffold about this.This PR replaces
chartPath
andremote
properties with explicitchartPath
andremoteChart
properties.User facing changes (remove if N/A)
Before
After