mirror of
https://github.com/truenas/charts.git
synced 2026-10-25 23:57:44 +00:00
Update catalog information
This commit is contained in:
+24
-4
@@ -305,6 +305,26 @@
|
||||
},
|
||||
"test": {},
|
||||
"community": {
|
||||
"tdarr": {
|
||||
"app_readme": "<h1>Tdarr</h1>\n<p><a href=\"https://home.tdarr.io/\">Tdarr</a> is a Distributed Transcoding System</p>\n<ul>\n<li>App runs as <code>root</code> user</li>\n</ul>",
|
||||
"categories": [
|
||||
"media",
|
||||
"encode",
|
||||
"transcode"
|
||||
],
|
||||
"description": "Tdarr is a Distributed Transcoding System",
|
||||
"healthy": true,
|
||||
"healthy_error": null,
|
||||
"location": "/__w/charts/charts/community/tdarr",
|
||||
"latest_version": "1.0.0",
|
||||
"latest_app_version": "2.00.20.1",
|
||||
"latest_human_version": "2.00.20.1_1.0.0",
|
||||
"last_update": null,
|
||||
"name": "tdarr",
|
||||
"recommended": false,
|
||||
"title": "Tdarr",
|
||||
"icon_url": "https://home.tdarr.io/static/media/logo3-min.246d6df4.png"
|
||||
},
|
||||
"lidarr": {
|
||||
"app_readme": "<h1>Lidarr</h1>\n<p><a href=\"https://github.com/Lidarr/Lidarr\">Lidarr</a> is a music collection manager for Usenet and BitTorrent users.</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>Lidarr</code> directories.\nAfterward, the <code>Lidarr</code> container will run as a <strong>non</strong>-root user (Default: <code>568</code>).\nAll mounted storage(s) will be <code>chown</code>ed only if the parent directory does not match the configured user.</p>\n</blockquote>",
|
||||
"categories": [
|
||||
@@ -318,7 +338,7 @@
|
||||
"latest_version": "1.0.3",
|
||||
"latest_app_version": "1.1.3.2982",
|
||||
"latest_human_version": "1.1.3.2982_1.0.3",
|
||||
"last_update": "2023-04-20 13:31:52",
|
||||
"last_update": "2023-04-26 15:00:54",
|
||||
"name": "lidarr",
|
||||
"recommended": false,
|
||||
"title": "Lidarr",
|
||||
@@ -338,7 +358,7 @@
|
||||
"latest_version": "1.0.5",
|
||||
"latest_app_version": "4.5.2",
|
||||
"latest_human_version": "4.5.2_1.0.5",
|
||||
"last_update": "2023-04-20 13:31:52",
|
||||
"last_update": "2023-04-26 15:00:54",
|
||||
"name": "qbittorrent",
|
||||
"recommended": false,
|
||||
"title": "qBittorrent",
|
||||
@@ -357,7 +377,7 @@
|
||||
"latest_version": "1.0.3",
|
||||
"latest_app_version": "3.0.10.1567",
|
||||
"latest_human_version": "3.0.10.1567_1.0.3",
|
||||
"last_update": "2023-04-20 13:11:15",
|
||||
"last_update": "2023-04-26 15:00:54",
|
||||
"name": "sonarr",
|
||||
"recommended": false,
|
||||
"title": "Sonarr",
|
||||
@@ -414,7 +434,7 @@
|
||||
"latest_version": "1.0.5",
|
||||
"latest_app_version": "4.4.4.7068",
|
||||
"latest_human_version": "4.4.4.7068_1.0.5",
|
||||
"last_update": "2023-04-20 13:31:52",
|
||||
"last_update": "2023-04-26 15:00:54",
|
||||
"name": "radarr",
|
||||
"recommended": false,
|
||||
"title": "Radarr",
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.0.6
|
||||
digest: sha256:2f1f31c15fb7f92db141a66adbb8d23a8598727730050a3883a211763a4e5472
|
||||
generated: "2023-04-20T01:43:11.036358079+03:00"
|
||||
@@ -0,0 +1,26 @@
|
||||
name: tdarr
|
||||
description: Tdarr is a Distributed Transcoding System
|
||||
annotations:
|
||||
title: Tdarr
|
||||
type: application
|
||||
version: 1.0.0
|
||||
apiVersion: v2
|
||||
appVersion: '2.00.20.1'
|
||||
kubeVersion: '>=1.16.0-0'
|
||||
maintainers:
|
||||
- name: truenas
|
||||
url: https://www.truenas.com/
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: file://../../../common
|
||||
version: 1.0.6
|
||||
home: https://home.tdarr.io/
|
||||
icon: https://home.tdarr.io/static/media/logo3-min.246d6df4.png
|
||||
sources:
|
||||
- https://home.tdarr.io/
|
||||
- https://github.com/truenas/charts/tree/master/community/tdarr
|
||||
- https://docs.tdarr.io/docs
|
||||
keywords:
|
||||
- media
|
||||
- encode
|
||||
- transcode
|
||||
@@ -0,0 +1,5 @@
|
||||
# Tdarr
|
||||
|
||||
[Tdarr](https://home.tdarr.io/) is a Distributed Transcoding System
|
||||
|
||||
- App runs as `root` user
|
||||
@@ -0,0 +1,5 @@
|
||||
# Tdarr
|
||||
|
||||
[Tdarr](https://home.tdarr.io/) is a Distributed Transcoding System
|
||||
|
||||
- App runs as `root` user
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
tdarrConfig:
|
||||
nodeName: My Internal Node
|
||||
tdarrID:
|
||||
user: 1001
|
||||
group: 1001
|
||||
tdarrStorage:
|
||||
server:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Name }}/server
|
||||
configs:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Name }}/configs
|
||||
logs:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Name }}/logs
|
||||
transcodes:
|
||||
type: emptyDir
|
||||
medium: Memory
|
||||
size: 1Gi
|
||||
@@ -0,0 +1,16 @@
|
||||
tdarrConfig:
|
||||
nodeName: ''
|
||||
internalNode: false
|
||||
tdarrStorage:
|
||||
server:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Name }}/server
|
||||
configs:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Name }}/configs
|
||||
logs:
|
||||
type: hostPath
|
||||
hostPath: /mnt/{{ .Release.Name }}/logs
|
||||
transcodes:
|
||||
type: emptyDir
|
||||
size: 1Gi
|
||||
@@ -0,0 +1,41 @@
|
||||
image:
|
||||
repository: haveagitgat/tdarr
|
||||
pullPolicy: IfNotPresent
|
||||
tag: '2.00.20.1'
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 4000m
|
||||
memory: 8Gi
|
||||
tdarrConfig:
|
||||
nodeName: ''
|
||||
internalNode: true
|
||||
serverIP: "0.0.0.0"
|
||||
additionalEnvs: []
|
||||
tdarrNetwork:
|
||||
webPort: 30000
|
||||
serverPort: 30001
|
||||
tdarrGPU: {}
|
||||
tdarrID:
|
||||
user: 568
|
||||
group: 568
|
||||
tdarrStorage:
|
||||
server:
|
||||
type: ixVolume
|
||||
hostPath: ''
|
||||
datasetName: server
|
||||
configs:
|
||||
type: ixVolume
|
||||
hostPath: ''
|
||||
datasetName: configs
|
||||
logs:
|
||||
type: ixVolume
|
||||
hostPath: ''
|
||||
datasetName: logs
|
||||
transcodes:
|
||||
type: ixVolume
|
||||
hostPath: ''
|
||||
datasetName: transcodes
|
||||
medium: ''
|
||||
size: ''
|
||||
additionalStorages: []
|
||||
@@ -0,0 +1,395 @@
|
||||
groups:
|
||||
- name: Tdarr Configuration
|
||||
description: Configure Tdarr
|
||||
- name: User and Group Configuration
|
||||
description: Configure User and Group for Tdarr
|
||||
- name: Network Configuration
|
||||
description: Configure Network for Tdarr
|
||||
- name: Storage Configuration
|
||||
description: Configure Storage for Tdarr
|
||||
- name: Resources Configuration
|
||||
description: Configure Resources for Tdarr
|
||||
|
||||
portals:
|
||||
web_portal:
|
||||
protocols:
|
||||
- "$kubernetes-resource_configmap_portal_protocol"
|
||||
host:
|
||||
- "$kubernetes-resource_configmap_portal_host"
|
||||
ports:
|
||||
- "$kubernetes-resource_configmap_portal_port"
|
||||
path: "$kubernetes-resource_configmap_portal_path"
|
||||
|
||||
questions:
|
||||
- variable: TZ
|
||||
group: Tdarr Configuration
|
||||
label: Timezone
|
||||
schema:
|
||||
type: string
|
||||
default: Etc/UTC
|
||||
required: true
|
||||
$ref:
|
||||
- definitions/timezone
|
||||
|
||||
- variable: tdarrConfig
|
||||
label: ""
|
||||
group: Tdarr Configuration
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: internalNode
|
||||
label: Internal Node
|
||||
description: |
|
||||
If disabled, Tdarr will run only the server and webUI.</br>
|
||||
If enabled, Tdarr will also start an internal node in the same container.
|
||||
schema:
|
||||
type: boolean
|
||||
default: true
|
||||
- variable: nodeName
|
||||
label: Node Name
|
||||
description: The name of the Tdarr Node.
|
||||
schema:
|
||||
type: string
|
||||
default: "Tdarr"
|
||||
show_if: [["internalNode", "=", true]]
|
||||
required: true
|
||||
- variable: additionalEnvs
|
||||
label: Additional Environment Variables
|
||||
description: Configure additional environment variables for Tdarr.
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: env
|
||||
label: Environment Variable
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: name
|
||||
label: Name
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
- variable: value
|
||||
label: Value
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
|
||||
- variable: tdarrID
|
||||
label: ""
|
||||
group: User and Group Configuration
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: user
|
||||
label: User ID
|
||||
description: The user id that Tdarr files will be owned by.
|
||||
schema:
|
||||
type: int
|
||||
min: 2
|
||||
default: 568
|
||||
required: true
|
||||
- variable: group
|
||||
label: Group ID
|
||||
description: The group id that Tdarr files will be owned by.
|
||||
schema:
|
||||
type: int
|
||||
min: 2
|
||||
default: 568
|
||||
required: true
|
||||
|
||||
- variable: tdarrNetwork
|
||||
label: ""
|
||||
group: Network Configuration
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: webPort
|
||||
label: Web Port
|
||||
description: The port for the Tdarr Web UI.
|
||||
schema:
|
||||
type: int
|
||||
default: 30000
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
- variable: serverPort
|
||||
label: Server Port
|
||||
description: The port for the Tdarr Server.
|
||||
schema:
|
||||
type: int
|
||||
default: 30001
|
||||
min: 9000
|
||||
max: 65535
|
||||
required: true
|
||||
|
||||
- variable: tdarrStorage
|
||||
label: ""
|
||||
group: Storage Configuration
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: server
|
||||
label: Tdarr Server Storage
|
||||
description: The path to store Tdarr Server Data.
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: Type
|
||||
description: |
|
||||
ixVolume: Is dataset created automatically by the system.</br>
|
||||
Host Path: Is a path that already exists on the system.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "ixVolume"
|
||||
enum:
|
||||
- value: "hostPath"
|
||||
description: Host Path (Path that already exists on the system)
|
||||
- value: "ixVolume"
|
||||
description: ixVolume (Dataset created automatically by the system)
|
||||
- variable: datasetName
|
||||
label: Dataset Name
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "ixVolume"]]
|
||||
required: true
|
||||
hidden: true
|
||||
immutable: true
|
||||
default: "server"
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
- variable: hostPath
|
||||
label: Host Path
|
||||
schema:
|
||||
type: hostpath
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
immutable: true
|
||||
required: true
|
||||
- variable: configs
|
||||
label: Tdarr Config Storage
|
||||
description: The path to store Tdarr Configuration.
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: Type
|
||||
description: |
|
||||
ixVolume: Is dataset created automatically by the system.</br>
|
||||
Host Path: Is a path that already exists on the system.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "ixVolume"
|
||||
enum:
|
||||
- value: "hostPath"
|
||||
description: Host Path (Path that already exists on the system)
|
||||
- value: "ixVolume"
|
||||
description: ixVolume (Dataset created automatically by the system)
|
||||
- variable: datasetName
|
||||
label: Dataset Name
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "ixVolume"]]
|
||||
required: true
|
||||
hidden: true
|
||||
immutable: true
|
||||
default: "configs"
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
- variable: hostPath
|
||||
label: Host Path
|
||||
schema:
|
||||
type: hostpath
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
immutable: true
|
||||
required: true
|
||||
- variable: logs
|
||||
label: Tdarr Logs Storage
|
||||
description: The path to store Tdarr Logs.
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: Type
|
||||
description: |
|
||||
ixVolume: Is dataset created automatically by the system.</br>
|
||||
Host Path: Is a path that already exists on the system.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "ixVolume"
|
||||
enum:
|
||||
- value: "hostPath"
|
||||
description: Host Path (Path that already exists on the system)
|
||||
- value: "ixVolume"
|
||||
description: ixVolume (Dataset created automatically by the system)
|
||||
- variable: datasetName
|
||||
label: Dataset Name
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "ixVolume"]]
|
||||
required: true
|
||||
hidden: true
|
||||
immutable: true
|
||||
default: "logs"
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
- variable: hostPath
|
||||
label: Host Path
|
||||
schema:
|
||||
type: hostpath
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
immutable: true
|
||||
required: true
|
||||
- variable: transcodes
|
||||
label: Tdarr Transcodes Storage
|
||||
description: The path to store Tdarr Transcodes.
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: Type
|
||||
description: |
|
||||
ixVolume: Is dataset created automatically by the system.</br>
|
||||
Host Path: Is a path that already exists on the system.</br>
|
||||
emptyDir: Is a temporary directory that will be created on the disk or in memory.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "ixVolume"
|
||||
enum:
|
||||
- value: "hostPath"
|
||||
description: Host Path (Path that already exists on the system)
|
||||
- value: "ixVolume"
|
||||
description: ixVolume (Dataset created automatically by the system)
|
||||
- value: "emptyDir"
|
||||
description: emptyDir (Temporary directory created on the disk or in memory)
|
||||
- variable: datasetName
|
||||
label: Dataset Name
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "ixVolume"]]
|
||||
required: true
|
||||
hidden: true
|
||||
immutable: true
|
||||
default: "transcodes"
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
- variable: hostPath
|
||||
label: Host Path
|
||||
schema:
|
||||
type: hostpath
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
immutable: true
|
||||
required: true
|
||||
- variable: medium
|
||||
label: emptyDir Medium
|
||||
description: |
|
||||
Disk: Creates a temporary directory on the disk.</br>
|
||||
Memory: Creates a temporary directory in memory.
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "emptyDir"]]
|
||||
default: ""
|
||||
enum:
|
||||
- value: ""
|
||||
description: Disk (Temporary directory created on the disk)
|
||||
- value: "Memory"
|
||||
description: Memory (Temporary directory created in memory)
|
||||
- variable: size
|
||||
label: emptyDir Size Limit
|
||||
description: |
|
||||
The maximum size of the temporary directory.</br>
|
||||
For example: 2Gi
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "emptyDir"]]
|
||||
default: "2Gi"
|
||||
- variable: additionalStorages
|
||||
label: Additional Storage
|
||||
description: Additional storage for Tdarr.
|
||||
schema:
|
||||
type: list
|
||||
default: []
|
||||
items:
|
||||
- variable: storageEntry
|
||||
label: Storage Entry
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: type
|
||||
label: Type
|
||||
description: |
|
||||
ixVolume: Is dataset created automatically by the system.</br>
|
||||
Host Path: Is a path that already exists on the system.
|
||||
schema:
|
||||
type: string
|
||||
required: true
|
||||
default: "ixVolume"
|
||||
enum:
|
||||
- value: "hostPath"
|
||||
description: Host Path (Path that already exists on the system)
|
||||
- value: "ixVolume"
|
||||
description: ixVolume (Dataset created automatically by the system)
|
||||
- variable: mountPath
|
||||
label: Mount Path
|
||||
description: The path inside the container to mount the storage.
|
||||
schema:
|
||||
type: path
|
||||
required: true
|
||||
- variable: hostPath
|
||||
label: Host Path
|
||||
description: The host path to use for storage.
|
||||
schema:
|
||||
type: hostpath
|
||||
show_if: [["type", "=", "hostPath"]]
|
||||
required: true
|
||||
- variable: datasetName
|
||||
label: Dataset Name
|
||||
description: The name of the dataset to use for storage.
|
||||
schema:
|
||||
type: string
|
||||
show_if: [["type", "=", "ixVolume"]]
|
||||
required: true
|
||||
immutable: true
|
||||
default: "storage_entry"
|
||||
$ref:
|
||||
- "normalize/ixVolume"
|
||||
|
||||
- variable: resources
|
||||
group: Resources Configuration
|
||||
label: ""
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: limits
|
||||
label: Limits
|
||||
schema:
|
||||
type: dict
|
||||
attrs:
|
||||
- variable: cpu
|
||||
label: CPU
|
||||
description: CPU limit for Tdarr.
|
||||
schema:
|
||||
type: string
|
||||
default: "4000m"
|
||||
required: true
|
||||
- variable: memory
|
||||
label: Memory
|
||||
description: Memory limit for Tdarr.
|
||||
schema:
|
||||
type: string
|
||||
default: "8Gi"
|
||||
required: true
|
||||
|
||||
- variable: tdarrGPU
|
||||
group: Resources Configuration
|
||||
label: GPU Configuration
|
||||
schema:
|
||||
type: dict
|
||||
$ref:
|
||||
- "definitions/gpuConfiguration"
|
||||
attrs: []
|
||||
@@ -0,0 +1 @@
|
||||
{{ include "ix.v1.common.lib.chart.notes" $ }}
|
||||
@@ -0,0 +1,12 @@
|
||||
{{- define "tdarr.portal" -}}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: portal
|
||||
data:
|
||||
path: "/"
|
||||
port: {{ .Values.tdarrNetwork.webPort | quote }}
|
||||
protocol: http
|
||||
host: $node_ip
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,144 @@
|
||||
{{- define "tdarr.workload" -}}
|
||||
workload:
|
||||
tdarr:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: Deployment
|
||||
podSpec:
|
||||
hostNetwork: false
|
||||
securityContext:
|
||||
fsGroup: {{ .Values.tdarrID.group }}
|
||||
containers:
|
||||
tdarr:
|
||||
enabled: true
|
||||
primary: true
|
||||
imageSelector: image
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
readOnlyRootFilesystem: false
|
||||
runAsNonRoot: false
|
||||
capabilities:
|
||||
add:
|
||||
- CHOWN
|
||||
- FOWNER
|
||||
- SETUID
|
||||
- SETGID
|
||||
env:
|
||||
inContainer: "true"
|
||||
internalNode: {{ .Values.tdarrConfig.internalNode | quote }}
|
||||
serverPort: {{ .Values.tdarrNetwork.serverPort }}
|
||||
webUIPort: {{ .Values.tdarrNetwork.webPort }}
|
||||
nodeName: {{ .Values.tdarrConfig.nodeName }}
|
||||
serverIP: {{ .Values.tdarrConfig.serverIP }}
|
||||
fixedEnv:
|
||||
PUID: {{ .Values.tdarrID.user }}
|
||||
envList:
|
||||
{{ with .Values.tdarrConfig.additionalEnvs }}
|
||||
{{ range $env := . }}
|
||||
- name: {{ $env.name }}
|
||||
value: {{ $env.value }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
probes:
|
||||
liveness:
|
||||
enabled: true
|
||||
type: http
|
||||
port: "{{ .Values.tdarrNetwork.webPort }}"
|
||||
path: /api/v2/status
|
||||
readiness:
|
||||
enabled: true
|
||||
type: http
|
||||
port: "{{ .Values.tdarrNetwork.webPort }}"
|
||||
path: /api/v2/status
|
||||
startup:
|
||||
enabled: true
|
||||
type: http
|
||||
port: "{{ .Values.tdarrNetwork.webPort }}"
|
||||
path: /api/v2/status
|
||||
|
||||
{{/* Service */}}
|
||||
service:
|
||||
tdarr:
|
||||
enabled: true
|
||||
primary: true
|
||||
type: NodePort
|
||||
targetSelector: tdarr
|
||||
ports:
|
||||
webui:
|
||||
enabled: true
|
||||
primary: true
|
||||
port: {{ .Values.tdarrNetwork.webPort }}
|
||||
nodePort: {{ .Values.tdarrNetwork.webPort }}
|
||||
targetSelector: tdarr
|
||||
server:
|
||||
enabled: true
|
||||
port: {{ .Values.tdarrNetwork.serverPort }}
|
||||
nodePort: {{ .Values.tdarrNetwork.serverPort }}
|
||||
targetSelector: tdarr
|
||||
|
||||
{{/* Persistence */}}
|
||||
persistence:
|
||||
server:
|
||||
enabled: true
|
||||
type: {{ .Values.tdarrStorage.server.type }}
|
||||
datasetName: {{ .Values.tdarrStorage.server.datasetName | default "" }}
|
||||
hostPath: {{ .Values.tdarrStorage.server.hostPath | default "" }}
|
||||
targetSelector:
|
||||
tdarr:
|
||||
tdarr:
|
||||
mountPath: /app/server
|
||||
configs:
|
||||
enabled: true
|
||||
type: {{ .Values.tdarrStorage.configs.type }}
|
||||
datasetName: {{ .Values.tdarrStorage.configs.datasetName | default "" }}
|
||||
hostPath: {{ .Values.tdarrStorage.configs.hostPath | default "" }}
|
||||
targetSelector:
|
||||
tdarr:
|
||||
tdarr:
|
||||
mountPath: /app/configs
|
||||
logs:
|
||||
enabled: true
|
||||
type: {{ .Values.tdarrStorage.logs.type }}
|
||||
datasetName: {{ .Values.tdarrStorage.logs.datasetName | default "" }}
|
||||
hostPath: {{ .Values.tdarrStorage.logs.hostPath | default "" }}
|
||||
targetSelector:
|
||||
tdarr:
|
||||
tdarr:
|
||||
mountPath: /app/logs
|
||||
transcode:
|
||||
enabled: true
|
||||
type: {{ .Values.tdarrStorage.transcodes.type }}
|
||||
datasetName: {{ .Values.tdarrStorage.transcodes.datasetName | default "" }}
|
||||
hostPath: {{ .Values.tdarrStorage.transcodes.hostPath | default "" }}
|
||||
medium: {{ .Values.tdarrStorage.transcodes.medium | default "" }}
|
||||
{{/* Size of the emptyDir */}}
|
||||
size: {{ .Values.tdarrStorage.transcodes.size | default "" }}
|
||||
targetSelector:
|
||||
tdarr:
|
||||
tdarr:
|
||||
mountPath: /temp
|
||||
{{- range $idx, $storage := .Values.tdarrStorage.additionalStorages }}
|
||||
{{ printf "tdarr-%v" (int $idx) }}:
|
||||
enabled: true
|
||||
type: {{ $storage.type }}
|
||||
datasetName: {{ $storage.datasetName | default "" }}
|
||||
hostPath: {{ $storage.hostPath | default "" }}
|
||||
targetSelector:
|
||||
tdarr:
|
||||
tdarr:
|
||||
mountPath: {{ $storage.mountPath }}
|
||||
{{- end }}
|
||||
|
||||
{{ with .Values.tdarrGPU }}
|
||||
{{ if gt (. | len) 1 }}
|
||||
{{- fail "Tdarr - Max [1] GPUs allowed" -}}
|
||||
{{ end }}
|
||||
scaleGPU:
|
||||
- gpu:
|
||||
{{ . | keys | first }}: {{ . | values | first }}
|
||||
targetSelector:
|
||||
tdarr:
|
||||
- tdarr
|
||||
{{ end }}
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,9 @@
|
||||
{{- include "ix.v1.common.loader.init" . -}}
|
||||
|
||||
{{/* Merge the templates with Values */}}
|
||||
{{- $_ := mustMergeOverwrite .Values (include "tdarr.workload" $ | fromYaml) -}}
|
||||
|
||||
{{/* Create the configmap for portal manually*/}}
|
||||
{{- include "tdarr.portal" $ -}}
|
||||
|
||||
{{- include "ix.v1.common.loader.apply" . -}}
|
||||
@@ -0,0 +1,5 @@
|
||||
icon_url: https://home.tdarr.io/static/media/logo3-min.246d6df4.png
|
||||
categories:
|
||||
- media
|
||||
- encode
|
||||
- transcode
|
||||
Reference in New Issue
Block a user