From 5147be7301a8f28dfc581dcc7d08b9bc1e810073 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Thu, 24 Apr 2025 11:22:46 +1000 Subject: [PATCH] Update n8n --- home-apps/n8n.yaml | 2 +- k3s.sh | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/home-apps/n8n.yaml b/home-apps/n8n.yaml index 96bf3fe..844800a 100644 --- a/home-apps/n8n.yaml +++ b/home-apps/n8n.yaml @@ -33,7 +33,7 @@ spec: spec: containers: - name: n8n - image: mirror.gcr.io/n8nio/n8n:1.88.0 + image: mirror.gcr.io/n8nio/n8n:1.90.0 imagePullPolicy: IfNotPresent securityContext: runAsUser: 0 diff --git a/k3s.sh b/k3s.sh index 3911610..100c58c 100644 --- a/k3s.sh +++ b/k3s.sh @@ -9,3 +9,17 @@ helm install nfs-subdir-external-provisioner nfs-subdir-external-provisioner/nfs # badger batch delete cat /Users/junv/code/home-docker/scripts/batch_delete.sql | ssh -p 22422 junv@192.168.1.2 "PGPASSWORD=$PASSWORD psql -h 192.168.1.2 -U postgres -d badges -e" + + +# make redis and postgres group readable + +sudo usermod -aG redis junv +sudo usermod -aG postgres junv + +# For Redis +sudo chmod g+rx /mnt/k8s/redis +sudo chmod -R g+r /mnt/k8s/redis + +# For Postgres +sudo chmod g+rx /mnt/k8s/postgres +sudo chmod -R g+r /mnt/k8s/postgres \ No newline at end of file