Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b9ca31b9a3 |
@@ -18,19 +18,30 @@ main:
|
|||||||
mountPath: /home/node/.n8n
|
mountPath: /home/node/.n8n
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsUser: 1000
|
fsGroup: 1000
|
||||||
runAsGroup: 1000
|
fsGroupChangePolicy: "OnRootMismatch"
|
||||||
runAsNonRoot: true
|
|
||||||
|
|
||||||
# Disable all health probes to avoid startup issues
|
|
||||||
main:
|
|
||||||
livenessProbe:
|
|
||||||
enabled: false
|
|
||||||
readinessProbe:
|
|
||||||
enabled: false
|
|
||||||
startupProbe:
|
|
||||||
enabled: false
|
|
||||||
|
|
||||||
|
# Fix NFS permission issues - required for NFS volumes
|
||||||
|
initContainers:
|
||||||
|
- name: fix-permissions
|
||||||
|
image: busybox:1.35
|
||||||
|
command:
|
||||||
|
- sh
|
||||||
|
- -c
|
||||||
|
- |
|
||||||
|
echo "Fixing permissions for NFS volume..."
|
||||||
|
if [ ! -d "/home/node/.n8n" ]; then
|
||||||
|
mkdir -p /home/node/.n8n
|
||||||
|
fi
|
||||||
|
chown -R 1000:1000 /home/node/.n8n
|
||||||
|
chmod -R 775 /home/node/.n8n
|
||||||
|
echo "Permissions fixed: $(ls -ld /home/node/.n8n)"
|
||||||
|
volumeMounts:
|
||||||
|
- name: node-modules
|
||||||
|
mountPath: /home/node/.n8n
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
|
runAsGroup: 0
|
||||||
|
|
||||||
worker:
|
worker:
|
||||||
mode: regular
|
mode: regular
|
||||||
|
|||||||
Reference in New Issue
Block a user