From 61f92c00756bef0ec573b3aa310e17ee680c92a4 Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Tue, 15 Nov 2022 22:22:59 +0300 Subject: [PATCH] Add N8N_LOG_LEVEL and config.debug value --- templates/config.yaml | 3 +++ values.yaml | 1 + 2 files changed, 4 insertions(+) diff --git a/templates/config.yaml b/templates/config.yaml index d83299a..0a96677 100644 --- a/templates/config.yaml +++ b/templates/config.yaml @@ -17,4 +17,7 @@ data: NODE_FUNCTION_ALLOW_BUILTIN: {{ .Values.config.node.function.allow.builtin | quote }} NODE_FUNCTION_ALLOW_EXTERNAL: {{ .Values.config.node.function.allow.external | quote }} QUEUE_BULL_REDIS_HOST: {{ include "n8n.fullname" . }}-redis + {{- if .Values.config.debug }} + N8N_LOG_LEVEL: debug + {{- end }} {{- end }} diff --git a/values.yaml b/values.yaml index abd2c83..a5fab44 100644 --- a/values.yaml +++ b/values.yaml @@ -1,4 +1,5 @@ config: + debug: "false" db_type: postgresdb postgres: database: n8n