You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Main operator supports OwnNamespace, SingleNamespace, and AllNamespaces installMode.
It uses the spec.customresourcedefinitions.required section of the CSV file to define dependencies on other operators and not all of them support the AllNamespaces installMode.
When the operator is installed in AllNamespaces installMode, OLM tries to install the dependencies using the same installMode and the ones that don't support that installMode fail to install.
Describe the solution you'd like
I think OLM could provide additional features to cater for the described scenario. OLM could check the supported installModes of each dependency and pick a different one when the installMode selected for the main operator isn't supported by the dependency. Another option would be adding a new 'installMode' property in the dependencies definition. Note that OwnNamespace and SingleNamespace installModes would require the creation of a namespace. That's a feature already requested in issue #1777.
Result of problem described above
The text was updated successfully, but these errors were encountered:
abkieling
changed the title
Add support for the installation of dependencies using different installModes
Add support for the installing dependencies using different installModes
Oct 1, 2020
abkieling
changed the title
Add support for the installing dependencies using different installModes
Add support for installing dependencies using different installModes
Oct 1, 2020
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
OLM is planning to move towards cluster singleton operators, some notes on this topic can be found here. If you are interested in engaging in this conversation please attend the upstream OLM Development Working Group meetings.
Feature Request
Is your feature request related to a problem? Please describe.
Main operator supports OwnNamespace, SingleNamespace, and AllNamespaces installMode.
It uses the spec.customresourcedefinitions.required section of the CSV file to define dependencies on other operators and not all of them support the AllNamespaces installMode.
When the operator is installed in AllNamespaces installMode, OLM tries to install the dependencies using the same installMode and the ones that don't support that installMode fail to install.
Describe the solution you'd like
I think OLM could provide additional features to cater for the described scenario. OLM could check the supported installModes of each dependency and pick a different one when the installMode selected for the main operator isn't supported by the dependency. Another option would be adding a new 'installMode' property in the dependencies definition. Note that OwnNamespace and SingleNamespace installModes would require the creation of a namespace. That's a feature already requested in issue #1777.
Result of problem described above

The text was updated successfully, but these errors were encountered: