-
Notifications
You must be signed in to change notification settings - Fork 545
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
Optional OLM supported resources #2375
Comments
@fgiloux I'm actually working on a couple of enhancement proposals right now around this. I gave a preview last week. I'd be interested in your feedback when I submit the PR. There will be two EP's:
In the link I provided above, you can see the preview of the first EP. |
@cdjohnson I had a look at: https://github.com/cdjohnson/opf-enhancements/blob/master/enhancements/olm-optional-dependency-declaration.md Here is some feedback on your EP:
|
@fgiloux Thanks for the feedback. I understand your use case as follows (based on the current state of the EP): Build installplan from bundle:
|
Related issue: |
@cdjohnson and all I have created a pull request for an enhancement proposal that addresses this feature request. I believe it would play well with the work being done on optional dependencies. |
Just a quick note: the enhancement Frederic linked had merged yesterday. |
Feature Request
Is your feature request related to a problem? Please describe.
Today when the API for the resource in the manifest directory does not exist in the cluster where the operator gets installed the InstallPlan fails.
ServiceMonitor and VerticalPodAutoscaler are among the supported resources. These resources allow the operator authors to provide more advanced features (observability, autoscaling). These features are however not part of the core functionalities of most operators. As such the operator author may want to leverage them but not enforce them so that the operator bundle can be installed on clusters where they are not available.
Describe the solution you'd like
This feature request proposes to have a knob for the operator author to mark some of the resources in the bundle manifest directory as optional. If the API is not available in the target cluster at installation time:
The text was updated successfully, but these errors were encountered: