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://github.com/n8n-io/n8n
- https://hub.docker.com/r/n8nio/n8n
version: 0.0.2
version: 0.0.3
annotations:
truecharts.org/catagories: |
- media

View File

@ -430,7 +430,7 @@ questions:
description: "Log output level"
schema:
type: string
default: "Default"
default: ""
enum:
- value: ""
description: "Default"
@ -449,7 +449,7 @@ questions:
description: "Where to output logs"
schema:
type: string
default: "Default"
default: ""
enum:
- value: ""
description: "Default"
@ -561,6 +561,49 @@ questions:
additional_attrs: true
type: dict
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
label: "App Data Storage"
description: "Stores the Application Data."
@ -604,7 +647,6 @@ questions:
- value: "Memory"
description: "Memory"
# Include{persistenceAdvanced}
# Include{persistenceList}
- variable: ingress

View File

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