mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-01 09:38:12 -03:30
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:
@@ -179,7 +179,6 @@
|
||||
when:
|
||||
- inventory_hostname == groups['kube_control_plane'][0]
|
||||
- calico_conf_ipv6.stdout is defined and calico_conf_ipv6.stdout == "0"
|
||||
- calico_version is version("v3.3.0", ">=")
|
||||
- enable_dual_stack_networks | bool
|
||||
|
||||
- name: Populate Service External IPs
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user