operator-framework / operator-controller

A new and improved management framework for extending Kubernetes with Operators
https://operator-framework.github.io/operator-controller/
Apache License 2.0
61 stars 53 forks source link

✨ Apply OperatorHub.io ClusterCatalog during installation #1060

Closed trgeiger closed 2 months ago

trgeiger commented 2 months ago

This matches the default configuration in OLMv0 by including OperatorHub

Description

This change simply adds the OperatorHub ClusterCatalog to the installation script. On a fresh installation, users will now have the same default operator listings as in OLMv0.

Right now I just have the script applying the sample YAML from this repository. If we wanted to match the way we install actual releases of Cert Manager and Catalogd, then I could make a PR in Catalogd to add the OperatorHub catalog yaml to the release artifacts and cut a release of Catalogd for those to be included.

Related issue: #1026

I'll follow up this PR with documentation changes as suggested in 1026

Reviewer Checklist

netlify[bot] commented 2 months ago

Deploy Preview for olmv1 ready!

Name Link
Latest commit 494291d0da670a07c52c7a307ec2b153853e97a3
Latest deploy log https://app.netlify.com/sites/olmv1/deploys/6697e27f46c4720008de77e8
Deploy Preview https://deploy-preview-1060--olmv1.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 73.91%. Comparing base (ca4f4e3) to head (494291d).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1060 +/- ## ======================================= Coverage 73.91% 73.91% ======================================= Files 31 31 Lines 2028 2028 ======================================= Hits 1499 1499 Misses 387 387 Partials 142 142 ``` | [Flag](https://app.codecov.io/gh/operator-framework/operator-controller/pull/1060/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=operator-framework) | Coverage Ξ” | | |---|---|---| | [e2e](https://app.codecov.io/gh/operator-framework/operator-controller/pull/1060/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=operator-framework) | `54.12% <ΓΈ> (ΓΈ)` | | | [unit](https://app.codecov.io/gh/operator-framework/operator-controller/pull/1060/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=operator-framework) | `49.11% <ΓΈ> (ΓΈ)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=operator-framework#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.