diff --git a/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml b/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml index 791aca6b1aa9..c241137f91bf 100644 --- a/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml +++ b/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml @@ -11,4 +11,4 @@ name: cluster-autoscaler sources: - https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler type: application -version: 9.56.0 +version: 9.56.1 diff --git a/cluster-autoscaler/charts/cluster-autoscaler/templates/vpa.yaml b/cluster-autoscaler/charts/cluster-autoscaler/templates/vpa.yaml index 560dab00a4de..21a1dd8ee22a 100644 --- a/cluster-autoscaler/charts/cluster-autoscaler/templates/vpa.yaml +++ b/cluster-autoscaler/charts/cluster-autoscaler/templates/vpa.yaml @@ -18,5 +18,7 @@ spec: resourcePolicy: containerPolicies: - containerName: {{ template "cluster-autoscaler.name" . }} - {{- .Values.vpa.containerPolicy | toYaml | nindent 6 }} + {{- with .Values.vpa.containerPolicy }} + {{- toYaml . | nindent 6 }} + {{- end }} {{- end -}}