fix: Support Slogan and Display Name Format (#731)

Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/731
Reviewed-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: SIMULATAN <simulatan@noreply.code.forgejo.org>
Co-committed-by: SIMULATAN <simulatan@noreply.code.forgejo.org>
This commit is contained in:
SIMULATAN 2024-08-11 06:19:03 +00:00 committed by Michael Kriese
parent ef90a722e1
commit 3d930aa0b7

View file

@ -208,7 +208,7 @@ https
{{- $_ := set $inlines $key (join "\n" $section) -}}
{{- end -}}
{{- else }}
{{- if or (eq $key "APP_NAME") (eq $key "RUN_USER") (eq $key "RUN_MODE") -}}
{{- if or (eq $key "APP_NAME") (eq $key "RUN_USER") (eq $key "RUN_MODE") (eq $key "APP_SLOGAN") (eq $key "APP_DISPLAY_NAME_FORMAT") -}}
{{- $generals = append $generals (printf "%s=%s" $key $value) -}}
{{- else -}}
{{- (printf "Key %s cannot be on top level of configuration" $key) | fail -}}