From 17a4a0ad377f5658f62547ea0a1852d0c83a67df Mon Sep 17 00:00:00 2001 From: Kalin Krustev Date: Wed, 1 Apr 2026 12:56:26 +0000 Subject: [PATCH] fix: add missing conditional end for simulator configuration loop --- mojaloop-simulator/templates/deployment.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mojaloop-simulator/templates/deployment.yaml b/mojaloop-simulator/templates/deployment.yaml index cb8ca9e67..e10bae7f8 100644 --- a/mojaloop-simulator/templates/deployment.yaml +++ b/mojaloop-simulator/templates/deployment.yaml @@ -5,6 +5,7 @@ {{- $releaseName := .Release.Name -}} {{- range $name, $customConfig := .Values.simulators }} +{{- if $customConfig }} {{- $fullName := printf "%s%s" $prefix $name }} {{- $config := merge $customConfig $.Values.defaults }} {{- $initContainerEnv := dict "SIM_NAME" $name "SIM_SCHEME_ADAPTER_SERVICE_NAME" (printf "sim-%s-scheme-adapter" $name) "SIM_BACKEND_SERVICE_NAME" (printf "sim-%s-backend" $name) "SIM_CACHE_SERVICE_NAME" (printf "sim-%s-cache" $name) -}} @@ -483,6 +484,10 @@ spec: --- {{- end }} ## +### End if +## +{{- end }} +## ### End loop through simulators ## {{ end }}