[
https://issues.apache.org/jira/browse/CAMEL-23288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Salvatore Mongiardo updated CAMEL-23288:
----------------------------------------
Description:
# 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.
was:
# 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.
> JBang - Issues with kubernetes plugin when exporting with spring-boot 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.18.1, 4.19.0
>
>
> # 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)