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:
@@ -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.3
|
version: 0.0.4
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|||||||
@@ -561,49 +561,6 @@ 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."
|
||||||
@@ -726,13 +683,13 @@ questions:
|
|||||||
description: The groupID this App of the user running the application"
|
description: The groupID this App of the user running the application"
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 0
|
default: 568
|
||||||
- variable: fsGroup
|
- variable: fsGroup
|
||||||
label: "fsGroup"
|
label: "fsGroup"
|
||||||
description: "The group that should own ALL storage."
|
description: "The group that should own ALL storage."
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 568
|
default: 1000
|
||||||
# Include{podSecurityContextAdvanced}
|
# Include{podSecurityContextAdvanced}
|
||||||
|
|
||||||
# Include{resources}
|
# Include{resources}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ securityContext:
|
|||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
runAsGroup: 0
|
fsGroup: 1000
|
||||||
|
|
||||||
env:
|
env:
|
||||||
TZ: UTC
|
TZ: UTC
|
||||||
@@ -21,6 +21,14 @@ env:
|
|||||||
QUEUE_BULL_REDIS_PORT: 6379
|
QUEUE_BULL_REDIS_PORT: 6379
|
||||||
N8N_USER_FOLDER: "/data"
|
N8N_USER_FOLDER: "/data"
|
||||||
|
|
||||||
|
probes:
|
||||||
|
liveness:
|
||||||
|
path: "/healthz"
|
||||||
|
readiness:
|
||||||
|
path: "/healthz"
|
||||||
|
startup:
|
||||||
|
path: "/healthz"
|
||||||
|
|
||||||
credentials: {}
|
credentials: {}
|
||||||
# CREDENTIALS_OVERWRITE_DATA: ""
|
# CREDENTIALS_OVERWRITE_DATA: ""
|
||||||
# CREDENTIALS_OVERWRITE_ENDPOINT: ""
|
# CREDENTIALS_OVERWRITE_ENDPOINT: ""
|
||||||
@@ -109,9 +117,6 @@ service:
|
|||||||
targetPort: 5678
|
targetPort: 5678
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
config:
|
|
||||||
enabled: true
|
|
||||||
mountPath: "/home/node/.n8n"
|
|
||||||
data:
|
data:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/data"
|
mountPath: "/data"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ name: unmanic
|
|||||||
sources:
|
sources:
|
||||||
- https://github.com/Unmanic/unmanic
|
- https://github.com/Unmanic/unmanic
|
||||||
- https://hub.docker.com/r/josh5/unmanic
|
- https://hub.docker.com/r/josh5/unmanic
|
||||||
version: 0.0.1
|
version: 0.0.2
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|||||||
Reference in New Issue
Block a user