questions.yaml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  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. immutable: true
  142. default: "ixVolume"
  143. enum:
  144. - value: "hostPath"
  145. description: Host Path (Path that already exists on the system)
  146. - value: "ixVolume"
  147. description: ixVolume (Dataset created automatically by the system)
  148. - variable: datasetName
  149. label: Dataset Name
  150. schema:
  151. type: string
  152. show_if: [["type", "=", "ixVolume"]]
  153. required: true
  154. hidden: true
  155. immutable: true
  156. default: "server"
  157. $ref:
  158. - "normalize/ixVolume"
  159. - variable: hostPath
  160. label: Host Path
  161. schema:
  162. type: hostpath
  163. show_if: [["type", "=", "hostPath"]]
  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. immutable: true
  180. default: "ixVolume"
  181. enum:
  182. - value: "hostPath"
  183. description: Host Path (Path that already exists on the system)
  184. - value: "ixVolume"
  185. description: ixVolume (Dataset created automatically by the system)
  186. - variable: datasetName
  187. label: Dataset Name
  188. schema:
  189. type: string
  190. show_if: [["type", "=", "ixVolume"]]
  191. required: true
  192. hidden: true
  193. immutable: true
  194. default: "configs"
  195. $ref:
  196. - "normalize/ixVolume"
  197. - variable: hostPath
  198. label: Host Path
  199. schema:
  200. type: hostpath
  201. show_if: [["type", "=", "hostPath"]]
  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. immutable: true
  218. default: "ixVolume"
  219. enum:
  220. - value: "hostPath"
  221. description: Host Path (Path that already exists on the system)
  222. - value: "ixVolume"
  223. description: ixVolume (Dataset created automatically by the system)
  224. - variable: datasetName
  225. label: Dataset Name
  226. schema:
  227. type: string
  228. show_if: [["type", "=", "ixVolume"]]
  229. required: true
  230. hidden: true
  231. immutable: true
  232. default: "logs"
  233. $ref:
  234. - "normalize/ixVolume"
  235. - variable: hostPath
  236. label: Host Path
  237. schema:
  238. type: hostpath
  239. show_if: [["type", "=", "hostPath"]]
  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. immutable: true
  257. default: "ixVolume"
  258. enum:
  259. - value: "hostPath"
  260. description: Host Path (Path that already exists on the system)
  261. - value: "ixVolume"
  262. description: ixVolume (Dataset created automatically by the system)
  263. - value: "emptyDir"
  264. description: emptyDir (Temporary directory created on the disk or in memory)
  265. - variable: datasetName
  266. label: Dataset Name
  267. schema:
  268. type: string
  269. show_if: [["type", "=", "ixVolume"]]
  270. required: true
  271. hidden: true
  272. immutable: true
  273. default: "transcodes"
  274. $ref:
  275. - "normalize/ixVolume"
  276. - variable: hostPath
  277. label: Host Path
  278. schema:
  279. type: hostpath
  280. show_if: [["type", "=", "hostPath"]]
  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.</br>
  322. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  323. schema:
  324. type: string
  325. required: true
  326. default: "ixVolume"
  327. immutable: true
  328. enum:
  329. - value: "hostPath"
  330. description: Host Path (Path that already exists on the system)
  331. - value: "ixVolume"
  332. description: ixVolume (Dataset created automatically by the system)
  333. - value: "smb-pv-pvc"
  334. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  335. - variable: mountPath
  336. label: Mount Path
  337. description: The path inside the container to mount the storage.
  338. schema:
  339. type: path
  340. required: true
  341. - variable: hostPath
  342. label: Host Path
  343. description: The host path to use for storage.
  344. schema:
  345. type: hostpath
  346. show_if: [["type", "=", "hostPath"]]
  347. required: true
  348. - variable: datasetName
  349. label: Dataset Name
  350. description: The name of the dataset to use for storage.
  351. schema:
  352. type: string
  353. show_if: [["type", "=", "ixVolume"]]
  354. required: true
  355. immutable: true
  356. default: "storage_entry"
  357. $ref:
  358. - "normalize/ixVolume"
  359. - variable: server
  360. label: Server
  361. description: The server for the SMB share.
  362. schema:
  363. type: string
  364. show_if: [["type", "=", "smb-pv-pvc"]]
  365. required: true
  366. - variable: share
  367. label: Share
  368. description: The share name for the SMB share.
  369. schema:
  370. type: string
  371. show_if: [["type", "=", "smb-pv-pvc"]]
  372. required: true
  373. - variable: domain
  374. label: Domain (Optional)
  375. description: The domain for the SMB share.
  376. schema:
  377. type: string
  378. show_if: [["type", "=", "smb-pv-pvc"]]
  379. - variable: username
  380. label: Username
  381. description: The username for the SMB share.
  382. schema:
  383. type: string
  384. show_if: [["type", "=", "smb-pv-pvc"]]
  385. required: true
  386. - variable: password
  387. label: Password
  388. description: The password for the SMB share.
  389. schema:
  390. type: string
  391. show_if: [["type", "=", "smb-pv-pvc"]]
  392. required: true
  393. private: true
  394. - variable: size
  395. label: Size (in Gi)
  396. description: The size of the volume quota.
  397. schema:
  398. type: int
  399. show_if: [["type", "=", "smb-pv-pvc"]]
  400. required: true
  401. min: 1
  402. default: 1
  403. - variable: resources
  404. group: Resources Configuration
  405. label: ""
  406. schema:
  407. type: dict
  408. attrs:
  409. - variable: limits
  410. label: Limits
  411. schema:
  412. type: dict
  413. attrs:
  414. - variable: cpu
  415. label: CPU
  416. description: CPU limit for Tdarr.
  417. schema:
  418. type: string
  419. max_length: 6
  420. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  421. valid_chars_error: |
  422. Valid CPU limit formats are</br>
  423. - Plain Integer - eg. 1</br>
  424. - Float - eg. 0.5</br>
  425. - Milicpu - eg. 500m
  426. default: "4000m"
  427. required: true
  428. - variable: memory
  429. label: Memory
  430. description: Memory limit for Tdarr.
  431. schema:
  432. type: string
  433. max_length: 12
  434. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  435. valid_chars_error: |
  436. Valid Memory limit formats are</br>
  437. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  438. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  439. - Plain Integer in bytes - eg. 1024</br>
  440. - Exponent - eg. 134e6
  441. default: "8Gi"
  442. required: true
  443. - variable: tdarrGPU
  444. group: Resources Configuration
  445. label: GPU Configuration
  446. schema:
  447. type: dict
  448. $ref:
  449. - "definitions/gpuConfiguration"
  450. attrs: []