From e673d59fdc4869fa47f769e97d07966bdae85add Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Tue, 15 Nov 2022 21:50:32 +0300 Subject: [PATCH] Add redis dependency --- Chart.yaml | 6 ++++++ templates/config.yaml | 1 + 2 files changed, 7 insertions(+) diff --git a/Chart.yaml b/Chart.yaml index 20c2177..303ef1d 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -10,3 +10,9 @@ maintainers: name: Konstantin Grachev sources: - https://git.grachevko.ru/n8n/chart +dependencies: + - name: redis + version: ~16.4.0 + repository: https://charts.bitnami.com/bitnami + alias: redis + condition: redis.enabled diff --git a/templates/config.yaml b/templates/config.yaml index abe6701..c51953f 100644 --- a/templates/config.yaml +++ b/templates/config.yaml @@ -17,4 +17,5 @@ data: N8N_DIAGNOSTICS_ENABLED: {{ .Values.config.executions.data.max_age | quote }} 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 {{- end }}