From 13175b044a21bfb906fca2bd2af678f8d04b8725 Mon Sep 17 00:00:00 2001 From: Benjamin Elder Date: Thu, 4 Aug 2022 16:20:35 -0700 Subject: [PATCH] simplify template --- pkg/cluster/internal/kubeadm/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cluster/internal/kubeadm/config.go b/pkg/cluster/internal/kubeadm/config.go index 08bed58418..7e846d7675 100644 --- a/pkg/cluster/internal/kubeadm/config.go +++ b/pkg/cluster/internal/kubeadm/config.go @@ -539,7 +539,7 @@ evictionHard: {{ range $key := .SortedFeatureGateKeys }} "{{ $key }}": {{ index $.FeatureGates $key }} {{end}}{{end}} -localStorageCapacityIsolation: {{if .DisableLocalStorageCapacityIsolation}}false{{else}}true{{end}} +{{if .DisableLocalStorageCapacityIsolation}}localStorageCapacityIsolation: false{{end}} {{if ne .KubeProxyMode "None"}} --- apiVersion: kubeproxy.config.k8s.io/v1alpha1