operator-lifecycle-manager icon indicating copy to clipboard operation
operator-lifecycle-manager copied to clipboard

Support ResourceQuota in bundles

Open souleb opened this issue 2 years ago • 3 comments

Feature Request

Is your feature request related to a problem? Please describe. We use olm to provide our operator (through operatorhub). We currently cannot add our ResourceQuota manifests to the bundle.

Describe the solution you'd like We would like ResourceQuota to be added to the list of supported resources.

souleb avatar Jul 18 '23 08:07 souleb

@souleb can you expand on the use case for adding a ResourceQuota to a bundle?

dmesser avatar Jul 18 '23 09:07 dmesser

Our operator uses a priorityClass system-cluster-critical because it is generally one of the first component to be installed, and is needed in order to have a k8s cluster ready. Some cloud providers require a ResourceQuota declaration in order to allow deployments to use this priorityClass. So installing our operator from an olm bundle wouldn't work on those cloud providers.

souleb avatar Jul 18 '23 09:07 souleb

@souleb That's an interesting use case. I think so the operator bundle design assumes that operators are optional components that do not require a special priority or is part of the cluster lifecycle. Adding support for this object type is probably not too difficult, but it's always interesting to hear about the actual use cases.

dmesser avatar Jul 18 '23 12:07 dmesser