Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import io.fabric8.kubernetes.api.model.HasMetadata;
import io.fabric8.kubernetes.client.KubernetesClient;
import io.javaoperatorsdk.operator.Operator;
import io.javaoperatorsdk.operator.api.monitoring.Metrics;
import io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResourceFactory;

Expand Down Expand Up @@ -121,6 +122,10 @@ public ConfigurationServiceOverrider withWorkflowExecutorService(
/**
* Replaces the default {@link KubernetesClient} instance by the specified one. This is the
* preferred mechanism to configure which client will be used to access the cluster.
* <p>
* Note that when {@link Operator#stop()} is called, by default the client is closed even if
* explicitly provided with this method. Use {@link #withCloseClientOnStop(boolean)} to change
* this behavior.
*
* @param client the fully configured client to use for cluster access
* @return this {@link ConfigurationServiceOverrider} for chained customization
Expand Down
Loading