michalvavrik commented on issue #6421:
URL: https://github.com/apache/camel-k/issues/6421#issuecomment-4030465020

   hey @squakez , I can have a look. I will try, but I can't promise to make it 
in time for 2.10.0 though. You can take it over anytime.
   
   So if I get it right, we take some pipe, for example:
   
   ```yaml
     apiVersion: camel.apache.org/v1                                            
         
     kind: Pipe      
     metadata:
       name: timer-to-log
     spec:
       source:
         uri: timer:foo
       sink:
         uri: log:bar
       steps:
         - uri: 
https://gist.githubusercontent.com/squakez/48b4ebf24c2579caf6bcb3e8a59fa5
     09/raw/c7d9db6ee5e8851f5dc6a564172d85f00d87219c/gistfile1.txt
       traits:
         mount:
           configs:
             - configmap:my-cm
         gitops:
           enabled: true
           url: "https://github.com/my-org/deployments.git";
           secret: "git-token"
           branch: main
           overlays:
             - staging
             - production
   ```
   
   and then we take `base/pipe.yaml` that newly has `runtimeVersion`, 
`container.image` and `jvm.classpath` which is advantage of this feature and it 
can look like:
   
   ```yaml
     apiVersion: camel.apache.org/v1
     kind: Pipe
     metadata:
       name: timer-to-log
     spec:
       source:
         uri: timer:foo
       sink:
         uri: log:bar
       steps:
         - uri: 
https://gist.githubusercontent.com/squakez/48b4ebf24c2579caf6bcb3e8a59fa5
     09/raw/c7d9db6ee5e8851f5dc6a564172d85f00d87219c/gistfile1.txt
       traits:
         camel:
           runtimeVersion: 3.8.1
         container:
           image: 
quay.io/my-org/camel-k-kit-crbgrhmn5tgc73cb1tl0@sha256:a1b2c3d4e5f6...
         jvm:
           classpath: 
/deployments/dependencies/mvn/com.foo/bar-1.0.jar:/deployments/depe
     ndencies/mvn/org.baz/qux-2.0.jar
         mount:
           configs:
             - configmap:my-cm
     status: {}
   ```
   
   and we push it to the git repo?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to