From 1412e8505e7c9b185f42a094aa736ebb10df51c8 Mon Sep 17 00:00:00 2001 From: Roman Wozniak Date: Mon, 2 Aug 2021 10:25:38 +0300 Subject: [PATCH] - fix helm chart to support double-quotes in db-migration files (#31) --- chart/templates/configmap-db-migrations.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chart/templates/configmap-db-migrations.yaml b/chart/templates/configmap-db-migrations.yaml index ab7efc2e..d846701f 100644 --- a/chart/templates/configmap-db-migrations.yaml +++ b/chart/templates/configmap-db-migrations.yaml @@ -5,5 +5,6 @@ metadata: data: {{- $root := . }} {{ range $path, $_ := .Files.Glob "db-migrations/*.sql" }} - {{ base $path }}: "{{ $root.Files.Get $path }}" +{{ base $path | indent 2 }}: |- +{{ $root.Files.Get $path | indent 4}} {{- end }}