Respect http_proxy settings in helm wrapper
This commit is contained in:
parent
6e7323e3e8
commit
562a01c5f6
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@
|
||||||
{{ docker_bin_dir }}/docker run --rm \
|
{{ docker_bin_dir }}/docker run --rm \
|
||||||
--net=host \
|
--net=host \
|
||||||
--name=helm \
|
--name=helm \
|
||||||
|
{% if http_proxy %}-e HTTP_PROXY={{ http_proxy }} \{% endif %}
|
||||||
|
{% if https_proxy %}-e HTTPS_PROXY={{ https_proxy }} \{% endif %}
|
||||||
|
{% if no_proxy %}-e NO_PROXY={{ no_proxy }} \{% endif %}
|
||||||
-v /etc/ssl:/etc/ssl:ro \
|
-v /etc/ssl:/etc/ssl:ro \
|
||||||
-v {{ helm_home_dir }}:{{ helm_home_dir }}:rw \
|
-v {{ helm_home_dir }}:{{ helm_home_dir }}:rw \
|
||||||
{% for dir in ssl_ca_dirs -%}
|
{% for dir in ssl_ca_dirs -%}
|
||||||
|
|
Loading…
Reference in a new issue