c12s-kubespray/roles
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
..
adduser Fix nologin wrong path (#6272) 2020-06-16 02:30:04 -07:00
bastion-ssh-config Use connection: local when delegate_to: localhost (#6322) 2020-06-25 08:14:38 -07:00
bootstrap-os bootstrap-os: match on os-release ID / VARIANT_ID (#7269) 2021-02-22 06:01:43 -08:00
container-engine Fixup cri-o metacopy mount options (#7287) 2021-02-22 06:01:43 -08:00
download Ensure kubeadm doesn't use proxy (#7275) 2021-02-22 06:01:43 -08:00
etcd Fix unintended SIGPIPEs. (#7214) 2021-02-22 06:01:43 -08:00
etcdctl Fix crictl paths and some of docker paths (#6961) 2020-11-28 08:30:47 -08:00
kubernetes Ensure kubeadm doesn't use proxy (#7275) 2021-02-22 06:01:43 -08:00
kubernetes-apps Remove deletion of coredns deployment. (#7211) 2021-02-22 06:01:43 -08:00
kubespray-defaults Ensure kubeadm doesn't use proxy (#7275) 2021-02-22 06:01:43 -08:00
network_plugin Fix ansible calico route reflector tasks in calico role (#7224) 2021-02-22 06:01:43 -08:00
recover_control_plane Fix ansible-lint E305 (#6459) 2020-07-28 01:39:08 -07:00
remove-node [fix] change result conditions (#6973) 2020-12-30 07:15:49 -08:00
reset fix: Restart network doesn't work on Fedora CoreOS (#7271) 2021-02-22 06:01:43 -08:00
upgrade Edited pre-upgrade task to uncordon a node failing to drain (#6546) 2020-08-20 04:25:36 -07:00
win_nodes/kubernetes_patch Remove workaround with kube_proxy_remove (#6512) 2020-09-17 04:30:45 -07:00