fix(n8n): Fix default value on some lists (#1806)

* fix(n8n): Fix default value on some lists

* app's config and user data is on diff dirs. Only userdata is configurable

* bump
This commit is contained in:
Stavros Kois 2022-01-28 22:25:38 +02:00 committed by GitHub
parent 9e2f60cb2e
commit 80d579aacf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 4 deletions

View File

@ -28,7 +28,7 @@ sources:
- https://docs.n8n.io/ - https://docs.n8n.io/
- https://github.com/n8n-io/n8n - https://github.com/n8n-io/n8n
- https://hub.docker.com/r/n8nio/n8n - https://hub.docker.com/r/n8nio/n8n
version: 0.0.2 version: 0.0.3
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- media - media

View File

@ -430,7 +430,7 @@ questions:
description: "Log output level" description: "Log output level"
schema: schema:
type: string type: string
default: "Default" default: ""
enum: enum:
- value: "" - value: ""
description: "Default" description: "Default"
@ -449,7 +449,7 @@ questions:
description: "Where to output logs" description: "Where to output logs"
schema: schema:
type: string type: string
default: "Default" default: ""
enum: enum:
- value: "" - value: ""
description: "Default" description: "Default"
@ -561,6 +561,49 @@ questions:
additional_attrs: true additional_attrs: true
type: dict type: dict
attrs: attrs:
- variable: config
label: "App Config Storage"
description: "Stores the Application Config."
schema:
additional_attrs: true
type: dict
attrs:
- variable: type
label: "Type of Storage"
description: "Sets the persistence type, Anything other than PVC could break rollback!"
schema:
type: string
default: "simplePVC"
enum:
- value: "simplePVC"
description: "PVC (simple)"
- value: "simpleHP"
description: "HostPath (simple)"
- value: "emptyDir"
description: "emptyDir"
- value: "pvc"
description: "pvc"
- value: "hostPath"
description: "hostPath"
# Include{persistenceBasic}
- variable: hostPath
label: "hostPath"
description: "Path inside the container the storage is mounted"
schema:
show_if: [["type", "=", "hostPath"]]
type: hostpath
- variable: medium
label: "EmptyDir Medium"
schema:
show_if: [["type", "=", "emptyDir"]]
type: string
default: ""
enum:
- value: ""
description: "Default"
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
- variable: data - variable: data
label: "App Data Storage" label: "App Data Storage"
description: "Stores the Application Data." description: "Stores the Application Data."
@ -604,7 +647,6 @@ questions:
- value: "Memory" - value: "Memory"
description: "Memory" description: "Memory"
# Include{persistenceAdvanced} # Include{persistenceAdvanced}
# Include{persistenceList} # Include{persistenceList}
- variable: ingress - variable: ingress

View File

@ -109,6 +109,9 @@ service:
targetPort: 5678 targetPort: 5678
persistence: persistence:
config:
enabled: true
mountPath: "/home/node/.n8n"
data: data:
enabled: true enabled: true
mountPath: "/data" mountPath: "/data"