Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0200b18232 |
@@ -21,28 +21,6 @@ podSecurityContext:
|
|||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
fsGroupChangePolicy: "OnRootMismatch"
|
fsGroupChangePolicy: "OnRootMismatch"
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
|
|||||||
@@ -10,11 +10,5 @@ parameters:
|
|||||||
reclaimPolicy: Retain
|
reclaimPolicy: Retain
|
||||||
volumeBindingMode: Immediate
|
volumeBindingMode: Immediate
|
||||||
mountOptions:
|
mountOptions:
|
||||||
- nfsvers=4.1
|
- vers=4
|
||||||
- rsize=1048576
|
- hard
|
||||||
- wsize=1048576
|
|
||||||
- timeo=14
|
|
||||||
- intr
|
|
||||||
- bg
|
|
||||||
- soft
|
|
||||||
- noatime
|
|
||||||
|
|||||||
Reference in New Issue
Block a user