Interface RunTimeControllerConfiguration
public interface RunTimeControllerConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe optional name of the finalizer for the controller.An optionalDurationto specify the maximum time that is allowed to elapse before a reconciliation will happen regardless of the presence of events.An optional list of comma-separated namespace names the controller should watch.retry()Configures the controller'sGradualRetrypolicy.selector()An optional list of comma-separated label selectors that Custom Resources must match to trigger the controller.
-
Method Details
-
namespaces
An optional list of comma-separated namespace names the controller should watch. If this property is left empty then the controller will watch all namespaces. The value can be set to "JOSDK_WATCH_CURRENT" to watch the current (default) namespace from kube config. Constant(s) can be found in atConstants". -
finalizer
The optional name of the finalizer for the controller. If none is provided, one will be automatically generated. -
retry
Configures the controller'sGradualRetrypolicy. This will only take effect ifControllerConfiguration.retry()is set to use theGenericRetryimplementation (which is what is used by default if not otherwise configured) -
selector
An optional list of comma-separated label selectors that Custom Resources must match to trigger the controller. See ... for more details on selectors. -
maxReconciliationInterval
An optionalDurationto specify the maximum time that is allowed to elapse before a reconciliation will happen regardless of the presence of events. SeeMaxReconciliationInterval.interval()for more details. Value is specified according to the rules defined atDuration.parse(CharSequence).
-