mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/cluster-autoscaler] Fix secret template (#15815)
Don't generate a secret when provider is AWS and credentials are not given. Signed-off-by: Eric Bailey <e.bailey@sportradar.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
0771fc7e4c
commit
0f78d5344a
@@ -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.14.3
|
||||
version: 0.14.4
|
||||
appVersion: 1.13.1
|
||||
home: https://github.com/kubernetes/autoscaler
|
||||
sources:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- if or (eq .Values.cloudProvider "azure") (eq .Values.cloudProvider "aws") }}
|
||||
{{- if or (eq .Values.cloudProvider "azure") (and (eq .Values.cloudProvider "aws") (not (has "" (list .Values.awsAccessKeyID .Values.awsSecretAccessKey)))) }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user