Drop calico 3.15 (#7545)

* calico: drop support for version 3.15

* drop check for calico version >= 3.3, we are at 3.16 minimum now

* we moved to calico 3.16+ so we can default to /opt/cni/bin/install
This commit is contained in:
Cristian Calin
2021-04-24 09:43:14 +03:00
committed by GitHub
parent 96476430a3
commit 002a4b03a4
3 changed files with 1 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ spec:
# and CNI network config file on each node.
- name: install-cni
image: {{ calico_cni_image_repo }}:{{ calico_cni_image_tag }}
command: ["{{ (calico_version is version('v3.16.0', '<'))|ternary('/install-cni.sh','/opt/cni/bin/install') }}"]
command: ["/opt/cni/bin/install"]
env:
# Name of the CNI config file to create.
- name: CNI_CONF_NAME