Skip to content
Snippets Groups Projects
Unverified Commit 081a9e7b authored by emiran-orange's avatar emiran-orange Committed by GitHub
Browse files

/opt/cni/bin/install not before calico 3.16 (#6738)

parent 55d8ed09
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,7 @@ spec:
# and CNI network config file on each node.
- name: install-cni
image: {{ calico_cni_image_repo }}:{{ calico_cni_image_tag }}
command: ["/opt/cni/bin/install"]
command: ["{{ (calico_version is version('v3.16.0', '<'))|ternary('/install-cni.sh','/opt/cni/bin/install') }}"]
env:
# Name of the CNI config file to create.
- name: CNI_CONF_NAME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment