diff --git a/stable/cluster-autoscaler/Chart.yaml b/stable/cluster-autoscaler/Chart.yaml index b168310ecf..28a50caac4 100644 --- a/stable/cluster-autoscaler/Chart.yaml +++ b/stable/cluster-autoscaler/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 description: Scales worker nodes within autoscaling groups. icon: https://github.com/kubernetes/kubernetes/blob/master/logo/logo.png name: cluster-autoscaler -version: 0.4.0 +version: 0.4.1 appVersion: 1.1.0 sources: - https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler diff --git a/stable/cluster-autoscaler/templates/deployment.yaml b/stable/cluster-autoscaler/templates/deployment.yaml index d1d33afec5..a51b82a92c 100644 --- a/stable/cluster-autoscaler/templates/deployment.yaml +++ b/stable/cluster-autoscaler/templates/deployment.yaml @@ -39,7 +39,7 @@ spec: - --nodes={{ .minSize }}:{{ .maxSize }}:{{ .name }} {{- end }} {{- range $key, $value := .Values.extraArgs }} - - --{{ $key }}={{ $value }} + - --{{ $key }}{{ if $value }}={{ $value }}{{ end }} {{- end }} env: {{- if eq .Values.cloudProvider "aws" }}