瀏覽代碼

n8n - update and add cache dir (#2073)

Stavros Kois 1 年之前
父節點
當前提交
5ce07e3065

+ 2 - 2
library/ix-dev/community/n8n/Chart.yaml

@@ -3,9 +3,9 @@ description: n8n is an extendable workflow automation tool.
 annotations:
   title: n8n
 type: application
-version: 1.2.20
+version: 1.2.21
 apiVersion: v2
-appVersion: 1.24.1
+appVersion: 1.25.1
 kubeVersion: '>=1.16.0-0'
 maintainers:
   - name: truenas

+ 1 - 1
library/ix-dev/community/n8n/templates/_configuration.tpl

@@ -24,7 +24,7 @@
   {{- end -}}
 
   {{- $encKey := (randAlphaNum 32) -}}
-  {{- with (lookup "v1" "Secret" .Release.Namespace (printf "%s-n8n-config" $fullname)) -}}
+  {{- with (lookup "v1" "Secret" .Release.Namespace (printf "%s-n8n-creds" $fullname)) -}}
     {{- $encKey = ((index .data "N8N_ENCRYPTION_KEY") | b64dec) -}}
   {{- end -}}
 

+ 7 - 0
library/ix-dev/community/n8n/templates/_persistence.tpl

@@ -19,6 +19,13 @@ persistence:
       n8n:
         n8n:
           mountPath: /tmp
+  cache:
+    enabled: true
+    type: emptyDir
+    targetSelector:
+      n8n:
+        n8n:
+          mountPath: /.cache
   {{- range $idx, $storage := .Values.n8nStorage.additionalStorages }}
   {{ printf "n8n-%v:" (int $idx) }}
     enabled: true

+ 1 - 1
library/ix-dev/community/n8n/values.yaml

@@ -1,7 +1,7 @@
 image:
   repository: n8nio/n8n
   pullPolicy: IfNotPresent
-  tag: 1.24.1
+  tag: 1.25.1
 
 resources:
   limits: