Pulling images from the private repository using kind cluster

Hi Guys,

I have setup the kind single cluster but whenever I tried to pull images from the private repository , I am getting certificate issues.

Error Msg:

E1124 05:18:18.804122 1229 remote_image.go:238] “PullImage from image service failed” err=“rpc error: code = Unknown desc = failed to pull and unpack image "<private_registry>/ajitp/cassandra:latest": failed to resolve reference "<private_registry>/ajitp/cassandra:latest": failed to do request: Head "https://<private_registry>/v2/ajitp/cassandra/manifests/latest": x509: certificate signed by unknown authority” image=“<private_registry>/ajitp/cassandra”
FATA[0000] pulling image: rpc error: code = Unknown desc = failed to pull and unpack image “<private_registry>/ajitp/cassandra:latest”: failed to resolve reference “<private_registry>/ajitp/cassandra:latest”: failed to do request: Head “https://<private_registry>/v2/ajitp/cassandra/manifests/latest”: x509: certificate signed by unknown authority.

Kind is using containerd runtime. Can anyone help me how to pull images without checking the certificates (i.e) pulling images insecurely…?

And how to configure k8ssandra by using private registry to pull images instead of pulling from the docker hub…?

Thanks & Regards,
Ajith