java-operator-sdk icon indicating copy to clipboard operation
java-operator-sdk copied to clipboard

[Question] Should CRDs for custom resources be generated automatically?

Open michaelkoepf opened this issue 4 months ago • 2 comments

Question in the title.

Thank you.

michaelkoepf avatar Aug 27 '25 12:08 michaelkoepf

In general yes, but there is option also other way around in fabric8 if you prefer contract first approach.

csviri avatar Aug 27 '25 12:08 csviri

If you use the Quarkus extension, then the CRDs are automatically generated for you whenever you change any class that impacts the CRD. If you use the Quarkus Dev mode, this happens while you're coding and the changed CRD will be automatically applied to your cluster so that you can live code your operator without having to stop to regenerated the CRD and apply it to the cluster.

metacosm avatar Aug 27 '25 12:08 metacosm