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 Type
    Method
    Description
    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 provided ControllerConfigurationOverrider and then replacing the existing configuration in the ConfigurationService for 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 provided ControllerConfigurationOverrider and then replacing the existing configuration in the ConfigurationService for this reconciler. Note that this method will not be applied if there is no configuration (as determined by ConfigurationService.getConfigurationFor(Reconciler) for the reconciler.
      Parameters:
      configOverrider - provides the modifications to apply to the existing reconciler's configuration
      Returns:
      the updated ControllerConfiguration to use to register the associated Reconciler