Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for installing dependencies using different installModes #1790

Closed
abkieling opened this issue Oct 1, 2020 · 2 comments
Closed
Labels
triage/unresolved Indicates an issue that can not or will not be resolved.

Comments

@abkieling
Copy link

abkieling commented Oct 1, 2020

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
console-openshift-console apps-crc testing_k8s_ns_openshift-operators_operators coreos com_v1alpha1_ClusterServiceVersion

@abkieling 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 abkieling changed the title Add support for the installing dependencies using different installModes Add support for installing dependencies using different installModes Oct 1, 2020
@stale
Copy link

stale bot commented Nov 30, 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.

@stale stale bot added the wontfix label Nov 30, 2020
@openshift-ci-robot openshift-ci-robot added triage/unresolved Indicates an issue that can not or will not be resolved. and removed wontfix labels Dec 1, 2020
@awgreene
Copy link
Member

awgreene commented Feb 5, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/unresolved Indicates an issue that can not or will not be resolved.
Projects
None yet
Development

No branches or pull requests

3 participants