You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "claudio4j (via GitHub)" <gi...@apache.org> on 2023/03/10 18:16:57 UTC

[GitHub] [camel-k] claudio4j opened a new issue, #4119: Integration in error state when knative SinkBinding mode=inclusion

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-unsubscribe@camel.apache.org.apache.org

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


[GitHub] [camel-k] claudio4j closed issue #4119: Integration in error state when knative SinkBinding mode=inclusion

Posted by "claudio4j (via GitHub)" <gi...@apache.org>.
claudio4j closed issue #4119: Integration in error state when knative SinkBinding mode=inclusion
URL: https://github.com/apache/camel-k/issues/4119


-- 
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-unsubscribe@camel.apache.org

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