@@ -70,15 +70,16 @@ will only consider the `ConfigMap` deleted until that post-condition becomes `tr
7070
7171``` java
7272
73- @ControllerConfiguration (dependents = {
74- @Dependent (name = DEPLOYMENT_NAME , type = DeploymentDependentResource . class,
75- readyPostcondition = DeploymentReadyCondition . class),
76- @Dependent (type = ConfigMapDependentResource . class,
77- reconcilePrecondition = ConfigMapReconcileCondition . class,
78- deletePostcondition = ConfigMapDeletePostCondition . class,
79- activationCondition = ConfigMapActivationCondition . class,
80- dependsOn = DEPLOYMENT_NAME )
73+ @Workflow (dependents = {
74+ @Dependent (name = DEPLOYMENT_NAME , type = DeploymentDependentResource . class,
75+ readyPostcondition = DeploymentReadyCondition . class),
76+ @Dependent (type = ConfigMapDependentResource . class,
77+ reconcilePrecondition = ConfigMapReconcileCondition . class,
78+ deletePostcondition = ConfigMapDeletePostCondition . class,
79+ activationCondition = ConfigMapActivationCondition . class,
80+ dependsOn = DEPLOYMENT_NAME )
8181})
82+ @ControllerConfiguration
8283public class SampleWorkflowReconciler implements Reconciler<WorkflowAllFeatureCustomResource > ,
8384 Cleaner<WorkflowAllFeatureCustomResource > {
8485
0 commit comments