Skip to content

Commit

Permalink
Add proxy environment
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
stannum-l committed Jun 22, 2018
1 parent 42f4751 commit cef6dd5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cef6dd5

Please sign in to comment.