Support installation of different bundle formats in a single catalog.
|
"provisionerClassName": "core-rukpak-io-plain", |
Proposed implementation:
*Lookup bundle's format via bundle property olm.bundle.mediatype
*Use a switch statement when choosing the Bundle + BD provisioner class names
If olm.bundle.mediatype is not found/unset, default to registry+plain
If olm.bundle.mediatype is "plain+v0", use plain+plain
If olm.bundle.mediatype is "registry+v1", use registry+plain
if unknown mediatype, fail
Support installation of different bundle formats in a single catalog.
operator-controller/controllers/operator_controller.go
Line 257 in d6aa5e9
Proposed implementation:
*Lookup bundle's format via bundle property
olm.bundle.mediatype*Use a switch statement when choosing the Bundle + BD provisioner class names
If
olm.bundle.mediatypeis not found/unset, default to registry+plainIf
olm.bundle.mediatypeis "plain+v0", use plain+plainIf
olm.bundle.mediatypeis "registry+v1", use registry+plainif unknown mediatype, fail