We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@ControllerConfiguration
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be elegant to define event sources using annotations (just as we define dependent resources).
Proposed design for annotation would look like this:
@ControllerConfiguration( eventSources = @EventSources(informers = @Informer(resourceType = ConfigMap.class, followNamespaceChanges = true),others = @EventSource(type = MyPollingEventSource.class))) public class SampleReconciler
where @Informer annotation would have most of the configurations, that could be defined by the config builder: see: https://github.com/java-operator-sdk/java-operator-sdk/blob/6fd141fe1c3922fed11995814a222bcce446b015/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Informer.java
@Informer
Notes:
The text was updated successfully, but these errors were encountered:
We agreed that this won't be supported for now.
Sorry, something went wrong.
csviri
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
It would be elegant to define event sources using annotations (just as we define dependent resources).
Proposed design for annotation would look like this:
where
@Informer
annotation would have most of the configurations, that could be defined by the config builder:see: https://github.com/java-operator-sdk/java-operator-sdk/blob/6fd141fe1c3922fed11995814a222bcce446b015/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/reconciler/Informer.java
Notes:
The text was updated successfully, but these errors were encountered: