GoogleContainerTools / kaniko

Build Container Images In Kubernetes
Apache License 2.0
14.77k stars 1.44k forks source link

warmer cannot cache private registry #1195

Open hougangliu opened 4 years ago

hougangliu commented 4 years ago

when I run warmer --cache-dir ./cache -i my-private-registry.com/atelier/notebook-base:0402, it fails with message Failed warming cache: Failed to retrieve image: my-private-registry.com/atelier/notebook-base:0402: Get "https://my-private-registry.com/v2/": x509: certificate signed by unknown authority I hope that there is --insecure-registry or --skip-tls-verify-registry like kaniko executor to support warmer images from private registry

tejal29 commented 4 years ago

@hougangliu currently the team does not have the capacity to add this feature request. we are always looking for contributions!

karolmie1 commented 3 years ago

I know it's not a best solution, but I think you can mount your certificate on kaniko registry: -v /etc/ssl/certs:/kaniko/ssl/certs

finkr commented 2 years ago

Seems fixed since: https://github.com/GoogleContainerTools/kaniko/pull/1499

SuperLight-007 commented 1 year ago

unexpected status code 202 Accepted image