From 3388f8a2258df501cfe6920d5a8fc9aadc1ebdc4 Mon Sep 17 00:00:00 2001 From: kappa Date: Tue, 17 Mar 2026 15:25:11 +0900 Subject: [PATCH] n8n: fix N8N_PORT conflict and add securityContext for PVC permissions --- n8n/deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/n8n/deployment.yaml b/n8n/deployment.yaml index 61ddc20..1cc3583 100644 --- a/n8n/deployment.yaml +++ b/n8n/deployment.yaml @@ -14,12 +14,18 @@ spec: labels: app: n8n spec: + securityContext: + runAsUser: 1000 + runAsGroup: 1000 + fsGroup: 1000 containers: - name: n8n image: n8nio/n8n:latest ports: - containerPort: 5678 env: + - name: N8N_PORT + value: "5678" - name: DB_TYPE value: postgresdb - name: DB_POSTGRESDB_HOST