-
Notifications
You must be signed in to change notification settings - Fork 39
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
Don't call helm Get to pick up the latest version when there is only … #386
Conversation
/hold |
@mikeshng It turns out the helm Get fails to figure the latest version for the I feel the PR may be a easy fix for covering most cases - When specifying the version pattern |
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.
/approve
/lgtm
/unhold
Thanks for the fix @xiangjingli I agree this fix is safe because it relaxes the restriction which fits in our maint mode only policy.
01133fd
to
2c94042
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #386 +/- ##
==========================================
+ Coverage 55.21% 55.71% +0.50%
==========================================
Files 71 71
Lines 15317 15320 +3
==========================================
+ Hits 8457 8536 +79
+ Misses 6011 5932 -79
- Partials 849 852 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2c94042
to
ef79a0a
Compare
@mikeshng I realized there is a code defect in the previous fix due to my misunderstanding of the indexfile.entries
Each map index is a chart name, and it could include multiple versions. So checking if there is only one version for the chart should be in each chart by looping the indexFile.Entries |
…one version for the given chart Signed-off-by: Xiangjing Li <xiangli@redhat.com> Signed-off-by: Mike Ng <ming@redhat.com>
ef79a0a
to
36293ca
Compare
/approve /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mikeshng, xiangjingli The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…one version for the given chart
https://issues.redhat.com/browse/ACM-7031?focusedId=24072452&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-24072452