c12s-kubespray/roles/kubernetes/node
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
..
defaults Allow configuring container log limits for Kubelet (#6933) 2020-11-26 00:32:19 -08:00
handlers restart kubelet service when kube-config.yml is changed (#5402) 2020-05-19 10:13:37 -07:00
tasks Ensure kubeadm doesn't use proxy (#7275) 2021-02-22 06:01:43 -08:00
templates Update azure cloud config (#7208) (#7221) 2021-01-27 03:47:40 -08:00
vars Add Fedora 33 CI, remove Fedora 31 (#7072) 2021-01-14 08:27:05 -08:00