From 1bb76e4b008cab1b773d4842a5e56af91573da22 Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Fri, 30 Nov 2018 12:00:13 -0800 Subject: [PATCH] fix malformed clusterautoscaler yaml bug (#4322) --- .../kubernetesmasteraddons-cluster-autoscaler-deployment.yaml | 2 +- pkg/api/addons.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parts/k8s/containeraddons/kubernetesmasteraddons-cluster-autoscaler-deployment.yaml b/parts/k8s/containeraddons/kubernetesmasteraddons-cluster-autoscaler-deployment.yaml index f2efec19f8..0d35ea49be 100644 --- a/parts/k8s/containeraddons/kubernetesmasteraddons-cluster-autoscaler-deployment.yaml +++ b/parts/k8s/containeraddons/kubernetesmasteraddons-cluster-autoscaler-deployment.yaml @@ -204,7 +204,7 @@ spec: key: VMType name: cluster-autoscaler-azure - name: ARM_USE_MANAGED_IDENTITY_EXTENSION - value: + value: "" volumeMounts: - mountPath: /etc/ssl/certs/ca-certificates.crt name: ssl-certs diff --git a/pkg/api/addons.go b/pkg/api/addons.go index e9b6dcec13..85addd81c8 100644 --- a/pkg/api/addons.go +++ b/pkg/api/addons.go @@ -55,8 +55,8 @@ func (cs *ContainerService) setAddonsConfig(isUpdate bool) { Name: DefaultClusterAutoscalerAddonName, Enabled: helpers.PointerToBool(DefaultClusterAutoscalerAddonEnabled), Config: map[string]string{ - "minNodes": "1", - "maxNodes": "5", + "min-nodes": "1", + "max-nodes": "5", }, Containers: []KubernetesContainerSpec{ {