questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410
  1. groups:
  2. - name: Tdarr Configuration
  3. description: Configure Tdarr
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Tdarr
  6. - name: Network Configuration
  7. description: Configure Network for Tdarr
  8. - name: Storage Configuration
  9. description: Configure Storage for Tdarr
  10. - name: Resources Configuration
  11. description: Configure Resources for Tdarr
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_portal_protocol"
  16. host:
  17. - "$kubernetes-resource_configmap_portal_host"
  18. ports:
  19. - "$kubernetes-resource_configmap_portal_port"
  20. path: "$kubernetes-resource_configmap_portal_path"
  21. questions:
  22. - variable: TZ
  23. group: Tdarr Configuration
  24. label: Timezone
  25. schema:
  26. type: string
  27. default: Etc/UTC
  28. required: true
  29. $ref:
  30. - definitions/timezone
  31. - variable: tdarrConfig
  32. label: ""
  33. group: Tdarr Configuration
  34. schema:
  35. type: dict
  36. attrs:
  37. - variable: internalNode
  38. label: Internal Node
  39. description: |
  40. If disabled, Tdarr will run only the server and webUI.</br>
  41. If enabled, Tdarr will also start an internal node in the same container.
  42. schema:
  43. type: boolean
  44. default: true
  45. - variable: nodeName
  46. label: Node Name
  47. description: The name of the Tdarr Node.
  48. schema:
  49. type: string
  50. default: "Tdarr"
  51. show_if: [["internalNode", "=", true]]
  52. required: true
  53. - variable: additionalEnvs
  54. label: Additional Environment Variables
  55. description: Configure additional environment variables for Tdarr.
  56. schema:
  57. type: list
  58. default: []
  59. items:
  60. - variable: env
  61. label: Environment Variable
  62. schema:
  63. type: dict
  64. attrs:
  65. - variable: name
  66. label: Name
  67. schema:
  68. type: string
  69. required: true
  70. - variable: value
  71. label: Value
  72. schema:
  73. type: string
  74. required: true
  75. - variable: tdarrID
  76. label: ""
  77. group: User and Group Configuration
  78. schema:
  79. type: dict
  80. attrs:
  81. - variable: user
  82. label: User ID
  83. description: The user id that Tdarr files will be owned by.
  84. schema:
  85. type: int
  86. min: 2
  87. default: 568
  88. required: true
  89. - variable: group
  90. label: Group ID
  91. description: The group id that Tdarr files will be owned by.
  92. schema:
  93. type: int
  94. min: 2
  95. default: 568
  96. required: true
  97. - variable: tdarrNetwork
  98. label: ""
  99. group: Network Configuration
  100. schema:
  101. type: dict
  102. attrs:
  103. - variable: webPort
  104. label: Web Port
  105. description: The port for the Tdarr Web UI.
  106. schema:
  107. type: int
  108. default: 30028
  109. min: 9000
  110. max: 65535
  111. required: true
  112. - variable: serverPort
  113. label: Server Port
  114. description: The port for the Tdarr Server.
  115. schema:
  116. type: int
  117. default: 30029
  118. min: 9000
  119. max: 65535
  120. required: true
  121. - variable: tdarrStorage
  122. label: ""
  123. group: Storage Configuration
  124. schema:
  125. type: dict
  126. attrs:
  127. - variable: server
  128. label: Tdarr Server Storage
  129. description: The path to store Tdarr Server Data.
  130. schema:
  131. type: dict
  132. attrs:
  133. - variable: type
  134. label: Type
  135. description: |
  136. ixVolume: Is dataset created automatically by the system.</br>
  137. Host Path: Is a path that already exists on the system.
  138. schema:
  139. type: string
  140. required: true
  141. default: "ixVolume"
  142. enum:
  143. - value: "hostPath"
  144. description: Host Path (Path that already exists on the system)
  145. - value: "ixVolume"
  146. description: ixVolume (Dataset created automatically by the system)
  147. - variable: datasetName
  148. label: Dataset Name
  149. schema:
  150. type: string
  151. show_if: [["type", "=", "ixVolume"]]
  152. required: true
  153. hidden: true
  154. immutable: true
  155. default: "server"
  156. $ref:
  157. - "normalize/ixVolume"
  158. - variable: hostPath
  159. label: Host Path
  160. schema:
  161. type: hostpath
  162. show_if: [["type", "=", "hostPath"]]
  163. immutable: true
  164. required: true
  165. - variable: configs
  166. label: Tdarr Config Storage
  167. description: The path to store Tdarr Configuration.
  168. schema:
  169. type: dict
  170. attrs:
  171. - variable: type
  172. label: Type
  173. description: |
  174. ixVolume: Is dataset created automatically by the system.</br>
  175. Host Path: Is a path that already exists on the system.
  176. schema:
  177. type: string
  178. required: true
  179. default: "ixVolume"
  180. enum:
  181. - value: "hostPath"
  182. description: Host Path (Path that already exists on the system)
  183. - value: "ixVolume"
  184. description: ixVolume (Dataset created automatically by the system)
  185. - variable: datasetName
  186. label: Dataset Name
  187. schema:
  188. type: string
  189. show_if: [["type", "=", "ixVolume"]]
  190. required: true
  191. hidden: true
  192. immutable: true
  193. default: "configs"
  194. $ref:
  195. - "normalize/ixVolume"
  196. - variable: hostPath
  197. label: Host Path
  198. schema:
  199. type: hostpath
  200. show_if: [["type", "=", "hostPath"]]
  201. immutable: true
  202. required: true
  203. - variable: logs
  204. label: Tdarr Logs Storage
  205. description: The path to store Tdarr Logs.
  206. schema:
  207. type: dict
  208. attrs:
  209. - variable: type
  210. label: Type
  211. description: |
  212. ixVolume: Is dataset created automatically by the system.</br>
  213. Host Path: Is a path that already exists on the system.
  214. schema:
  215. type: string
  216. required: true
  217. default: "ixVolume"
  218. enum:
  219. - value: "hostPath"
  220. description: Host Path (Path that already exists on the system)
  221. - value: "ixVolume"
  222. description: ixVolume (Dataset created automatically by the system)
  223. - variable: datasetName
  224. label: Dataset Name
  225. schema:
  226. type: string
  227. show_if: [["type", "=", "ixVolume"]]
  228. required: true
  229. hidden: true
  230. immutable: true
  231. default: "logs"
  232. $ref:
  233. - "normalize/ixVolume"
  234. - variable: hostPath
  235. label: Host Path
  236. schema:
  237. type: hostpath
  238. show_if: [["type", "=", "hostPath"]]
  239. immutable: true
  240. required: true
  241. - variable: transcodes
  242. label: Tdarr Transcodes Storage
  243. description: The path to store Tdarr Transcodes.
  244. schema:
  245. type: dict
  246. attrs:
  247. - variable: type
  248. label: Type
  249. description: |
  250. ixVolume: Is dataset created automatically by the system.</br>
  251. Host Path: Is a path that already exists on the system.</br>
  252. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  253. schema:
  254. type: string
  255. required: true
  256. default: "ixVolume"
  257. enum:
  258. - value: "hostPath"
  259. description: Host Path (Path that already exists on the system)
  260. - value: "ixVolume"
  261. description: ixVolume (Dataset created automatically by the system)
  262. - value: "emptyDir"
  263. description: emptyDir (Temporary directory created on the disk or in memory)
  264. - variable: datasetName
  265. label: Dataset Name
  266. schema:
  267. type: string
  268. show_if: [["type", "=", "ixVolume"]]
  269. required: true
  270. hidden: true
  271. immutable: true
  272. default: "transcodes"
  273. $ref:
  274. - "normalize/ixVolume"
  275. - variable: hostPath
  276. label: Host Path
  277. schema:
  278. type: hostpath
  279. show_if: [["type", "=", "hostPath"]]
  280. immutable: true
  281. required: true
  282. - variable: medium
  283. label: emptyDir Medium
  284. description: |
  285. Disk: Creates a temporary directory on the disk.</br>
  286. Memory: Creates a temporary directory in memory.
  287. schema:
  288. type: string
  289. show_if: [["type", "=", "emptyDir"]]
  290. default: ""
  291. enum:
  292. - value: ""
  293. description: Disk (Temporary directory created on the disk)
  294. - value: "Memory"
  295. description: Memory (Temporary directory created in memory)
  296. - variable: size
  297. label: emptyDir Size Limit
  298. description: |
  299. The maximum size of the temporary directory.</br>
  300. For example: 2Gi
  301. schema:
  302. type: string
  303. show_if: [["type", "=", "emptyDir"]]
  304. default: "2Gi"
  305. - variable: additionalStorages
  306. label: Additional Storage
  307. description: Additional storage for Tdarr.
  308. schema:
  309. type: list
  310. default: []
  311. items:
  312. - variable: storageEntry
  313. label: Storage Entry
  314. schema:
  315. type: dict
  316. attrs:
  317. - variable: type
  318. label: Type
  319. description: |
  320. ixVolume: Is dataset created automatically by the system.</br>
  321. Host Path: Is a path that already exists on the system.
  322. schema:
  323. type: string
  324. required: true
  325. default: "ixVolume"
  326. enum:
  327. - value: "hostPath"
  328. description: Host Path (Path that already exists on the system)
  329. - value: "ixVolume"
  330. description: ixVolume (Dataset created automatically by the system)
  331. - variable: mountPath
  332. label: Mount Path
  333. description: The path inside the container to mount the storage.
  334. schema:
  335. type: path
  336. required: true
  337. - variable: hostPath
  338. label: Host Path
  339. description: The host path to use for storage.
  340. schema:
  341. type: hostpath
  342. show_if: [["type", "=", "hostPath"]]
  343. required: true
  344. - variable: datasetName
  345. label: Dataset Name
  346. description: The name of the dataset to use for storage.
  347. schema:
  348. type: string
  349. show_if: [["type", "=", "ixVolume"]]
  350. required: true
  351. immutable: true
  352. default: "storage_entry"
  353. $ref:
  354. - "normalize/ixVolume"
  355. - variable: resources
  356. group: Resources Configuration
  357. label: ""
  358. schema:
  359. type: dict
  360. attrs:
  361. - variable: limits
  362. label: Limits
  363. schema:
  364. type: dict
  365. attrs:
  366. - variable: cpu
  367. label: CPU
  368. description: CPU limit for Tdarr.
  369. schema:
  370. type: string
  371. max_length: 6
  372. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  373. valid_chars_error: |
  374. Valid CPU limit formats are</br>
  375. - Plain Integer - eg. 1</br>
  376. - Float - eg. 0.5</br>
  377. - Milicpu - eg. 500m
  378. default: "4000m"
  379. required: true
  380. - variable: memory
  381. label: Memory
  382. description: Memory limit for Tdarr.
  383. schema:
  384. type: string
  385. max_length: 12
  386. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  387. valid_chars_error: |
  388. Valid Memory limit formats are</br>
  389. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  390. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  391. - Plain Integer in bytes - eg. 1024</br>
  392. - Exponent - eg. 134e6
  393. default: "8Gi"
  394. required: true
  395. - variable: tdarrGPU
  396. group: Resources Configuration
  397. label: GPU Configuration
  398. schema:
  399. type: dict
  400. $ref:
  401. - "definitions/gpuConfiguration"
  402. attrs: []