claudio4j opened a new issue, #4119:
URL: https://github.com/apache/camel-k/issues/4119

   When [SinkBinding 
mode](https://knative.dev/docs/eventing/custom-event-source/sinkbinding/create-a-sinkbinding/)
 is `inclusion`, the integration goes into error state, since the first time 
the integration runs, the eventing webhook (knative-eventing namespace) wants 
to inject the sink binding url, but it fails because the sink binding mode is 
inclusion.
   
   To reproduce it set the mode to inclusion
   ```
   k -n knative-eventing set env deployments eventing-webhook 
--containers="eventing-webhook" SINK_BINDING_SELECTION_MODE=inclusion
   ```
   
   And run this integration
   ```
   import org.apache.camel.builder.RouteBuilder;
   
   public class Rest2Channel extends RouteBuilder {
       public void configure() throws Exception {
           rest("/")
               .put("/foo/new")
               .to("knative:channel/messages");
       }
   }
   ```
   
   Then look at the integration and pods, the integration goes into running 
state and then error.


-- 
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: commits-unsubscr...@camel.apache.org.apache.org

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

Reply via email to