Skip to content
Snippets Groups Projects
Unverified Commit 0ac364df authored by Cristian Calin's avatar Cristian Calin Committed by GitHub
Browse files

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

parent dfd35892
No related branches found
No related tags found
No related merge requests found
...@@ -3,4 +3,4 @@ ETCD_ENDPOINTS={{ etcd_access_addresses }} \ ...@@ -3,4 +3,4 @@ ETCD_ENDPOINTS={{ etcd_access_addresses }} \
ETCD_CA_CERT_FILE={{ calico_cert_dir }}/ca_cert.crt \ ETCD_CA_CERT_FILE={{ calico_cert_dir }}/ca_cert.crt \
ETCD_CERT_FILE={{ calico_cert_dir }}/cert.crt \ ETCD_CERT_FILE={{ calico_cert_dir }}/cert.crt \
ETCD_KEY_FILE={{ calico_cert_dir }}/key.pem \ ETCD_KEY_FILE={{ calico_cert_dir }}/key.pem \
{{ bin_dir }}/calicoctl "$@" {{ bin_dir }}/calicoctl {% if calico_version is version('v3.20.0', '>=') %}--allow-version-mismatch{% endif %} "$@"
...@@ -5,4 +5,4 @@ KUBECONFIG=/etc/kubernetes/admin.conf \ ...@@ -5,4 +5,4 @@ KUBECONFIG=/etc/kubernetes/admin.conf \
{% else %} {% else %}
KUBECONFIG=/etc/cni/net.d/calico-kubeconfig \ KUBECONFIG=/etc/cni/net.d/calico-kubeconfig \
{% endif %} {% endif %}
{{ bin_dir }}/calicoctl "$@" {{ bin_dir }}/calicoctl {% if calico_version is version('v3.20.0', '>=') %}--allow-version-mismatch{% endif %} "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment