[
https://issues.apache.org/jira/browse/CAMEL-23288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Salvatore Mongiardo closed CAMEL-23288.
---------------------------------------
Resolution: Fixed
> JBang - Issues with kubernetes plugin when exporting with a selected runtime
> ----------------------------------------------------------------------------
>
> Key: CAMEL-23288
> URL: https://issues.apache.org/jira/browse/CAMEL-23288
> Project: Camel
> Issue Type: Bug
> Affects Versions: 4.18.1
> Reporter: Salvatore Mongiardo
> Priority: Major
> Fix For: 4.19.0, 4.18.1
>
>
> # 1. Add the kubernetes plugin
>
>
> {code:java}
> camel plugin add kubernetes {code}
>
> # 2. Create a test route
> {code:java}
> camel init k8s-route.yaml {code}
>
> # 3. Export with spring-boot runtime — FAILS
>
>
> {code:java}
> mkdir p k8s-export-sb
> camel kubernetes export
> k8s-route.yaml --dir k8s-export-sb --cluster-type=openshift
> --runtime=spring-boot -gav=com.foo:k8s-test:1.0-SNAPSHOT{code}
>
>
> # Output: _DownloadException: Cannot resolve dependencies_
>
> The issue is that kubernetes export hardcodes empty repo, when spring-boot
> runtime is set.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)