-
Notifications
You must be signed in to change notification settings - Fork 66
✨ OPRUN-4090: (rukpak) Add config support for reg+v1 bundle to chart converter #2166
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
✨ OPRUN-4090: (rukpak) Add config support for reg+v1 bundle to chart converter #2166
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
3577b5b
to
cb7ab21
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2166 +/- ##
==========================================
+ Coverage 72.71% 72.73% +0.02%
==========================================
Files 79 79
Lines 7378 7384 +6
==========================================
+ Hits 5365 5371 +6
Misses 1666 1666
Partials 347 347
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f26e1fa
to
7b919f4
Compare
3f1ce78
to
119d1d1
Compare
Carrying over a comment from slack to help other reviewers:
|
c17dec4
to
83f1974
Compare
94c7776
to
2f22efa
Compare
2f22efa
to
b790af4
Compare
26172fe
to
4a3a665
Compare
fn: func(bundle source.BundleSource, installNamespace string, watchNamespace string) (*chart.Chart, error) { | ||
require.Equal(t, expectedWatchNamespace, watchNamespace) | ||
fn: func(bundle source.BundleSource, installNamespace string, config map[string]interface{}) (*chart.Chart, error) { | ||
require.Equal(t, expectedWatchNamespace, config["watchNamespace"]) |
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.
nit: maybe use bundle.BundleConfigWatchNamespaceKey? or split out to a const in the test package?
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 called in the bundle package since that's what we're doing in the non-test portion too.
Put watch namespace in config.
4a3a665
to
9d8f73a
Compare
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.
Awesome! Sorry for the churn, and thanks for this!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: perdasilva 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 |
c56a811
into
operator-framework:main
With operator-framework#2166 and operator-framework#2163 in place, annotation based config support can be removed. Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
With operator-framework#2166 and operator-framework#2163 in place, annotation based config support can be removed. Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
With operator-framework#2166 and operator-framework#2163 in place, annotation based config support can be removed. Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
* OPRUN-4106: remove support for annotation based config With #2166 and #2163 in place, annotation based config support can be removed. Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com> * update docs and demo to use new config spec --------- Signed-off-by: Anik Bhattacharjee <anbhatta@redhat.com>
Description
Put watchNamespace in config.
Work for RFC: Config -> registry+v1 bundle config
Reviewer Checklist