From 0a3982ff7f9167dfe37cacfe3ff2857b51abb3e3 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Fri, 18 Oct 2024 08:59:45 +0200 Subject: [PATCH] fixed empty env to list --- templates/_statefulset.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/_statefulset.tpl b/templates/_statefulset.tpl index 6992bcb..c0f9add 100644 --- a/templates/_statefulset.tpl +++ b/templates/_statefulset.tpl @@ -51,7 +51,7 @@ spec: {{- end -}} {{- end }} env: - {{- include "lib.environmentVariables" . | default "{}" | nindent 12 }} + {{- include "lib.environmentVariables" . | default "[]" | nindent 12 }} livenessProbe: {{- toYaml .Values.livenessProbe | nindent 12 }} readinessProbe: