diff --git a/roles/kubespray-defaults/tasks/no_proxy.yml b/roles/kubespray-defaults/tasks/no_proxy.yml index efff7d398..73fa0bbfa 100644 --- a/roles/kubespray-defaults/tasks/no_proxy.yml +++ b/roles/kubespray-defaults/tasks/no_proxy.yml @@ -26,3 +26,6 @@ - name: Populates no_proxy to all hosts set_fact: no_proxy: "{{ hostvars.localhost.no_proxy_prepare }}" + proxy_env: + no_proxy: "{{ hostvars.localhost.no_proxy_prepare }}" + NO_PROXY: "{{ hostvars.localhost.no_proxy_prepare }}" diff --git a/tests/files/packet_debian10-containerd.yml b/tests/files/packet_debian10-containerd.yml index 6845bcb80..e00a2904f 100644 --- a/tests/files/packet_debian10-containerd.yml +++ b/tests/files/packet_debian10-containerd.yml @@ -11,3 +11,7 @@ dns_min_replicas: 1 helm_enabled: true helm_version: v3.1.0 + +# https://gitlab.com/miouge/kubespray-ci/-/blob/a4fd5ed6857807f1c353cb60848aedebaf7d2c94/manifests/http-proxy.yml#L42 +http_proxy: http://172.30.30.30:8888 +https_proxy: http://172.30.30.30:8888 \ No newline at end of file