Merge branch 'main' into deployment

This commit is contained in:
pat-s 2023-07-17 07:47:13 +02:00
commit 70f6c78bd7
No known key found for this signature in database
GPG key ID: 3C6318841EF78925
3 changed files with 6 additions and 4 deletions

View file

@ -3,7 +3,7 @@ name: gitea
description: Gitea Helm chart for Kubernetes
type: application
version: 0.0.0
appVersion: 1.19.4
appVersion: 1.20.0
icon: https://docs.gitea.io/images/gitea.png
keywords:

View file

@ -226,7 +226,8 @@ We also support to directly interact with the generated _app.ini_.
To inject self defined variables into the _app.ini_ a certain format needs to be honored.
This is described in detail on the [env-to-ini](https://github.com/go-gitea/gitea/tree/main/contrib/environment-to-ini) page.
Note that the Prefix on this helm chart is `GITEA`.
Prior to Gitea 1.20 and Chart 9.0.0 the helm chart had a custom prefix `ENV_TO_INI`.
After the support for a custom prefix was removed in Gite core, the prefix was changed to `GITEA`.
For example a database setting needs to have the following format:

View file

@ -167,7 +167,8 @@ stringData:
env2ini::log "...Initial secrets generated\n"
}
# save existing envs prior to script execution. Necessary to keep order of preexisting and custom envs
env | (grep GITEA || [[ $? == 1 ]]) > /tmp/existing-envs
# MUST BE CALLED BEFORE OTHER CONFIGURATION
@ -195,4 +196,4 @@ stringData:
unset GITEA__SERVER__LFS_JWT_SECRET
fi
environment-to-ini -o $GITEA_APP_INI
environment-to-ini -o $GITEA_APP_INI