helm template check for http/https_proxy

This commit is contained in:
Spencer Smith 2017-10-30 13:11:04 -04:00
parent 6df104b275
commit 74a9eedb93

View file

@ -7,7 +7,7 @@
{% for dir in ssl_ca_dirs -%}
-v {{ dir }}:{{ dir }}:ro \
{% endfor -%}
{% if proxy_env is defined -%}
{% if http_proxy is defined or https_proxy is defined -%}
-e http_proxy="{{proxy_env.http_proxy}}" \
-e https_proxy="{{proxy_env.https_proxy}}" \
-e no_proxy="{{proxy_env.no_proxy}}" \