Add a way to deploy cilium alongside another CNI (#6373)

Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
This commit is contained in:
Arthur Outhenin-Chalandre
2020-07-17 14:57:01 +02:00
committed by GitHub
parent 8818073ff3
commit 1a1fe99669
5 changed files with 10 additions and 6 deletions

View File

@@ -33,3 +33,7 @@ cilium_monitor_aggregation: medium
cilium_preallocate_bpf_maps: false
cilium_tofqdns_enable_poller: false
cilium_enable_legacy_services: false
# Deploy cilium even if kube_network_plugin is not cilium.
# This enables to deploy cilium alongside another CNI to replace kube-proxy.
cilium_deploy_additionally: false

View File

@@ -1,7 +1,7 @@
---
dependencies:
- role: network_plugin/cilium
when: kube_network_plugin == 'cilium'
when: kube_network_plugin == 'cilium' or cilium_deploy_additionally | default(false) | bool
tags:
- cilium