Support proxy for helm install

Export proxy settings for helm install to make sure
helm can reach charts site.

Task: 39877
Story: 2007725

Change-Id: I4de26d40b7c5ba2759b4892349c59cf3cc870241
This commit is contained in:
Feilong Wang 2020-05-28 20:26:24 +12:00
parent 0cf5ada067
commit 84324e1072

View File

@ -7,6 +7,18 @@ set +x
. /etc/sysconfig/heat-params
set -ex
if [ ! -z "$HTTP_PROXY" ]; then
export HTTP_PROXY
fi
if [ ! -z "$HTTPS_PROXY" ]; then
export HTTPS_PROXY
fi
if [ ! -z "$NO_PROXY" ]; then
export NO_PROXY
fi
ssh_cmd="ssh -F /srv/magnum/.ssh/config root@localhost"
echo "Waiting for Kubernetes API..."