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 }}