vmware-archive / kubecfg

A tool for managing complex enterprise Kubernetes environments as code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`vendor/github.com/genuinetools/reg` needs bump

q3k opened this issue · comments

Over in genuintools/reg they've fixed (genuinetools/reg#160) a bug that causes image resolving to fail when ~/.docker/config.json only contains credHelpers for a given registry host . Curiously, this is just a downstream fix from what seems like broken behaviour from calling https://github.com/docker/docker-ce/ ...

This is, for instance, triggered when trying to push to *.gcr.io with a Docker config generated by gcloud auth configure-docker, and causes failures like following when using kubecfg.resolveImage and --resolve-images registry:

WARNING unable to create registry client: Get https:///v2/: http: no Host in request URL

To fix this, vendor/github.com/genuinetools/reg needs to be updated to contain the aforementioned pull request or genuinetools/reg@b0626f8 .