return the ability to update calico from 3.x.x version (#7290)
version check fixed
This commit is contained in:
parent
3749729d5a
commit
42947c9840
1 changed files with 2 additions and 2 deletions
|
@ -184,8 +184,8 @@
|
||||||
- name: Check that current calico version is enough for upgrade
|
- name: Check that current calico version is enough for upgrade
|
||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- calico_version_on_server.stdout is 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 {{ calico_min_version_required }}"
|
msg: "Your version of calico is not fresh enough for upgrade. Minimum version is v3.0.0"
|
||||||
when:
|
when:
|
||||||
- kube_network_plugin == 'calico'
|
- kube_network_plugin == 'calico'
|
||||||
- 'calico_version_on_server.stdout is defined'
|
- 'calico_version_on_server.stdout is defined'
|
||||||
|
|
Loading…
Reference in a new issue