Search in sources :

Example 1 with Reconciler

use of io.javaoperatorsdk.operator.api.reconciler.Reconciler in project keycloak by keycloak.

the class ClusterOperatorTest method registerReconcilers.

private static void registerReconcilers() {
    Log.info("Registering reconcilers for operator : " + operator + " [" + operatorDeployment + "]");
    for (Reconciler reconciler : reconcilers) {
        final var config = configuration.getConfigurationFor(reconciler);
        if (!config.isRegistrationDelayed()) {
            Log.info("Register and apply : " + reconciler.getClass().getName());
            OperatorProducer.applyCRDIfNeededAndRegister(operator, reconciler, configuration);
        }
    }
}
Also used : Reconciler(io.javaoperatorsdk.operator.api.reconciler.Reconciler)

Aggregations

Reconciler (io.javaoperatorsdk.operator.api.reconciler.Reconciler)1