Rework app.ini generation (#239)

App ini is now generated by environment-to-ini

This should prevent some of the problems we had earlier with persisting the app.ini

Co-authored-by: Lucas Hahn <[email protected]>
Reviewed-on: https://gitea.com/gitea/helm-chart/pulls/239
Reviewed-by: justusbunsi <[email protected]>
Reviewed-by: Andrew Thornton <[email protected]>
Co-authored-by: luhahn <[email protected]>
Co-committed-by: luhahn <[email protected]>
This commit is contained in:
luhahn
2021-11-20 05:15:45 +08:00
co-authored by Lucas Hahn
parent 82763f109b
commit 0461fa92a9
4 changed files with 118 additions and 44 deletions
-3
View File
@@ -33,9 +33,6 @@ stringData:
chown 1000:1000 "${GITEA_TEMP}"
chmod ug+rwx "${GITEA_TEMP}"
# Copy config file to writable volume
cp /etc/gitea/conf/app.ini /data/gitea/conf/app.ini
chmod a+rwx /data/gitea/conf/app.ini
configure_gitea.sh: |-
#!/usr/bin/env bash