Closed
Description
Currently MCAD CRDs are included by references:
This used to work as they were dereferenced during the build of the OLM bundle.
Now that the CFO is managed by the ODH operator v2 using plain Kustomize manifests, they must be dereferenced beforehand, also because it'll be required for disconnected environments.
That can be added as extra commands run in the manifests
target for example:
$(SED) -i -E "s|(- )\${MCAD_REPO}.*|\1\${MCAD_CRD}|" config/crd/mcad/kustomization.yaml
$(KUSTOMIZE) build config/crd/mcad > config/crd/mcad.yaml
And remove the inclusion of the mcad
directory from the config/crd/kustomization.yaml
file.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done