Skip to content

Conversation

@fmuyassarov
Copy link
Collaborator

According to the best practices of OLM, operators should not contain permissions to create CRD. It's the Operator Lifecycle Manager's job to manage the deployment and lifecycle of operators and CRDs.

@fmuyassarov
Copy link
Collaborator Author

This is required for the OLM part. If we allow creating CRDs, then validation of the operator will fail for the OLM workflow. As such, I'm removing the permission of creating the CRD and will leave it to the OLM during the packaging process (next PR).

@fmuyassarov
Copy link
Collaborator Author

fmuyassarov commented Dec 13, 2023

Adding the NRT CRD under crd/bases/ dir is required for the OLM to know what CRDs are owned by this operator.

According to the best practices of OLM, operators should not contain
permissions to create CRD. It's the Operator Lifecycle Manager's
job to manage the deployment and lifecycle of operators and CRDs.

Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant