return the ability to update calico from 3.x.x version (#7290)

version check fixed
This commit is contained in:
Sergey 2021-02-17 11:07:06 +03:00 committed by GitHub
parent 3749729d5a
commit 42947c9840
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -184,8 +184,8 @@
- name: Check that current calico version is enough for upgrade
assert:
that:
- calico_version_on_server.stdout is version(calico_min_version_required, '>=')
msg: "Your version of calico is not fresh enough for upgrade. Minimum version {{ calico_min_version_required }}"
- calico_version_on_server.stdout is version( 'v3.0.0', '>=')
msg: "Your version of calico is not fresh enough for upgrade. Minimum version is v3.0.0"
when:
- kube_network_plugin == 'calico'
- 'calico_version_on_server.stdout is defined'