From 8952396c9bc4dabd3f47a431729b5fa26e3b3845 Mon Sep 17 00:00:00 2001 From: "AB from home.homenet" Date: Wed, 4 Feb 2026 02:21:39 +0200 Subject: [PATCH] Fixed n8n permissions --- k8s/apps/n8n/external-secrets.yaml | 12 ------------ k8s/apps/n8n/values-n8n.yaml | 9 +-------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/k8s/apps/n8n/external-secrets.yaml b/k8s/apps/n8n/external-secrets.yaml index 90768d5..e91debf 100644 --- a/k8s/apps/n8n/external-secrets.yaml +++ b/k8s/apps/n8n/external-secrets.yaml @@ -11,7 +11,6 @@ spec: type: Opaque data: postgres-password: "{{ .psql | trim }}" - N8N_ENCRYPTION_KEY: "{{ .enc_pass | trim }}" data: - secretKey: psql sourceRef: @@ -24,14 +23,3 @@ spec: metadataPolicy: None key: 2a9deb39-ef22-433e-a1be-df1555625e22 property: fields[13].value - - secretKey: enc_pass - sourceRef: - storeRef: - name: vaultwarden-login - kind: ClusterSecretStore - remoteRef: - conversionStrategy: Default - decodingStrategy: None - metadataPolicy: None - key: 18c92d73-9637-4419-8642-7f7b308460cb - property: fields[0].value diff --git a/k8s/apps/n8n/values-n8n.yaml b/k8s/apps/n8n/values-n8n.yaml index 84a82e6..4ee7a41 100644 --- a/k8s/apps/n8n/values-n8n.yaml +++ b/k8s/apps/n8n/values-n8n.yaml @@ -4,13 +4,6 @@ nodeSelector: db: type: postgresdb -podSecurityContext: - fsGroup: 1000 - fsGroupChangePolicy: "OnRootMismatch" -securityContext: - runAsUser: 1000 - runAsGroup: 1000 - main: resources: requests: @@ -42,7 +35,7 @@ redis: enabled: true externalPostgresql: - existingSecret: postgres-password + existingSecret: credentials host: "psql.psql.svc" username: "n8n" database: "n8n"