mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-24 09:07:47 -02:30
Set http proxy environments for helm app installations (#13234)
* Set http proxy environments for helm app installations Signed-off-by: Justin Lamp <justin.lamp@netways.de> * Change http_proxy env variables from legacy static entries to new proxy_env variable Signed-off-by: Justin Lamp <justin.lamp@netways.de> --------- Signed-off-by: Justin Lamp <justin.lamp@netways.de>
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
---
|
||||
- name: Add Helm repositories
|
||||
environment: "{{ proxy_env }}"
|
||||
kubernetes.core.helm_repository: "{{ helm_repository_defaults | combine(item) }}" # noqa args[module]
|
||||
loop: "{{ repositories }}"
|
||||
|
||||
- name: Update Helm repositories
|
||||
environment: "{{ proxy_env }}"
|
||||
kubernetes.core.helm:
|
||||
state: absent
|
||||
binary_path: "{{ bin_dir }}/helm"
|
||||
@@ -15,5 +17,6 @@
|
||||
- helm_update
|
||||
|
||||
- name: Install Helm Applications
|
||||
environment: "{{ proxy_env }}"
|
||||
kubernetes.core.helm: "{{ helm_defaults | combine(release_common_opts, item) }}" # noqa args[module]
|
||||
loop: "{{ releases }}"
|
||||
|
||||
Reference in New Issue
Block a user