Skip to content

Commit

Permalink
Merge pull request #85 from Diaoul/patch-1
Browse files Browse the repository at this point in the history
Fix check nodes ready without flannel
  • Loading branch information
xanmanning authored Jan 23, 2021
2 parents e954ba1 + 1b4d3dd commit 3716774
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion molecule/nodeploy/k3s_server.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

flannel-backend: 'host-gw'
flannel-backend: 'none'
disable-scheduler: true
disable-cloud-controller: true
disable-network-policy: true
Expand Down
4 changes: 2 additions & 2 deletions tasks/validate/state/nodes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
retries: 30
delay: 20
when: k3s_control_node
and (("disable" not in k3s_runtime_config)
or ("disable" in k3s_runtime_config and "flannel" not in k3s_runtime_config.disable))
and ("flannel-backend" not in k3s_runtime_config
or k3s_runtime_config["flannel-backend"] != "none")
and not ansible_check_mode
become: "{{ k3s_become_for_kubectl | ternary(true, false, k3s_become_for_all) }}"

0 comments on commit 3716774

Please sign in to comment.