File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
helm/aws-load-balancer-controller/templates Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -62,15 +62,17 @@ spec:
6262 containers :
6363 - name : {{ .Chart.Name }}
6464 args :
65- - --cluster-name={{ required "Chart cannot be installed without a valid clusterName!" .Values.clusterName }}
65+ - --cluster-name={{ required "Chart cannot be installed without a valid clusterName!" (tpl (default "" .Values.clusterName) .) }}
6666 {{- if .Values.ingressClass }}
6767 - --ingress-class={{ .Values.ingressClass }}
6868 {{- end }}
69- {{- if .Values.region }}
69+ {{- $region := tpl (default "" .Values.region) . }}
70+ {{- if $region }}
7071 - --aws-region={{ .Values.region }}
7172 {{- end }}
72- {{- if .Values.vpcId }}
73- - --aws-vpc-id={{ .Values.vpcId }}
73+ {{- $vpcID := tpl (default "" .Values.vpcId) . }}
74+ {{- if $vpcID }}
75+ - --aws-vpc-id={{ $vpcID }}
7476 {{- end }}
7577 {{- if .Values.awsApiEndpoints }}
7678 - --aws-api-endpoints={{ .Values.awsApiEndpoints }}
You can’t perform that action at this time.
0 commit comments