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 Type
    Method
    Description
    void
    updateConfigurationFrom(io.javaoperatorsdk.operator.api.config.ControllerConfigurationOverrider<P> configOverrider)
    Updates the reconciler's configuration by applying the modifications specified by the provided ControllerConfigurationOverrider.

    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 provided ControllerConfigurationOverrider. Note that the resulting configuration update won't be recorded by the ConfigurationService as this currently is a JOSDK limitation. To access the up-to-date configuration, you need to retrieve it from the associated RegisteredController from RuntimeInfo.
      Parameters:
      configOverrider - provides the modifications to apply to the existing reconciler's configuration