From 95c063a964552175d7097cf62210b19f86455156 Mon Sep 17 00:00:00 2001 From: pat-s Date: Wed, 13 Dec 2023 10:16:32 +0100 Subject: [PATCH] print warning in notes.txt for fallback config --- templates/NOTES.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/templates/NOTES.txt b/templates/NOTES.txt index 25b35e7..749526f 100644 --- a/templates/NOTES.txt +++ b/templates/NOTES.txt @@ -18,3 +18,12 @@ 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 }} +{{- if (get .Values.gitea.config.cache "ADAPTER") "memory" -}} + echo "Warning: Gitea is using the 'memory' setting for caching which is not recommended for production use cases. See https://docs.gitea.com/next/administration/config-cheat-sheet#cache-cache for available options." +{{- end }} +{{- if (get .Values.gitea.config.queue "TYPE") "level" -}} + echo "Warning: Gitea is using the 'level' setting for queue actions which is not recommended for production use cases. See https://docs.gitea.com/next/administration/config-cheat-sheet#queue-queue-and-queue for available options." +{{- end }} +{{- if (get .Values.gitea.config.session "PROVIDER") "memory" -}} + echo "Warning: Gitea is using the 'memory' setting for session actions which is not recommended for production use cases. See https://docs.gitea.com/next/administration/config-cheat-sheet#session-session for available options." +{{- end }} \ No newline at end of file