Add Cilium CNI option (#435)

* Add Cilium CNI option

* Tweak version checks and add BGP resource verify

* Update metallb detection for kube-vip feat compat
This commit is contained in:
sholdee
2024-01-29 19:29:13 -06:00
committed by GitHub
parent bcd37a6904
commit 6ffc25dfe5
10 changed files with 383 additions and 10 deletions

View File

@@ -2,12 +2,17 @@
- name: Deploy calico
include_tasks: calico.yml
tags: calico
when: calico_iface is defined
when: calico_iface is defined and cilium_iface is not defined
- name: Deploy cilium
include_tasks: cilium.yml
tags: cilium
when: cilium_iface is defined
- name: Deploy metallb pool
include_tasks: metallb.yml
tags: metallb
when: kube_vip_lb_ip_range is not defined
when: kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined)
- name: Remove tmp directory used for manifests
file: