WIP: ✨ Add support for registry+v1 bundles that include webhooks#1506
WIP: ✨ Add support for registry+v1 bundles that include webhooks#1506joelanford wants to merge 2 commits intooperator-framework:mainfrom
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1506 +/- ##
==========================================
- Coverage 74.68% 73.54% -1.15%
==========================================
Files 42 46 +4
Lines 3271 3931 +660
==========================================
+ Hits 2443 2891 +448
- Misses 652 811 +159
- Partials 176 229 +53
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
426d2a2 to
a966abd
Compare
|
So under |
bfac949 to
f91d692
Compare
|
@bentito I intend on completely removing the cloudnative-pg stuff before we merge. That is just there as an example of the transformation that the bundle to a chart, as performed by that command. I would probably also remove that entire |
b5f77d1 to
d0c6d90
Compare
07720cf to
b9f4233
Compare
Signed-off-by: Joe Lanford <joe.lanford@gmail.com>
b9f4233 to
e2bfeef
Compare
|
PR needs rebase. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
I've mentioned this proof of concept PR in all of the relevant issues I could find. Closing since the proof of concept was successful and we can revisit implementation when we find time for those issues. |
Description
This PR adds support for bundles that define webhooks via:
RegistryV1WebhookSupportthat is disabled by default--registry-v1-cert-providerflag for the manager binary (only present when the feature gate is enabled) that allows someone installing OLMv1 to specify a certificate provider to use for registry+v1 webhooks.The PR also has a small demo program (
cmd/registryv1-to-helm) and some example input/output (using cloudnative-pg) that is a light wrapper around theinternal/rukpak/convertlibrary. I intend to remove all of this before the PR merges.Reviewer Checklist