Closed ChrisSchneiderIBM closed 2 months ago
We can provide an option to customise the catalog names when using our code to set up the red hat catalogs, but generally speeaking if there's already a certified-operator-index catalog source there shouldn't be a need to set up one with our roles.
@durera: Thank you for your response!
While there is already a certified-operator-index catalog source, it does not mirror the full catalog to reduce size. Re-using the catalog from the MAS Ansible Role would allow us to rely on the MAS Ansible role to specify dependencies & versioning
@ChrisSchneiderIBM had a internal chat with David, here is how you can solve this.
In this case you don’t need to use mirror ocp. We can’t just name them something different, it’s still clashes. There are 2 options:
We would recommend MAS CLI to manage the OCP and MAS catalogs
Thank you for your response @lokesh-sreedhara. Is there a way in MAS CLI to add my own operators, like OpenShift Update Service, RHACM, Logging etc?
Managing the RH catalogs required by Maximo myself comes with the challenge that I've to manually keep them in sync with MAS CLI.
For now I worked around the issue by giving my separately mirrored catalog a different name:
ocp_mirror_operators:
- catalog: registry.redhat.io/redhat/redhat-operator-index:v{{ ocp_version }}
targetCatalog: redhat2/redhat-operator-index
packages:
...
Action here should be:
redhat_catalogs_prefix
Should be straightforward change to make and test by just running the role in isolation and checking the catalogsources, doesn't matter if the catalog sources are pointing at something that even exists for the purpose of this test.
I installed OpenShift using oc-mirror and also mirrored the LVM-Operator. Therefore I already created a
redhat/certified-operator-index
image.When I installed Maximo, the container images used for the mirror_ocp catalogs overwrite the "original" container image.
Therefore it would be great if the container images behind the catalogs created by mirror_ocp would be prefixed with ibm, e.g. instead of an image named
redhat/certified-operator-index
create an image prefixed withibm-mas