moved to manifests from chart
Some checks failed
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Has been cancelled
Check with kubeconform / lint (push) Has been cancelled
Auto-update README / Generate README and Create MR (push) Has been cancelled

This commit is contained in:
Ultradesu
2026-02-05 17:57:22 +02:00
parent ff58069789
commit 51cc40377c
2 changed files with 15 additions and 6 deletions

View File

@@ -18,6 +18,15 @@ spec:
app: n8n app: n8n
component: main component: main
spec: spec:
initContainers:
- name: fix-permissions
image: busybox:1.35
command: ['sh', '-c', 'chown -R 1000:1000 /home/node/.n8n && chmod -R 755 /home/node/.n8n']
volumeMounts:
- name: n8n-data
mountPath: /home/node/.n8n
securityContext:
runAsUser: 0
containers: containers:
- name: n8n - name: n8n
image: docker.n8n.io/n8nio/n8n:latest image: docker.n8n.io/n8nio/n8n:latest
@@ -103,7 +112,7 @@ spec:
persistentVolumeClaim: persistentVolumeClaim:
claimName: n8n-data claimName: n8n-data
securityContext: securityContext:
runAsUser: 65534 runAsUser: 1000
runAsGroup: 3000 runAsGroup: 1000
runAsNonRoot: true runAsNonRoot: true
fsGroup: 3000 fsGroup: 1000

View File

@@ -89,7 +89,7 @@ spec:
persistentVolumeClaim: persistentVolumeClaim:
claimName: n8n-data claimName: n8n-data
securityContext: securityContext:
runAsUser: 65534 runAsUser: 1000
runAsGroup: 3000 runAsGroup: 1000
runAsNonRoot: true runAsNonRoot: true
fsGroup: 3000 fsGroup: 1000