Browse Source
return the ability to update calico from 3.x.x version (#7290)
version check fixed
pull/7292/head
Sergey
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
|
|
@ -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' |
|
|
|