no_proxy inherits the system settings to adapt to some special scenarios

This commit is contained in:
tanjing2020 2021-04-23 09:33:56 +08:00
parent 2365d1e8bd
commit 3890772bd6

View File

@ -41,7 +41,7 @@ KUBE_RSYNC_COMPRESS="${KUBE_RSYNC_COMPRESS:-0}"
# Set no_proxy for localhost if behind a proxy, otherwise,
# the connections to localhost in scripts will time out
export no_proxy=127.0.0.1,localhost
export no_proxy="127.0.0.1,localhost${no_proxy:+,${no_proxy}}"
# This is a symlink to binaries for "this platform", e.g. build tools.
export THIS_PLATFORM_BIN="${KUBE_ROOT}/_output/bin"