Remove extra parameter kube_proxy_remove (#8158)

Signed-off-by: EDGsheryl <edgsheryl@gmail.com>
This commit is contained in:
EDGsheryl
2021-11-15 16:02:48 +08:00
committed by GitHub
parent 027cbefb87
commit 4d79a55904
4 changed files with 2 additions and 12 deletions

View File

@@ -56,16 +56,6 @@
- kube_network_plugin == 'calico'
- not ignore_assert_errors
- name: Stop if kube-proxy is enabled when using eBPF dataplane
assert:
that:
- kube_proxy_remove
msg: "kube-proxy needs to be disabled when using Calico with eBPF dataplane"
when:
- calico_bpf_enabled | default(false)
- kube_network_plugin == 'calico'
- not ignore_assert_errors
- name: Stop if unsupported version of Kubernetes
assert:
that: kube_version is version(kube_version_min_required, '>=')