kaniko icon indicating copy to clipboard operation
kaniko copied to clipboard

warmer cannot cache private registry

Open hougangliu opened this issue 4 years ago • 3 comments

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

hougangliu avatar Apr 14 '20 02:04 hougangliu

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

tejal29 avatar May 07 '20 18:05 tejal29

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

karolmie1 avatar Nov 06 '20 09:11 karolmie1

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

finkr avatar Aug 03 '22 21:08 finkr

unexpected status code 202 Accepted image

SuperLight-007 avatar Nov 07 '22 03:11 SuperLight-007