如何从Apache Camel-K中创建YAML?
我正在与Camel-K一起玩,以建立一些集成。开发模式体验真的很棒。我的命令是kamel run -config文件:demo-template.json demo-driver.groovy -dev
,
但是当我完成后,我不仅希望删除- dev 代码>开关。我想拥有一些YAML文件以检查到Git,并用ArgOCD或Flux部署它们。
是否有kamel build ... -dry -run = client -o yaml
或类似的东西?
I am playing around with camel-k to build some integrations. The dev mode experience is really great. My command is kamel run --config file:demo-template.json demo-driver.groovy --dev
But when i am finished i would like not just remove the --dev
switch. I would like to have some yaml files to check in into git and the deploy them with ArgoCD or Flux.
Is there something like kamel build ... --dry-run=client -o yaml
or similar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用
kamel run ... -o yaml
,例如:尽管
运行
名称,但在指定输出时,它实际上不会运行集成You can use
kamel run ... -o yaml
, for example:Despite the
run
name, when specifying the output, it will not actually run the integration