java-operator-sdk
java-operator-sdk copied to clipboard
[Question] Should CRDs for custom resources be generated automatically?
Question in the title.
Thank you.
In general yes, but there is option also other way around in fabric8 if you prefer contract first approach.
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.