From 74a9eedb93cf916f27f7fd2690d7f2a98641a197 Mon Sep 17 00:00:00 2001 From: Spencer Smith Date: Mon, 30 Oct 2017 13:11:04 -0400 Subject: [PATCH] helm template check for http/https_proxy --- roles/kubernetes-apps/helm/templates/helm-container.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}}" \