Bladeren bron

set secure cookie based on the cert (#2267)

* set secure cookie based on the cert

* fmt
Stavros Kois 1 jaar geleden
bovenliggende
commit
090dc9a9f8

+ 1 - 1
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'

+ 1 - 0
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 }}