From 08c82581a13ddc1409fffdd22dbc2c90db738c95 Mon Sep 17 00:00:00 2001 From: Yui Terashima Date: Wed, 6 Feb 2019 18:14:01 +0900 Subject: [PATCH] [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 --- stable/envoy/Chart.yaml | 2 +- stable/envoy/templates/configmap.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stable/envoy/Chart.yaml b/stable/envoy/Chart.yaml index aed605ad88..cd54a0f48e 100755 --- a/stable/envoy/Chart.yaml +++ b/stable/envoy/Chart.yaml @@ -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 diff --git a/stable/envoy/templates/configmap.yaml b/stable/envoy/templates/configmap.yaml index ace20dcc0f..f55a4eda7d 100644 --- a/stable/envoy/templates/configmap.yaml +++ b/stable/envoy/templates/configmap.yaml @@ -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 -}}