You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/02/16 19:38:29 UTC

[GitHub] [camel-karavan] mikeintoch opened a new issue #197: route element on CRD cause issues when running a integration

mikeintoch opened a new issue #197:
URL: https://github.com/apache/camel-karavan/issues/197


   The new version of karavan create a CRD using route element like this:
   
   ```
   apiVersion: camel.apache.org/v1
   kind: Integration
   metadata:
     name: hello-world.yaml
   spec:
     flows:
       - route:
           from:
             uri: timer:foo
             steps:
               - setBody:
                   expression:
                     constant:
                       expression: Hello World
               - log:
                   message: ${body}
                   logName: demo
             parameters:
               delay: '30000'
   
   ```
   And when create the Integration using 'kubectl create -f integration.yaml' shows the next message
   **java.lang.IllegalArgumentException: Unsupported field: steps**
   
   Nevertheless when  use a CRD without route element definition everything runs well
   `
   apiVersion: camel.apache.org/v1
   kind: Integration
   metadata:
     name: hello-world.yaml
   spec:
     flows:
       - from:
           uri: timer:foo
           steps:
             - set-body:
                 expression:
                   constant: Hello World
             - log:
                 log-name: demo
                 message: '${body}'
           parameters:
             delay: '2000'
     dependencies:
       - 'camel:timer'
   `
   
   I'm using Camel K 1.8 and k3d
   
   Regards
   


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



[GitHub] [camel-karavan] mikeintoch closed issue #197: route element on CRD cause issues when running a integration

Posted by GitBox <gi...@apache.org>.
mikeintoch closed issue #197:
URL: https://github.com/apache/camel-karavan/issues/197


   


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



[GitHub] [camel-karavan] davsclaus commented on issue #197: route element on CRD cause issues when running a integration

Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #197:
URL: https://github.com/apache/camel-karavan/issues/197#issuecomment-1042109144


   See this ticket: https://github.com/apache/camel-karavan/issues/194


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



[GitHub] [camel-karavan] mikeintoch commented on issue #197: route element on CRD cause issues when running a integration

Posted by GitBox <gi...@apache.org>.
mikeintoch commented on issue #197:
URL: https://github.com/apache/camel-karavan/issues/197#issuecomment-1042249845


   Thanks Claus


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