From 090dc9a9f876cd8ddc1b8574e8d907a1392e803f Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:18:37 +0200 Subject: [PATCH] set secure cookie based on the cert (#2267) * set secure cookie based on the cert * fmt --- library/ix-dev/community/n8n/Chart.yaml | 2 +- library/ix-dev/community/n8n/templates/_configuration.tpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/library/ix-dev/community/n8n/Chart.yaml b/library/ix-dev/community/n8n/Chart.yaml index f05f9d3f30..077a76c4d0 100644 --- a/library/ix-dev/community/n8n/Chart.yaml +++ b/library/ix-dev/community/n8n/Chart.yaml @@ -3,7 +3,7 @@ description: n8n is an extendable workflow automation tool. annotations: title: n8n type: application -version: 1.2.29 +version: 1.2.30 apiVersion: v2 appVersion: 1.32.1 kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/community/n8n/templates/_configuration.tpl b/library/ix-dev/community/n8n/templates/_configuration.tpl index 21cd8724ad..ff18024e80 100644 --- a/library/ix-dev/community/n8n/templates/_configuration.tpl +++ b/library/ix-dev/community/n8n/templates/_configuration.tpl @@ -76,6 +76,7 @@ configmap: N8N_PORT: {{ .Values.n8nNetwork.webPort | quote }} N8N_HOST: {{ .Values.n8nConfig.webHost | quote }} GENERIC_TIMEZONE: {{ .Values.TZ }} + N8N_SECURE_COOKIE: {{ ternary "true" "false" (eq $prot "https") | quote }} N8N_PROTOCOL: {{ $prot }} N8N_USER_FOLDER: "/data" {{- if .Values.n8nNetwork.certificateID }}