Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

insecure=true does not work with base image #2531

Closed
rgordill opened this issue Jul 26, 2021 · 3 comments
Closed

insecure=true does not work with base image #2531

rgordill opened this issue Jul 26, 2021 · 3 comments

Comments

@rgordill
Copy link

See following log, where insecure=true is set, and still the base image repo is throwing a CA exception.

{"level":"info","ts":1627318501.2848449,"logger":"camel-k.builder","msg":"resolved base image: registry-quay-quay.apps.ocp4.example.com/integration/openjdk-11"}
{"level":"info","ts":1627318501.3134027,"logger":"camel-k","msg":"spectrum - 2021/07/26 16:55:01 Pulling base image registry-quay-quay.apps.ocp4.example.com/integration/openjdk-11 (insecure=true)..."}
{"level":"error","ts":1627318501.32457,"logger":"camel-k.controller.build","msg":"Build kit-c3vegj8464fssg8v2vrg failed: could not pull base image image registry-quay-quay.apps.ocp4.example.com/integration/openjdk-11: Get \"https://registry-quay-quay.apps.ocp4.example.com/v2/\": x509: certificate signed by unknown authority","request-namespace":"integration","request-name":"kit-c3vegj8464fssg8v2vrg","api-version":"camel.apache.org/v1","kind":"Build","ns":"integration","name":"kit-c3vegj8464fssg8v2vrg","stacktrace":"github.com/apache/camel-k/pkg/controller/build.(*monitorRoutineAction).updateBuildStatus\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:191\ngithub.com/apache/camel-k/pkg/controller/build.(*monitorRoutineAction).runBuild\n\tgithub.com/apache/camel-k/pkg/controller/build/monitor_routine.go:175"}
@rgordill
Copy link
Author

Related with #2122

@tadayosi
Copy link
Member

tadayosi commented Sep 2, 2021

@rgordill Probably yes it's fixed with #2124. Aren't you using camel-k 1.4.0? If you are it should be fixed already.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2021

This issue has been automatically marked as stale due to 90 days of inactivity.
It will be closed if no further activity occurs within 15 days.
If you think that’s incorrect or the issue should never stale, please simply write any comment.
Thanks for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants