Interface ConfigurableReconciler<P extends io.fabric8.kubernetes.api.model.HasMetadata>
- Type Parameters:
P- the primary resource type of the reconciler
- All Superinterfaces:
io.javaoperatorsdk.operator.api.reconciler.Reconciler<P>
public interface ConfigurableReconciler<P extends io.fabric8.kubernetes.api.model.HasMetadata>
extends io.javaoperatorsdk.operator.api.reconciler.Reconciler<P>
Implement to change a
Reconciler's
configuration at runtime- Since:
- 7.2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidupdateConfigurationFrom(io.javaoperatorsdk.operator.api.config.ControllerConfigurationOverrider<P> configOverrider) Updates the reconciler's configuration by applying the modifications specified by the providedControllerConfigurationOverrider.Methods inherited from interface io.javaoperatorsdk.operator.api.reconciler.Reconciler
prepareEventSources, reconcile, updateErrorStatus
-
Method Details
-
updateConfigurationFrom
void updateConfigurationFrom(io.javaoperatorsdk.operator.api.config.ControllerConfigurationOverrider<P> configOverrider) Updates the reconciler's configuration by applying the modifications specified by the providedControllerConfigurationOverrider. Note that the resulting configuration update won't be recorded by theConfigurationServiceas this currently is a JOSDK limitation. To access the up-to-date configuration, you need to retrieve it from the associatedRegisteredControllerfromRuntimeInfo.- Parameters:
configOverrider- provides the modifications to apply to the existing reconciler's configuration
-