You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed Camel K in an air gapped env via Helm and set a custom base image via the values.yaml by adding a local docker registry address at the beginning of the image name:
Unfortunately once I try to run a simple test route, the Camel K operator logs that it tried to pull the image via http but the registry requires https:
I dont understand why the base image request uses http, because pulling the camel-k image works: image: 10.137.7.97:5000/docker.io/apache/camel-k:1.8.2. Also, when using the default base image, https is used:
{"level":"error","ts":1661429578.7030427,"logger":"camel-k.controller.build","msg":"Build kit-cc3mefiacahpbv31preg failed: could not pull base image image adoptopenjdk/openjdk11:slim: Get \"https://index.docker.io/v2/\": dial tcp 44.205.66.155:443: connect: connection refused","request-namespace":"camel-k","request-name":"kit-cc3mefiacahpbv31preg","api-version":"camel.apache.org/v1","kind":"Build","ns":"camel-k","name":"kit-cc3mefiacahpbv31preg"}
I also changed between: insecure: false and insecure: true.
The host machine has this insecure registry (self signed certs) added in daemon.json
The test route test-route.groovy:
from('timer:tick?period=3000')
.setBody().constant('Hello world from Camel K')
.to('log:info')
Then: kamel run ./test-route.groovy --namespace $namespace
Thanks for your help
Greetings
The text was updated successfully, but these errors were encountered:
Hi all,
I installed Camel K in an air gapped env via Helm and set a custom base image via the values.yaml by adding a local docker registry address at the beginning of the image name:
Unfortunately once I try to run a simple test route, the Camel K operator logs that it tried to pull the image via http but the registry requires https:
I dont understand why the base image request uses http, because pulling the camel-k image works: image: 10.137.7.97:5000/docker.io/apache/camel-k:1.8.2. Also, when using the default base image, https is used:
{"level":"error","ts":1661429578.7030427,"logger":"camel-k.controller.build","msg":"Build kit-cc3mefiacahpbv31preg failed: could not pull base image image adoptopenjdk/openjdk11:slim: Get \"https://index.docker.io/v2/\": dial tcp 44.205.66.155:443: connect: connection refused","request-namespace":"camel-k","request-name":"kit-cc3mefiacahpbv31preg","api-version":"camel.apache.org/v1","kind":"Build","ns":"camel-k","name":"kit-cc3mefiacahpbv31preg"}
I also changed between: insecure: false and insecure: true.
The host machine has this insecure registry (self signed certs) added in daemon.json
The test route test-route.groovy:
Then:
kamel run ./test-route.groovy --namespace $namespace
Thanks for your help
Greetings
The text was updated successfully, but these errors were encountered: