kaniko
kaniko copied to clipboard
warmer cannot cache private registry
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 currently the team does not have the capacity to add this feature request. we are always looking for contributions!
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
Seems fixed since: https://github.com/GoogleContainerTools/kaniko/pull/1499
unexpected status code 202 Accepted