-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
When trying to setup a local registry in KinD via the GitHub action as follows:
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3
with:
cluster_name: "kind"
registry: true
registry_name: kind-registry
registry_port: 5555
The OCI images available in that local registry cannot be pulled out from the pods running in the KinD cluster and the following error is thrown.
time="2025-06-30T10:45:19Z" level=info msg="trying next host" error="failed to do request: Head \"https://kind-registry:5000/v2/hivemq/hivemq-platform-operator/manifests/snapshot\": http: server gave HTTP response to HTTPS client" host="kind-registry:5000"
ctr: failed to resolve reference "kind-registry:5000/hivemq/hivemq-platform-operator:snapshot": failed to do request: Head "https://kind-registry:5000/v2/hivemq/hivemq-platform-operator/manifests/snapshot": http: server gave HTTP response to HTTPS client
Please note that I had to point out to the port 5000
instead of the 5555
here in the pods. Otherwise I get the following error instead if using port 5555
:
error="failed to do request: Head \"https://kind-registry:5555/v2/hivemq/hivemq-platform-operator/manifests/snapshot\": dial tcp 172.18.0.3:5555: connect: connection refused" host="kind-registry:5555"
ctr: failed to resolve reference "kind-registry:5555/hivemq/hivemq-platform-operator:snapshot": failed to do request: Head "https://kind-registry:5555/v2/hivemq/hivemq-platform-operator/manifests/snapshot": dial tcp 172.18.0.3:5555: connect: connection refused
The images can be listed successfully within the Kind cluster:
$ curl http://kind-registry:5000/v2/_catalog
{"repositories":["hivemq/hivemq-platform-operator","hivemq/hivemq-platform-operator-init","hivemq/hivemq4"]}
However, if I use default port 5000
, everything works fine.
Metadata
Metadata
Assignees
Labels
No labels