From cef6dd5a191de777a837f2c5b3b79eb45eb85ad1 Mon Sep 17 00:00:00 2001 From: Tin Lam Date: Wed, 20 Jun 2018 19:00:01 -0500 Subject: [PATCH] Add proxy environment This patch set loads the proxy environment variable when executing helm init as it attempts to reach out to an external address to load the stable repo. If this is executed with in a corporate environment that requires a proxy, this would fail without the needed envvars. Change-Id: I8b1b1efb15352934eb8f2a0b0214e486eea80d46 Signed-off-by: Tin Lam --- .../roles/deploy-kubeadm-master/tasks/helm-deploy.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/tasks/helm-deploy.yaml b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/tasks/helm-deploy.yaml index ab86ec64f..0a88bb816 100644 --- a/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/tasks/helm-deploy.yaml +++ b/tools/images/kubeadm-aio/assets/opt/playbooks/roles/deploy-kubeadm-master/tasks/helm-deploy.yaml @@ -81,4 +81,8 @@ group: root mode: 0555 - name: setting up helm client for user + environment: + http_proxy: "{{ proxy.http }}" + https_proxy: "{{ proxy.https }}" + no_proxy: "{{ proxy.noproxy }}" command: helm init --client-only