squakez commented on PR #4038:
URL: https://github.com/apache/camel-k/pull/4038#issuecomment-1424323186

   Thanks @lburgazzoli I agree and prefer the declarative approach, also 
because, the imperative one cannot work with traditional traits the way they 
are (we can only make it work in annotations). While it's clear how we can 
kustomize via `kubectl -k`, what I miss to understand is the following statement
   > So I would expect kamel promote to have an option to generate a yaml file 
you can then post-process with kustomize
   
   When we promote, we copy an Integration CR and we create a cloned one via 
k8s API. We can let the user provide a kustomization config file, like the one 
you suggested, but I am not able to understand if there is any API to _apply_ 
in a similar fashion how we'd `kubectl apply -k`. Do you mind elaborating a bit 
more this part? Thanks!


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