c12s-kubespray/roles/kubernetes/node/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
..
cloud-credentials added azure_cloud parameter to Azure's cloud_config (#6321) 2020-06-25 14:35:30 -07:00
loadbalancer Ensure haproxy and nginx reload when config changes (#4862) 2019-06-10 05:59:08 -07:00
facts.yml Fix kubelet cgroup driver detection for crio (#6331) 2020-06-30 02:32:05 -07:00
install.yml fix ansible password authentication (#6907) 2020-11-30 15:12:50 -08:00
kubelet.yml Ensure kubeadm doesn't use proxy (#7275) 2021-02-22 06:01:43 -08:00
main.yml change | to is (#6991) 2020-12-09 07:26:50 -08:00
pre_upgrade.yml Fix crictl paths and some of docker paths (#6961) 2020-11-28 08:30:47 -08:00