n8n - update and add cache dir (#2073)

This commit is contained in:
Stavros Kois
2024-01-25 13:08:09 +02:00
committed by GitHub
parent c13a00f0e7
commit 5ce07e3065
4 changed files with 11 additions and 4 deletions

View File

@@ -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

View File

@@ -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 -}}

View File

@@ -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

View File

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