c12s-kubespray/roles/download/tasks
Etienne Champetier 40857b9859 Ensure kubeadm doesn't use proxy (#7275)
* Move proxy_env to kubespray-defaults/defaults

There is no reasons to use set_facts here

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>

* Ensure kubeadm doesn't use proxy

*_proxy variables might be present in the environment (/etc/environment, bash profile, ...)
When this is the case we end up with those proxy configuration in /etc/kubernetes/manifests/kube-*.yaml manifests

We cannot unset env variables, but kubeadm is nice enough to ignore empty vars
93d288e2a4/cmd/kubeadm/app/util/env.go (L27)

Signed-off-by: Etienne Champetier <e.champetier@ateme.com>
(cherry picked from commit 1c5391dda7)
2021-02-22 06:01:43 -08:00
..
check_pull_required.yml Remove unnecessary failed_when (#7120) 2021-01-11 08:49:10 -08:00
download_container.yml Fix ansible-lint E305 (#6459) 2020-07-28 01:39:08 -07:00
download_file.yml Only setup *_PROXY env variables where needed (#7095) 2021-01-11 07:21:08 -08:00
extract_file.yml Added file and container image caching (#4828) 2019-06-10 11:21:07 -07:00
main.yml Fix crictl with Docker (#7081) 2020-12-23 08:28:26 -08:00
prep_download.yml Remove support for CoreOS Container Linux (#6576) 2020-08-28 02:28:53 -07:00
prep_kubeadm_images.yml Ensure kubeadm doesn't use proxy (#7275) 2021-02-22 06:01:43 -08:00
set_container_facts.yml Download once for crio (#6998) 2020-12-21 01:54:25 -08:00