소스 검색

set secure cookie based on the cert (#2267)

* set secure cookie based on the cert

* fmt
Stavros Kois 1 년 전
부모
커밋
090dc9a9f8
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      library/ix-dev/community/n8n/Chart.yaml
  2. 1 0
      library/ix-dev/community/n8n/templates/_configuration.tpl

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