Skip to content

Commit

Permalink
Allow empty kube_node group (kubernetes-sigs#11248)
Browse files Browse the repository at this point in the history
While uncommon, provisioning only a control plane is a valid use case,
so don't block it.
  • Loading branch information
VannTen authored and ehsan310 committed May 31, 2024
1 parent a9ab584 commit b14e73a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions roles/kubernetes/preinstall/tasks/0040-verify-settings.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
- name: Stop if either kube_control_plane or kube_node group is empty
assert:
that: "groups.get( item )"
with_items:
- kube_control_plane
- kube_node
that: groups.get( 'kube_control_plane' )
run_once: true
when: not ignore_assert_errors

Expand Down

0 comments on commit b14e73a

Please sign in to comment.