forked from iguazio/kubespray-offline
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch verify-settings from upstream kubernetes-sigs/kubespray#10699
- Loading branch information
Dany Kaufman
committed
Jan 1, 2024
1 parent
add6c9e
commit cdf825b
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/roles/kubernetes/preinstall/tasks/0040-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0040-verify-settings.yml | ||
index 8cc11b6..dcf3a8d 100644 | ||
--- a/roles/kubernetes/preinstall/tasks/0040-verify-settings.yml | ||
+++ b/roles/kubernetes/preinstall/tasks/0040-verify-settings.yml | ||
@@ -1,7 +1,7 @@ | ||
--- | ||
- name: Stop if either kube_control_plane or kube_node group is empty | ||
assert: | ||
- that: "groups.get('{{ item }}')" | ||
+ that: "groups.get( item )" | ||
with_items: | ||
- kube_control_plane | ||
- kube_node |