Class RunTimeOperatorConfiguration
- java.lang.Object
-
- io.quarkiverse.operatorsdk.runtime.RunTimeOperatorConfiguration
-
@ConfigRoot(name="operator-sdk", phase=RUN_TIME) public class RunTimeOperatorConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description Optional<Integer>concurrentReconciliationThreadsThe max number of concurrent dispatches of reconciliation requests to controllers.Map<String,RunTimeControllerConfiguration>controllersMaps a controller name to its configuration.Optional<String>finalizerThe optional name of the finalizer to use for controllers.Optional<List<String>>namespacesAn optional list of comma-separated namespace names all controllers will watch if not specified.Optional<Integer>terminationTimeoutSecondsAmount of seconds the SDK waits for reconciliation threads to terminate before shutting down.
-
Constructor Summary
Constructors Constructor Description RunTimeOperatorConfiguration()
-
-
-
Field Detail
-
controllers
@ConfigItem public Map<String,RunTimeControllerConfiguration> controllers
Maps a controller name to its configuration.
-
concurrentReconciliationThreads
@ConfigItem public Optional<Integer> concurrentReconciliationThreads
The max number of concurrent dispatches of reconciliation requests to controllers.
-
terminationTimeoutSeconds
@ConfigItem public Optional<Integer> terminationTimeoutSeconds
Amount of seconds the SDK waits for reconciliation threads to terminate before shutting down.
-
namespaces
@ConfigItem public Optional<List<String>> namespaces
An optional list of comma-separated namespace names all controllers will watch if not specified. If this property is left empty then controllers will watch all namespaces by default. Sets the default value for all controllers.
-
finalizer
@ConfigItem public Optional<String> finalizer
The optional name of the finalizer to use for controllers. If none is provided, one will be automatically generated. It should be noted that having several controllers use the same finalizer might create issues and this configuration item is mostly useful when we don't want to use finalizers at all by default (using theConstants.NO_FINALIZERvalue). Sets the default value for all controllers.
-
-