@@ -70,15 +70,16 @@ will only consider the `ConfigMap` deleted until that post-condition becomes `tr
70
70
71
71
``` java
72
72
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 )
81
81
})
82
+ @ControllerConfiguration
82
83
public class SampleWorkflowReconciler implements Reconciler<WorkflowAllFeatureCustomResource > ,
83
84
Cleaner<WorkflowAllFeatureCustomResource > {
84
85
0 commit comments