fix(n8n): Fix permissions and add healthcheck path (#1809)
* fix(n8n): Remove custom data path * bump unmanic to push it to catalog * rename to data, as it's infact user data not configs * restore custom data folder and fix perms! * add healthcheck
This commit is contained in:
parent
413be16916
commit
58cfb8aa25
|
@ -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.3
|
||||
version: 0.0.4
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
|
|
@ -561,49 +561,6 @@ 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."
|
||||
|
@ -726,13 +683,13 @@ questions:
|
|||
description: The groupID this App of the user running the application"
|
||||
schema:
|
||||
type: int
|
||||
default: 0
|
||||
default: 568
|
||||
- variable: fsGroup
|
||||
label: "fsGroup"
|
||||
description: "The group that should own ALL storage."
|
||||
schema:
|
||||
type: int
|
||||
default: 568
|
||||
default: 1000
|
||||
# Include{podSecurityContextAdvanced}
|
||||
|
||||
# Include{resources}
|
||||
|
|
|
@ -9,7 +9,7 @@ securityContext:
|
|||
|
||||
podSecurityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
fsGroup: 1000
|
||||
|
||||
env:
|
||||
TZ: UTC
|
||||
|
@ -21,6 +21,14 @@ env:
|
|||
QUEUE_BULL_REDIS_PORT: 6379
|
||||
N8N_USER_FOLDER: "/data"
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
path: "/healthz"
|
||||
readiness:
|
||||
path: "/healthz"
|
||||
startup:
|
||||
path: "/healthz"
|
||||
|
||||
credentials: {}
|
||||
# CREDENTIALS_OVERWRITE_DATA: ""
|
||||
# CREDENTIALS_OVERWRITE_ENDPOINT: ""
|
||||
|
@ -109,9 +117,6 @@ service:
|
|||
targetPort: 5678
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: "/home/node/.n8n"
|
||||
data:
|
||||
enabled: true
|
||||
mountPath: "/data"
|
||||
|
|
|
@ -18,7 +18,7 @@ name: unmanic
|
|||
sources:
|
||||
- https://github.com/Unmanic/unmanic
|
||||
- https://hub.docker.com/r/josh5/unmanic
|
||||
version: 0.0.1
|
||||
version: 0.0.2
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- media
|
||||
|
|
Loading…
Reference in New Issue