Problem:
The pipeline operator (marked dependency for mtRHO) has a need to be installed in "openshift-operators". OLM installs all the dependencies in the same namespace as the main operator (i.e mtRHO-operator). For our purposes, mtRHO will be available in the "openshift-migration" namespace, and hence by nature OLM will also install pipeline operator in the "openshift-migration" namespace, however, the pipeline operator needs to be installed in the "openshift-operators" namespace.
One of the following is desired to solve the above problem:
- OLM API should install operators marked in dependencies in the respective desired namespace. In this case, by installing mtRHO (with dep on pipeline operator) via OLM should install pipeline operator in "openshift-operators" namespace and mtRHO operator in "openshift-migration" namespace. Since many operators have this need of being installed in a specific namespace, this is something that should be desired for others as well.
- The pipeline operator needs to be able to function without the need of getting installed in a specific namespace. They have a Jira, and a github issue filed for the same, so they might in the future make pipeline operator namespace independent.
- Remove the pipeline operator from dependency and ask users to install the pipeline operator before and then install mtRHO operator.