diff --git a/roles/kubernetes-apps/helm/templates/helm-container.j2 b/roles/kubernetes-apps/helm/templates/helm-container.j2 index 17b37fb61..1fe260566 100644 --- a/roles/kubernetes-apps/helm/templates/helm-container.j2 +++ b/roles/kubernetes-apps/helm/templates/helm-container.j2 @@ -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}}" \