CLI: Ability to generate XR/XRD CRDs locally
What problem are you facing?
I initially raised an issue for the closed source up cli, but I think the crossplane cli itself is a better candidate for this feature request, so I'm taking the liberty of raising it here:
While crossplane tooling itself never needs the XR/XRC CRDs on-disk, plenty of tools in the wider k8s ecosystem need to parse those CRDs for some sort of generation (bindings, documentation, web ui forms...), and don't accept XRDs.
Currently, the only way to get those CRDs is to actually feed the XRD to a running cluster and query them back.
How could Crossplane help solve your problem?
A command like crossplane crds generate <definition.yaml> could write out the two CRDs on-disk from an single yaml/whole folder input, facilitating the process of then feeding those CRDs to something else e.g during CI.
Cheers!
Crossplane does not currently have enough maintainers to address every issue and pull request. This issue has been automatically marked as stale because it has had no activity in the last 90 days. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.
/fresh
There seems to be interest in this issue and perhaps it's something that #sig-cli would want to tackle in the coming months - I'll re-open 😉
I guess this should be covered by https://github.com/crossplane/crossplane/issues/6840