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

Make the ControllerConfiguration annotation optional

Open metacosm opened this issue 1 year ago • 1 comments

With workflows being moved to their own annotation, it might often happen that the ControllerConfiguration ends up being empty. It would be nice if it could be made optional.

Originally posted by @csviri in https://github.com/operator-framework/java-operator-sdk/issues/2274#issuecomment-1989056835

metacosm avatar Mar 11 '24 17:03 metacosm

Note that, if I recall properly, we already looked at making it optional at some point but ran into some issues (though I don't remember which ones). Note also that the annotation is already optional when you use the Quarkus extension because the processing is based on whether or not a class implements the Reconciler interface there.

metacosm avatar Mar 11 '24 17:03 metacosm