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:
Sumit Solanki
2026-05-07 18:31:20 +05:30
committed by GitHub
parent 09e9c43570
commit e97333dbf8
6 changed files with 17 additions and 3 deletions

View File

@@ -4,6 +4,7 @@
msg: "kube-vip require kube_proxy_strict_arp = true, see https://github.com/kube-vip/kube-vip/blob/main/docs/kubernetes/arp/index.md"
when:
- kube_proxy_mode == 'ipvs' and not kube_proxy_strict_arp
- not kube_proxy_remove
- kube_vip_arp_enabled
- name: Kube-vip | Check mutually exclusive BGP source settings