Store gitea app data in PVC (#37)
All checks were successful
continuous-integration/drone/push Build is passing

Bump Chart version Extend REAMDE - add default handling explanation - add MariaDB values Add APP_DATA_PATH default to config Co-authored-by: Lucas Hahn <lucas.hahn@novum-rgi.de> Reviewed-on: gitea/helm-chart#37 Reviewed-by: Andrew Thornton <art27@cantab.net> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit was merged in pull request #37.
This commit is contained in:
luhahn
2020-10-06 09:03:20 +00:00
committed by Lunny Xiao
parent d1fac6ce7d
commit 4c17cc839e

View File

@@ -62,6 +62,9 @@ stringData:
{{- if not (hasKey .Values.gitea.config.server "SSH_LISTEN_PORT") -}}
{{- $_ := set .Values.gitea.config.server "SSH_LISTEN_PORT" .Values.gitea.config.server.SSH_PORT -}}
{{- end -}}
{{- if not (hasKey .Values.gitea.config.server "APP_DATA_PATH") -}}
{{- $_ := set .Values.gitea.config.server "APP_DATA_PATH" "/data" -}}
{{- end -}}
{{- /* database default settings */ -}}
{{- if .Values.gitea.database.builtIn.postgresql.enabled -}}