Calico: use --allow-version-mismatch in calicoctl.sh to allow upgrades (#7873)

This commit is contained in:
Cristian Calin
2021-08-21 00:30:48 +03:00
committed by GitHub
parent dfd35892f2
commit 0ac364dfae
2 changed files with 2 additions and 2 deletions

View File

@@ -5,4 +5,4 @@ KUBECONFIG=/etc/kubernetes/admin.conf \
{% else %}
KUBECONFIG=/etc/cni/net.d/calico-kubeconfig \
{% endif %}
{{ bin_dir }}/calicoctl "$@"
{{ bin_dir }}/calicoctl {% if calico_version is version('v3.20.0', '>=') %}--allow-version-mismatch{% endif %} "$@"