Skip to content

Commit 2bda875

Browse files
committed
documentation
Signed-off-by: Attila Mészáros <[email protected]>
1 parent ba5e335 commit 2bda875

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: docsy/content/en/docs/workflows/_index.md

+5
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ reconciliation process.
4141
condition holds or not. This is a very useful feature when your operator needs to handle different flavors of the
4242
platform (e.g. OpenShift vs plain Kubernetes) and/or change its behavior based on the availability of optional
4343
resources / features (e.g. CertManager, a specific Ingress controller, etc.).
44+
45+
A generic activation condition is provided out of the box, called
46+
[CRDPresentActivationCondition](https://github.com/operator-framework/java-operator-sdk/blob/ba5e33527bf9e3ea0bd33025ccb35e677f9d44b4/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/processing/dependent/workflow/CRDPresentActivationCondition.java)
47+
that checks if the CustomResourceDefinition of the managed resource type of dependent resource is present on the cluster.
48+
See related [integration test](https://github.com/operator-framework/java-operator-sdk/blob/ba5e33527bf9e3ea0bd33025ccb35e677f9d44b4/operator-framework/src/test/java/io/javaoperatorsdk/operator/CRDPresentActivationConditionIT.java).
4449

4550
Activation condition is semi-experimental at the moment, and it has its limitations.
4651
For example event sources cannot be shared between multiple managed dependent resources which use activation condition.

0 commit comments

Comments
 (0)