From 5fbbcedebcf4c147ec3c94d51c328442a45fef4e Mon Sep 17 00:00:00 2001
From: Tristan <tde@hey.com>
Date: Tue, 24 Jan 2023 00:20:17 +0000
Subject: [PATCH] 9693: Fix comma-separated-list splitting of
 kubelet_enforce_node_allocatable (#9694)

See https://github.com/kubernetes-sigs/kubespray/issues/9693
---
 roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2 b/roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2
index 885fc2ed7..55c5c005a 100644
--- a/roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2
+++ b/roles/kubernetes/node/templates/kubelet-config.v1beta1.yaml.j2
@@ -16,7 +16,7 @@ authorization:
   mode: AlwaysAllow
 {% endif %}
 {% if kubelet_enforce_node_allocatable is defined and kubelet_enforce_node_allocatable != "\"\"" %}
-{% set kubelet_enforce_node_allocatable_list = kubelet_enforce_node_allocatable.split() %}
+{% set kubelet_enforce_node_allocatable_list = kubelet_enforce_node_allocatable.split(",") %}
 enforceNodeAllocatable:
 {% for item in kubelet_enforce_node_allocatable_list %}
 - {{ item }}
-- 
GitLab