feat!: port updates from Gitea 10.1.1 chart (#356)
Co-authored-by: pat-s <patrick.schratz@gmail.com> Co-authored-by: pat-s <pat-s@noreply.gitea.com> Co-authored-by: justusbunsi <sk.bunsenbrenner@gmail.com> Co-authored-by: remogeissbuehler <remogeissbuehler@noreply.gitea.com> Co-authored-by: florianspk <florianspk@gmail.com> Co-authored-by: Oliver Fueckert <oliver@cubinet.de> Co-authored-by: Michael Kriese <michael.kriese@gmx.de> Reviewed-on: https://codeberg.org/forgejo-contrib/forgejo-helm/pulls/356 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Co-authored-by: alexandra catalina <git@garbage.world> Co-committed-by: alexandra catalina <git@garbage.world>
This commit is contained in:
parent
02d4ec569d
commit
4cc8fb9f35
14 changed files with 398 additions and 26 deletions
|
@ -45,7 +45,7 @@ stringData:
|
|||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
|
||||
{{- end }}
|
||||
config_environment.sh: |-
|
||||
#!/usr/bin/env bash
|
||||
|
@ -63,7 +63,7 @@ stringData:
|
|||
# skip empty line
|
||||
return
|
||||
fi
|
||||
|
||||
|
||||
# 'xargs echo -n' trims all leading/trailing whitespaces and a trailing new line
|
||||
local setting="$(awk -F '=' '{print $1}' <<< "${line}" | xargs echo -n)"
|
||||
|
||||
|
@ -173,8 +173,10 @@ stringData:
|
|||
env2ini::log "...Initial secrets generated\n"
|
||||
}
|
||||
|
||||
env | (grep FORGEJO || [[ $? == 1 ]]) > /tmp/existing-envs
|
||||
|
||||
# save existing envs prior to script execution. Necessary to keep order of
|
||||
# preexisting and custom envs
|
||||
env | (grep -e '^FORGEJO__' || [[ $? == 1 ]]) > /tmp/existing-envs
|
||||
|
||||
# MUST BE CALLED BEFORE OTHER CONFIGURATION
|
||||
env2ini::generate_initial_secrets
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue