openshift-toolkit
openshift-toolkit copied to clipboard
Script does not respect a "no_proxy" env in a proxied environment
If running this script behind a proxy, the image pull is running, but the image push to a local registry, which is reachable without a proxy, fails.
The push also uses the proxy, but the local registry is reachable without a proxy.
If a "no_proxy" env is set, the push should not use a proxy.
It seems, that this is a bug in the python requests module: https://github.com/requests/requests/issues/879
@grimkroton ; which script are you talking about?
@garethahealy this script https://raw.githubusercontent.com/redhat-cop/openshift-toolkit/master/disconnected_registry/docker-registry-sync.py Sorry for format, answered from mobile.