Browse Source

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

pull/6755/head
emiran-orange 4 years ago
committed by GitHub
parent
commit
081a9e7bd8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/network_plugin/calico/templates/calico-node.yml.j2

2
roles/network_plugin/calico/templates/calico-node.yml.j2

@ -63,7 +63,7 @@ spec:
# and CNI network config file on each node. # and CNI network config file on each node.
- name: install-cni - name: install-cni
image: {{ calico_cni_image_repo }}:{{ calico_cni_image_tag }} 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: env:
# Name of the CNI config file to create. # Name of the CNI config file to create.
- name: CNI_CONF_NAME - name: CNI_CONF_NAME

Loading…
Cancel
Save