[ https://issues.apache.org/jira/browse/CAMEL-21841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-21841 started by Claudio Miranda. ----------------------------------------------- > camel-jbang-plugin-kubernetes fails to fetch image when using knative-service > ----------------------------------------------------------------------------- > > Key: CAMEL-21841 > URL: https://issues.apache.org/jira/browse/CAMEL-21841 > Project: Camel > Issue Type: Bug > Components: camel-jbang > Affects Versions: 4.10.1 > Reporter: Claudio Miranda > Assignee: Claudio Miranda > Priority: Major > > the kubernetes plugin fails to fetch the container image when using the > knative-service trait in minikube > {code} > camel kubernetes run --verbose HttpLog.java --kamelets-version=4.9.0 --trait > knative-service.enabled=true --trait container.image-pull-policy=IfNotPresent > {code} > The minikube registry addon was exposed in the shell console with > {code} > eval $(minikube docker-env) > {code} > The container image is correctly published in the registry > {code} > $ docker images|grep localhost > localhost:5000/http-log > 1.0-SNAPSHOT 6545efede2e4 18 hours ago 463MB > {code} > The route > {code} > public class HttpLog extends RouteBuilder { > @Override > public void configure() throws Exception { > from("platform-http:/hello?httpMethodRestrict=GET") > .setBody(simple("Hello ${header.name}")) > .log("${header.name}"); > } > } > {code} > The deployed knative-service manifest contains the > {code} > Image Pull Policy: IfNotPresent > {code} > The pod and knative revision fails with: > {code} > Revision "kn-http-log-00001" failed with message: Unable to fetch image > "localhost:5000/kn-http-log:1.0-SNAPSHOT": failed to resolve image to digest: > Get "https://localhost:5000/v2/": dial tcp 127.0.0.1:5000: connect: > connection refused; Get "http://localhost:5000/v2/": dial tcp 127.0.0.1:5000: > connect: connection refused. > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)