nicolaferraro commented on a change in pull request #1952:
URL: https://github.com/apache/camel-k/pull/1952#discussion_r566005080



##########
File path: pkg/controller/integration/integration_controller.go
##########
@@ -217,6 +218,15 @@ func add(mgr manager.Manager, r reconcile.Reconciler) 
error {
                return err
        }
 
+       // Watch ServiceBindings created
+       err = c.Watch(&source.Kind{Type: &sb.ServiceBinding{}}, 
&handler.EnqueueRequestForOwner{

Review comment:
       No, I was referring to a child-resource. Like if you know that 
servicebinding always syncs a secret with some labels when updating the binding 
resource, then listening for changes in the secrets (all or with filter) 
triggers the reschedule of the integration, so it proceeds.
   Secrets are an example of "watchable" resource being in core v1.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to