jianrongzhang89 commented on code in PR #467:
URL: 
https://github.com/apache/incubator-kie-kogito-serverless-operator/pull/467#discussion_r1626836275


##########
controllers/profiles/common/ensurer.go:
##########
@@ -176,6 +224,11 @@ func ensureObject(ctx context.Context, workflow 
*operatorapi.SonataFlow, visitor
                                        return visitorErr
                                }
                        }
+                       if workflow.Namespace != object.GetNamespace() {
+                               // This is for Knative trigger in a different 
namespace
+                               // Set the finalizer for trigger cleanup when 
the workflow is deleted
+                               return setWorkflowFinalizer(ctx, c, workflow)

Review Comment:
   OK.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to