mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-26 18:17:48 -02:30
fix: skip kube-proxy-only tasks when kube_proxy_remove is true (#13228)
* fix: skip kube-proxy-only tasks when kube_proxy_remove is true Signed-off-by: Sumit Solanki <sumit.solanki@ibm.com> * refactor: use where defaults already define the var Signed-off-by: Sumit Solanki <sumit.solanki@ibm.com> --------- Signed-off-by: Sumit Solanki <sumit.solanki@ibm.com>
This commit is contained in:
@@ -65,6 +65,7 @@ pkgs:
|
||||
- "{{ ping_access_ip }}"
|
||||
ipvsadm:
|
||||
- "{{ kube_proxy_mode == 'ipvs' }}"
|
||||
- "{{ not kube_proxy_remove }}"
|
||||
- "{{ 'k8s_cluster' in group_names }}"
|
||||
libseccomp:
|
||||
- "{{ ansible_os_family == 'RedHat' }}"
|
||||
@@ -80,6 +81,7 @@ pkgs:
|
||||
- "{{ ansible_distribution_major_version == '12' }}"
|
||||
nftables:
|
||||
- "{{ kube_proxy_mode == 'nftables' }}"
|
||||
- "{{ not kube_proxy_remove }}"
|
||||
- "{{ 'k8s_cluster' in group_names }}"
|
||||
nss:
|
||||
- "{{ ansible_os_family == 'RedHat' }}"
|
||||
|
||||
Reference in New Issue
Block a user