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

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


Reply via email to