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

Reviewed-on: https://code.forgejo.org/forgejo-helm/forgejo-helm/pulls/726
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:18:14 +00:00 committed by Michael Kriese
parent 0d6bb88040
commit d2356f044a

View file

@ -216,7 +216,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 -}}