From 892bac43f269c837eb674397489e4ec391d4f007 Mon Sep 17 00:00:00 2001 From: Adam Hamsik Date: Sat, 27 Jan 2018 18:37:31 +0100 Subject: [PATCH] Add ability to pass boolean args to cluster-autoscaler like logtostderr (#3297) * Add ability to pass boolean args to cluster-autoscaler like logtostderr * Bump chart version --- stable/cluster-autoscaler/Chart.yaml | 2 +- stable/cluster-autoscaler/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" }}