-
Notifications
You must be signed in to change notification settings - Fork 68
✨ feat: dump csv annotations into chart metadata #1095
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
✨ feat: dump csv annotations into chart metadata #1095
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1095 +/- ##
==========================================
+ Coverage 75.28% 77.58% +2.29%
==========================================
Files 35 36 +1
Lines 1914 1981 +67
==========================================
+ Hits 1441 1537 +96
+ Misses 330 309 -21
+ Partials 143 135 -8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
| } | ||
|
|
||
| chrt := &chart.Chart{Metadata: &chart.Metadata{}} | ||
| chrt.Metadata.Annotations = reg.CSV.GetAnnotations() |
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.
I've already approved, but didn't think about this until after - are there any tests that can/should be updated to verify that this is working as expected?
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.
Yeah, we should:
- Make sure our test CSV has some annotations
- Make sure (via test assertions) that those annotations make it into chart metadata annotations.
80692b6 to
d7858c3
Compare
Description
This is needed for the cluster olm operator to find the ocp max version
Reviewer Checklist