feat(tdarr): spawn internal node and some cleanup on tdarr-node (#2613)
* feat(tdarr): spawn internal node * local * update questions * test ports * test node ports * test node port again * update questions
This commit is contained in:
@@ -22,7 +22,7 @@ sources:
|
|||||||
- https://github.com/HaveAGitGat/Tdarr
|
- https://github.com/HaveAGitGat/Tdarr
|
||||||
- https://hub.docker.com/r/haveagitgat/tdarr_node
|
- https://hub.docker.com/r/haveagitgat/tdarr_node
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.15
|
version: 3.0.0
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|||||||
@@ -74,9 +74,6 @@ questions:
|
|||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
attrs:
|
attrs:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- variable: nodeID
|
- variable: nodeID
|
||||||
label: "nodeID"
|
label: "nodeID"
|
||||||
description: "Sets name of this node"
|
description: "Sets name of this node"
|
||||||
@@ -84,25 +81,16 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
default: "myFirstTdarrNode"
|
default: "myFirstTdarrNode"
|
||||||
- variable: nodeIP
|
|
||||||
label: "nodeIP"
|
|
||||||
description: "Sets IP of this node."
|
|
||||||
schema:
|
|
||||||
type: string
|
|
||||||
required: true
|
|
||||||
$ref:
|
|
||||||
- "definitions/nodeIP"
|
|
||||||
- variable: serverIP
|
- variable: serverIP
|
||||||
label: "serverIP"
|
label: "serverIP"
|
||||||
description: "Sets the serverIP, to which this node will connect. Use the service name if the node is in the same cluster"
|
description: "Sets the serverIP (or DNS name), to which this node will connect."
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
$ref:
|
default: ""
|
||||||
- "definitions/nodeIP"
|
|
||||||
- variable: serverPort
|
- variable: serverPort
|
||||||
label: "serverPort"
|
label: "serverPort"
|
||||||
description: "Sets the server port, to which this node will connect. Leave default if you used service name."
|
description: "Sets the server port, to which this node will connect."
|
||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
required: true
|
required: true
|
||||||
@@ -288,7 +276,51 @@ questions:
|
|||||||
# Include{persistenceAdvanced}
|
# Include{persistenceAdvanced}
|
||||||
- variable: transcode-cache
|
- variable: transcode-cache
|
||||||
label: "App Transcode cache"
|
label: "App Transcode cache"
|
||||||
description: "Stores the Application Transcode cache."
|
description: "Stores the Application Transcode cache.(Both Node and Server must have access to the SAME cache directory)"
|
||||||
|
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: "simpleHP"
|
||||||
|
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"]]
|
||||||
|
required: true
|
||||||
|
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: media
|
||||||
|
label: "App Media"
|
||||||
|
description: "Stores the Application Media.(Both Node and Server must have access to the SAME media directory)"
|
||||||
schema:
|
schema:
|
||||||
additional_attrs: true
|
additional_attrs: true
|
||||||
type: dict
|
type: dict
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
image:
|
image:
|
||||||
repository: tccr.io/truecharts/tdarr_node
|
repository: tccr.io/truecharts/tdarr_node
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: v2.00.16@sha256:88acc09d8be5b89d0f0edf2e0d5e00fc2f885f6d9b81f402cb68ba2b38c4cb56
|
tag: v2.00.18.1@sha256:4679b33cd5c2ffac678ad8b5a1aaebbbcb69922f5577f1517c53a1ef69450293
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
@@ -12,9 +12,8 @@ podSecurityContext:
|
|||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
# User Defined
|
||||||
nodeID: "myFirstTdarrNode"
|
nodeID: "myFirstTdarrNode"
|
||||||
nodeIP: "0.0.0.0"
|
|
||||||
nodePort: 8267
|
|
||||||
serverIP: "0.0.0.0"
|
serverIP: "0.0.0.0"
|
||||||
serverPort: 8266
|
serverPort: 8266
|
||||||
|
|
||||||
@@ -35,5 +34,8 @@ persistence:
|
|||||||
transcode-cache:
|
transcode-cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/temp"
|
mountPath: "/temp"
|
||||||
|
media:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/media"
|
||||||
varrun:
|
varrun:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ sources:
|
|||||||
- https://github.com/HaveAGitGat/Tdarr
|
- https://github.com/HaveAGitGat/Tdarr
|
||||||
- https://hub.docker.com/r/haveagitgat/tdarr
|
- https://hub.docker.com/r/haveagitgat/tdarr
|
||||||
type: application
|
type: application
|
||||||
version: 2.0.15
|
version: 3.0.0
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- media
|
- media
|
||||||
|
|||||||
@@ -139,8 +139,6 @@ questions:
|
|||||||
schema:
|
schema:
|
||||||
type: int
|
type: int
|
||||||
default: 8265
|
default: 8265
|
||||||
|
|
||||||
|
|
||||||
- variable: comm
|
- variable: comm
|
||||||
label: "Comm Service"
|
label: "Comm Service"
|
||||||
description: "The service on which nodes connect to."
|
description: "The service on which nodes connect to."
|
||||||
@@ -213,6 +211,35 @@ questions:
|
|||||||
default: false
|
default: false
|
||||||
|
|
||||||
# Include{serviceExpert}
|
# Include{serviceExpert}
|
||||||
|
- variable: env
|
||||||
|
group: "Container Configuration"
|
||||||
|
label: "Image Environment"
|
||||||
|
schema:
|
||||||
|
additional_attrs: true
|
||||||
|
type: dict
|
||||||
|
attrs:
|
||||||
|
- variable: internalNode
|
||||||
|
label: "internalNode"
|
||||||
|
description: "Spawns an internal node (aka worker), with this, you will need to have a node separately."
|
||||||
|
schema:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
show_subquestions_if: true
|
||||||
|
subquestions:
|
||||||
|
- variable: nodeID
|
||||||
|
label: "nodeID"
|
||||||
|
description: "Name of the internal node."
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
default: "Internal Node"
|
||||||
|
- variable: serverIP
|
||||||
|
label: "serverIP"
|
||||||
|
description: "Where the server will be listening, should only be changed if you have nodes in another IP"
|
||||||
|
schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
default: "localhost"
|
||||||
|
|
||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
|
|
||||||
@@ -397,6 +424,51 @@ questions:
|
|||||||
- value: "Memory"
|
- value: "Memory"
|
||||||
description: "Memory"
|
description: "Memory"
|
||||||
# Include{persistenceAdvanced}
|
# Include{persistenceAdvanced}
|
||||||
|
- variable: media
|
||||||
|
label: "App Media"
|
||||||
|
description: "Stores the Application Media."
|
||||||
|
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: "simpleHP"
|
||||||
|
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"]]
|
||||||
|
required: true
|
||||||
|
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}
|
||||||
|
|
||||||
|
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
image:
|
image:
|
||||||
repository: tccr.io/truecharts/tdarr
|
repository: tccr.io/truecharts/tdarr
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: v2.00.16@sha256:cb06a5d50de3c7ea209d9d853dfea9d75bc7347002ef60762e27729382c29946
|
tag: v2.00.18.1@sha256:f6272147724475e95b86269280d598b49bf113ee17deab177d196e14674503c8
|
||||||
|
|
||||||
securityContext:
|
securityContext:
|
||||||
readOnlyRootFilesystem: false
|
readOnlyRootFilesystem: false
|
||||||
@@ -12,15 +12,17 @@ podSecurityContext:
|
|||||||
runAsGroup: 0
|
runAsGroup: 0
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
webUIPort: "{{ .Values.service.main.ports.main.port }}"
|
||||||
|
serverPort: "{{ .Values.service.comm.ports.comm.port }}"
|
||||||
|
# User Defined
|
||||||
|
internalNode: true
|
||||||
serverIP: "localhost"
|
serverIP: "localhost"
|
||||||
serverPort: 8266
|
nodeID: "Internal Node"
|
||||||
webUIPort: 8265
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
ports:
|
ports:
|
||||||
main:
|
main:
|
||||||
targetPort: 8265
|
|
||||||
port: 8265
|
port: 8265
|
||||||
comm:
|
comm:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -28,7 +30,6 @@ service:
|
|||||||
comm:
|
comm:
|
||||||
enabled: true
|
enabled: true
|
||||||
port: 8266
|
port: 8266
|
||||||
targetPort: 8266
|
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
configs:
|
configs:
|
||||||
@@ -43,5 +44,8 @@ persistence:
|
|||||||
transcode-cache:
|
transcode-cache:
|
||||||
enabled: true
|
enabled: true
|
||||||
mountPath: "/temp"
|
mountPath: "/temp"
|
||||||
|
media:
|
||||||
|
enabled: true
|
||||||
|
mountPath: "/media"
|
||||||
varrun:
|
varrun:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user