[stable/envoy] Fix template for config files (#11180)

- Fix an argument mis-match on applying template for envoy.yaml file

Signed-off-by: Yui Terashima <yui@fog-rock.org>
This commit is contained in:
Yui Terashima
2019-02-06 01:14:01 -08:00
committed by Kubernetes Prow Robot
parent a7b1d4e54f
commit 08c82581a1
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Envoy is an open source edge and service proxy, designed for cloud-native applications.
name: envoy
version: 1.4.0
version: 1.4.1
appVersion: 1.9.0
keywords:
- envoy
+2 -1
View File
@@ -14,5 +14,6 @@ data:
{{- end -}}
{{- range $key, $value := .Values.templates }}
{{ $key }}: |-
{{ $value | default "" | tpl . | indent 4 }}
{{ $valueWithDefault := default "" $value -}}
{{ tpl $valueWithDefault $ | indent 4 }}
{{- end -}}