Interface ConfigurableReconciler<P extends io.fabric8.kubernetes.api.model.HasMetadata>
- Type Parameters:
P- the primary resource type of the reconciler
public interface ConfigurableReconciler<P extends io.fabric8.kubernetes.api.model.HasMetadata>
Implement to change a
Reconciler's
configuration at runtime- Since:
- 7.1.3
-
Method Summary
Modifier and TypeMethodDescriptionio.javaoperatorsdk.operator.api.config.ControllerConfiguration<P>updateConfigurationFrom(io.javaoperatorsdk.operator.api.config.ControllerConfigurationOverrider<P> configOverrider) Updates the reconciler's configuration by applying the modifications specified by the providedControllerConfigurationOverriderand then replacing the existing configuration in theConfigurationServicefor this reconciler.
-
Method Details
-
updateConfigurationFrom
io.javaoperatorsdk.operator.api.config.ControllerConfiguration<P> updateConfigurationFrom(io.javaoperatorsdk.operator.api.config.ControllerConfigurationOverrider<P> configOverrider) Updates the reconciler's configuration by applying the modifications specified by the providedControllerConfigurationOverriderand then replacing the existing configuration in theConfigurationServicefor this reconciler. Note that this method will not be applied if there is no configuration (as determined byConfigurationService.getConfigurationFor(Reconciler)for the reconciler.- Parameters:
configOverrider- provides the modifications to apply to the existing reconciler's configuration- Returns:
- the updated
ControllerConfigurationto use to register the associatedReconciler
-