Skip to content

Commit 62f6b91

Browse files
committed
docs
Signed-off-by: Attila Mészáros <[email protected]>
1 parent 128328a commit 62f6b91

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java

+8
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import io.javaoperatorsdk.operator.api.monitoring.Metrics;
2222
import io.javaoperatorsdk.operator.api.reconciler.Reconciler;
2323
import io.javaoperatorsdk.operator.api.reconciler.dependent.DependentResourceFactory;
24+
import io.javaoperatorsdk.operator.processing.dependent.kubernetes.KubernetesDependent;
2425
import io.javaoperatorsdk.operator.processing.dependent.workflow.ManagedWorkflowFactory;
2526

2627
import static io.javaoperatorsdk.operator.api.config.ExecutorServiceManager.newThreadPoolExecutor;
@@ -347,6 +348,13 @@ default boolean ssaBasedCreateUpdateMatchForDependentResources() {
347348
return true;
348349
}
349350

351+
/**
352+
* There are certain resources where the intention is not use SSA in Kubernetes. Typical are
353+
* ConfigMaps or Secrets. For these resources, if {@link KubernetesDependent#useSSA()} is not
354+
* explicitly overriden for a dependent resource instance SSA will not be used, event if in
355+
* general SSA is used for Dependent Resources, see
356+
* {@link #ssaBasedCreateUpdateMatchForDependentResources()}.
357+
*/
350358
default Set<Class<? extends HasMetadata>> defaultNonSSAResource() {
351359
return Set.of(ConfigMap.class, Secret.class);
352360
}

0 commit comments

Comments
 (0)