fix: auto-detect N8N_SECURE_COOKIE from Ingress/TLS settings
Helm Chart Release / release-chart (push) Successful in 4s
Helm Chart Release / release-chart (push) Successful in 4s
Set N8N_SECURE_COOKIE=true only when ingress.enabled=true AND ingress.tls is configured. All other cases (LoadBalancer, HTTP Ingress) default to false, eliminating the secure cookie error without manual configuration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -126,6 +126,16 @@ helm install my-n8n cafepieters/n8n \
|
||||
| `resources.limits.cpu` | `1000m` |
|
||||
| `resources.limits.memory` | `512Mi` |
|
||||
|
||||
## セキュアCookieの自動設定
|
||||
|
||||
`N8N_SECURE_COOKIE` は Ingress の設定に基づいて自動的に決定されます。手動設定は不要です。
|
||||
|
||||
| 条件 | `N8N_SECURE_COOKIE` |
|
||||
|---|---|
|
||||
| `ingress.enabled: false`(LoadBalancer / HTTP直接アクセス) | `false` |
|
||||
| `ingress.enabled: true` かつ `ingress.tls` 未設定 | `false` |
|
||||
| `ingress.enabled: true` かつ `ingress.tls` 設定済み | `true` |
|
||||
|
||||
## データ永続化について
|
||||
|
||||
n8n のデータ(ワークフロー定義・認証情報・実行履歴・SQLite DB)は `/home/node/.n8n` に保存されます。
|
||||
@@ -181,6 +191,7 @@ n8n:
|
||||
| バージョン | n8n | 変更内容 |
|
||||
|---|---|---|
|
||||
| 2.19.2 | 2.19.2 | 初回リリース |
|
||||
| 2.19.2-a | 2.19.2 | `N8N_SECURE_COOKIE` を Ingress/TLS 設定から自動判定(HTTP/LoadBalancer 環境対応) |
|
||||
|
||||
## ライセンス
|
||||
|
||||
|
||||
Reference in New Issue
Block a user