Skip to content

Commit

Permalink
authentik: fix numbers parsing in env variables (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lite5h4dow authored Sep 26, 2024
1 parent 2224883 commit fbf933c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/authentik/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit fbf933c

Please sign in to comment.