From fbf933ca8e42f6e132ef33b085f0bfc515d7e349 Mon Sep 17 00:00:00 2001 From: LiteLotus Date: Thu, 26 Sep 2024 11:21:45 +0100 Subject: [PATCH] authentik: fix numbers parsing in env variables (#287) --- charts/authentik/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/authentik/templates/_helpers.tpl b/charts/authentik/templates/_helpers.tpl index 28f1c8e7..c159d0b8 100644 --- a/charts/authentik/templates/_helpers.tpl +++ b/charts/authentik/templates/_helpers.tpl @@ -25,7 +25,7 @@ Create authentik configuration environment variables. {{- end -}} {{- else -}} {{- $value := $v -}} - {{- if or (kindIs "bool" $v) (kindIs "float64" $v) -}} + {{- if or (kindIs "bool" $v) (kindIs "float64" $v) (kindIs "int" $v) (kindIs "int64" $v) -}} {{- $v = $v | toString | b64enc | quote -}} {{- else -}} {{- $v = tpl $v $.root | toString | b64enc | quote }}