I see here and there bits of explanation of argocd deploying applications, but I haven't seen any with camel-k yet. a yaml application into project directory with deployment.yaml, services.yaml, ingress.yaml. sub source directory /route/Hello.java sub directories /dev /test /prod
the deployment.yaml is result of kamel run Hello.java -o > deployment.yaml the process would be to push the project directory into gitlab; then go to argocd ui and make a deployment request based on the directory where application.yaml is located. is it correct ?
thanks
I think you can get some ideas from this blog post
https://camel.apache.org/blog/2023/07/camel-k-gitops/
Here you have some basic example which is configured with a configmap. You can think the same also for Services etc.
Also, your question assumes that the kamel run
command produces a Deployment CR. This is not true. The command produces an Integration CR that is reconciled by the Camel K operator which does a series of actions before creating the related Deployment CR which is finally the one running your Camel application.