From 77c2779e4e2afec97b0d532e3913036e1de89aa9 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Sun, 10 Mar 2024 01:42:46 +0200 Subject: [PATCH] set it as a string, due to helm being helm --- library/common/templates/spawner/_cnpg.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/templates/spawner/_cnpg.tpl b/library/common/templates/spawner/_cnpg.tpl index 083cc913..d2cb7c5c 100644 --- a/library/common/templates/spawner/_cnpg.tpl +++ b/library/common/templates/spawner/_cnpg.tpl @@ -39,7 +39,7 @@ {{- end -}} {{/* Set the updated pgVersion version to objectData */}} - {{- $_ := set $objectData "pgVersion" $pgVersion -}} + {{- $_ := set $objectData "pgVersion" ($pgVersion | toString) -}} {{/* Ensure configmap with pgVersion is updated */}} {{- $verConfig := include "tc.v1.common.lib.cnpg.configmap.pgVersion" (dict "version" $pgVersion) | fromYaml -}}