set secure cookie based on the cert (#2267)

* set secure cookie based on the cert

* fmt
This commit is contained in:
Stavros Kois
2024-03-11 14:18:37 +02:00
committed by GitHub
parent 29d32b1997
commit 090dc9a9f8
2 changed files with 2 additions and 1 deletions

View File

@@ -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'

View File

@@ -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 }}