Skip to content

Commit

Permalink
preinstall: check etcd_deployment_type (kubernetes-sigs#7149)
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
  • Loading branch information
champtar committed Jan 13, 2021
1 parent 02213d6 commit 8331939
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
Expand Up @@ -275,6 +275,13 @@
msg: "The etcd deployment type, 'etcd_deployment_type', must be host or docker"
run_once: true

- name: Stop if etcd deployment type is not host when container_manager != docker
assert:
that: etcd_deployment_type == 'host'
msg: "The etcd deployment type, 'etcd_deployment_type', must be host when container_manager is not docker"
when: container_manager != 'docker'
run_once: true

- name: Stop if download_localhost is enabled but download_run_once is not
assert:
that: download_run_once
Expand Down

0 comments on commit 8331939

Please sign in to comment.