diff --git a/charts/karpenter_nodes/Chart.yaml b/charts/karpenter_nodes/Chart.yaml index c7f69b1..e67b326 100644 --- a/charts/karpenter_nodes/Chart.yaml +++ b/charts/karpenter_nodes/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: karpenter_nodes -version: 1.1.4 +version: 1.1.5 description: A Helm chart for generating NodeClasses and NodePools for Karpenter maintainers: - name: nadavbuc diff --git a/charts/karpenter_nodes/templates/nodepool.yaml b/charts/karpenter_nodes/templates/nodepool.yaml index b0710a1..d43946b 100644 --- a/charts/karpenter_nodes/templates/nodepool.yaml +++ b/charts/karpenter_nodes/templates/nodepool.yaml @@ -156,9 +156,7 @@ spec: expireAfter: {{ $v.expireAfter | default $.Values.expireAfter }} disruption: consolidationPolicy: {{$v.consolidationPolicy | default $.Values.consolidationPolicy}} - {{- if eq ($v.consolidationPolicy | default $.Values.consolidationPolicy) "WhenEmpty" }} consolidateAfter: {{ $v.consolidateAfter | default $.Values.consolidateAfter }} - {{- end }} {{- if $v.budgets }} budgets: {{- toYaml $v.budgets | nindent 6 }}