michaeljmcd commented on issue #3442: URL: https://github.com/apache/camel-k/issues/3442#issuecomment-1191856311
Continuing the experiment, if I run the registry: ```` CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 2c726839ea18 docker.io/library/registry:2 /etc/docker/regis... About an hour ago Up About an hour ago 127.0.0.1:5001->5000/tcp kind-registry ae0d4e841510 docker.io/kindest/node@sha256:0866296e693efe1fed79d5e6c7af8df71fc73ae45e3679af05342239cdc5bc8e 16 minutes ago Up 16 minutes ago 127.0.0.1:53017->6443/tcp kind-control-plane ``` With the registry attached to the Kind network and pull the IP: ``` $ podman inspect kind-registry -f='{{json .NetworkSettings.Networks.kind}}' {"EndpointID":"","Gateway":"10.89.0.1","IPAddress":"10.89.0.4","IPPrefixLen":24,"IPv6Gateway":"fc00:f853:ccd:e793::1","GlobalIPv6Address":"fc00:f853:ccd:e793::4","GlobalIPv6PrefixLen":64,"MacAddress":"c2:52:5a:54:81:d2","NetworkID":"kind","DriverOpts":null,"IPAMConfig":null,"Links":null,"Aliases":["2c726839ea18"]} ``` Then install Camel-K with that address: ``` $ kamel install --olm=false -n $NS --registry 10.89.0.4:5000 --organization myorg --registry-insecure true --wait ``` And run the default integration, I get a successful build: ``` k get builds NAME PHASE AGE STARTED DURATION ATTEMPTS kit-cbcq60phte5c73bqjoq0 Succeeded 12m 12m 1m30.171809865s ```` A successful image push: ``` $ curl -X GET http://localhost:5001/v2/_catalog {"repositories":["myorg/camel-k-kit-cbcq60phte5c73bqjoq0"]} ``` And a failed pod initialization: ``` $ k describe pod example-59b4bc7758-d8d2d .... Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 12m default-scheduler Successfully assigned example/example-59b4bc7758-d8d2d to kind-control-plane Normal Pulling 10m (x4 over 12m) kubelet, kind-control-plane Pulling image "10.89.0.4:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0" Warning Failed 10m (x4 over 12m) kubelet, kind-control-plane Failed to pull image "10.89.0.4:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0": rpc error: code = Unknown desc = failed to pull and unpack image "10.89.0.4:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0": failed to resolve reference "10.89.0.4:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0": failed to do request: Head "https://10.89.0.4:5000/v2/myorg/camel-k-kit-cbcq60phte5c73bqjoq0/manifests/sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0": http: server gave HTTP response to HTTPS client Warning Failed 10m (x4 over 12m) kubelet, kind-control-plane Error: ErrImagePull Warning Failed 10m (x6 over 12m) kubelet, kind-control-plane Error: ImagePullBackOff Normal BackOff 2m19s (x42 over 12m) kubelet, kind-control-plane Back-off pulling image "10.89.0.4:5000/myorg/camel-k-kit-cbcq60phte5c73bqjoq0@sha256:1bd03e9065dfd97939773f15ad83e87976f05ca3cd99d577bdc236fc36600ae0" ``` The error appears to be that the insecure registry setting is being respected by the push but not the pull. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org