File tree 1 file changed +8
-0
lines changed
operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 21
21
import io .javaoperatorsdk .operator .api .monitoring .Metrics ;
22
22
import io .javaoperatorsdk .operator .api .reconciler .Reconciler ;
23
23
import io .javaoperatorsdk .operator .api .reconciler .dependent .DependentResourceFactory ;
24
+ import io .javaoperatorsdk .operator .processing .dependent .kubernetes .KubernetesDependent ;
24
25
import io .javaoperatorsdk .operator .processing .dependent .workflow .ManagedWorkflowFactory ;
25
26
26
27
import static io .javaoperatorsdk .operator .api .config .ExecutorServiceManager .newThreadPoolExecutor ;
@@ -347,6 +348,13 @@ default boolean ssaBasedCreateUpdateMatchForDependentResources() {
347
348
return true ;
348
349
}
349
350
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
+ */
350
358
default Set <Class <? extends HasMetadata >> defaultNonSSAResource () {
351
359
return Set .of (ConfigMap .class , Secret .class );
352
360
}
You can’t perform that action at this time.
0 commit comments