mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 05:45:06 +03:00
Allow empty kube_node group (#11249)
While uncommon, provisioning only a control plane is a valid use case, so don't block it. Co-authored-by: Max Gautier <mg@max.gautier.name>
This commit is contained in:
committed by
GitHub
parent
7e0a407250
commit
6443d43bd4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user