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:
alexandra catalina 2024-02-21 21:52:42 +00:00 committed by Michael Kriese
parent 02d4ec569d
commit 4cc8fb9f35
14 changed files with 398 additions and 26 deletions

View file

@ -18,3 +18,19 @@
echo "Visit http://127.0.0.1:{{ .Values.service.http.port }} to use your application"
kubectl --namespace {{ .Release.Namespace }} port-forward svc/{{ .Release.Name }}-http {{ .Values.service.http.port }}:{{ .Values.service.http.port }}
{{- end }}
{{- $warnings := list -}}
{{- if eq (get .Values.gitea.config.cache "ADAPTER") "memory" -}}
{{- $warnings = append $warnings "Forgejo uses 'memory' for caching which is not recommended for production use. See https://forgejo.org/docs/latest/admin/config-cheat-sheet/#cache-cache for available options." -}}
{{- end }}
{{- if eq (get .Values.gitea.config.queue "TYPE") "level" -}}
{{- $warnings = append $warnings "Forgejo uses 'leveldb' for queue actions which is not recommended for production use. See https://forgejo.org/docs/latest/admin/config-cheat-sheet/#queue-queue-and-queue for available options." -}}
{{- end }}
{{- if eq (get .Values.gitea.config.session "PROVIDER") "memory" -}}
{{- $warnings = append $warnings "Forgejo uses 'memory' for sessions which is not recommended for production use. See https://forgejo.org/docs/latest/admin/config-cheat-sheet/#session-session for available options." -}}
{{- end }}
{{- if gt (len $warnings) 0 }}
2. Review these warnings:
{{- range $warnings }}
- {{ . }}
{{- end }}
{{- end }}