From 27be2197c0e4b960af990a3e67217455d401c7b2 Mon Sep 17 00:00:00 2001 From: "ahmad.mohammadi" Date: Mon, 28 Feb 2022 11:45:18 +0330 Subject: [PATCH] fix(helm): fix unclosed action issue --- deploy/charts/emqx/templates/StatefulSet.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deploy/charts/emqx/templates/StatefulSet.yaml b/deploy/charts/emqx/templates/StatefulSet.yaml index 73ce5ef77..d593cefb9 100644 --- a/deploy/charts/emqx/templates/StatefulSet.yaml +++ b/deploy/charts/emqx/templates/StatefulSet.yaml @@ -1,8 +1,8 @@ -{{ $configData := printf "%s\n%s\n%s\n%s" - (include (print $.Template.BasePath "/configmap.env.yaml") .) - (include (print $.Template.BasePath "/configmap.acl.yaml") .) - (include (print $.Template.BasePath "/configmap.loadedPlugins.yaml") .) - (include (print $.Template.BasePath "/configmap.loadedModules.yaml") .) }} +{{ $cfgEnv := printf "%s" (include (print $.Template.BasePath "/configmap.env.yaml") .) }} +{{ $cfgAcl := printf "%s" (include (print $.Template.BasePath "/configmap.acl.yaml") .) }} +{{ $cfgPlugins := printf "%s" (include (print $.Template.BasePath "/configmap.loadedPlugins.yaml") .) }} +{{ $cfgModules := printf "%s" (include (print $.Template.BasePath "/configmap.loadedModules.yaml") .) }} +{{ $configData := printf "%s\n%s\n%s\n%s" $cfgEnv $cfgAcl $cfgPlugins $cfgModules}} ## Compatible with previous misspellings {{ $licenseSecretName := coalesce .Values.emqxLicenseSecretName .Values.emqxLicneseSecretName }} {{ $image := printf "%s:%s" .Values.image.repository (default .Values.image.tag .Chart.AppVersion) }}