Skip to content

Commit

Permalink
Assert that upgrade from current version is supported #1474
Browse files Browse the repository at this point in the history
  • Loading branch information
rafzei committed Jul 16, 2020
1 parent 1f35823 commit eb1d9a6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@
import_tasks: kubernetes/get-cluster-version.yml # sets cluster_version
delegate_to: "{{ groups['kubernetes_master'][0] }}"

- name: Check if upgrade from current version is supported
assert:
that: cluster_version is version('v1.14.6','>=')
fail_msg: Upgrade from versions under v1.14.6 (Epiphany 0.4.4) are not supported. For additional informations refer to the documentation.
quiet: true

- name: Include get-kubelet-version.yml
import_tasks: kubernetes/get-kubelet-version.yml # sets kubelet_version
delegate_to: "{{ groups['kubernetes_master'][0] }}"
Expand Down

0 comments on commit eb1d9a6

Please sign in to comment.