questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  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. immutable: true
  165. required: true
  166. - variable: configs
  167. label: Tdarr Config Storage
  168. description: The path to store Tdarr Configuration.
  169. schema:
  170. type: dict
  171. attrs:
  172. - variable: type
  173. label: Type
  174. description: |
  175. ixVolume: Is dataset created automatically by the system.</br>
  176. Host Path: Is a path that already exists on the system.
  177. schema:
  178. type: string
  179. required: true
  180. immutable: true
  181. default: "ixVolume"
  182. enum:
  183. - value: "hostPath"
  184. description: Host Path (Path that already exists on the system)
  185. - value: "ixVolume"
  186. description: ixVolume (Dataset created automatically by the system)
  187. - variable: datasetName
  188. label: Dataset Name
  189. schema:
  190. type: string
  191. show_if: [["type", "=", "ixVolume"]]
  192. required: true
  193. hidden: true
  194. immutable: true
  195. default: "configs"
  196. $ref:
  197. - "normalize/ixVolume"
  198. - variable: hostPath
  199. label: Host Path
  200. schema:
  201. type: hostpath
  202. show_if: [["type", "=", "hostPath"]]
  203. immutable: true
  204. required: true
  205. - variable: logs
  206. label: Tdarr Logs Storage
  207. description: The path to store Tdarr Logs.
  208. schema:
  209. type: dict
  210. attrs:
  211. - variable: type
  212. label: Type
  213. description: |
  214. ixVolume: Is dataset created automatically by the system.</br>
  215. Host Path: Is a path that already exists on the system.
  216. schema:
  217. type: string
  218. required: true
  219. immutable: true
  220. default: "ixVolume"
  221. enum:
  222. - value: "hostPath"
  223. description: Host Path (Path that already exists on the system)
  224. - value: "ixVolume"
  225. description: ixVolume (Dataset created automatically by the system)
  226. - variable: datasetName
  227. label: Dataset Name
  228. schema:
  229. type: string
  230. show_if: [["type", "=", "ixVolume"]]
  231. required: true
  232. hidden: true
  233. immutable: true
  234. default: "logs"
  235. $ref:
  236. - "normalize/ixVolume"
  237. - variable: hostPath
  238. label: Host Path
  239. schema:
  240. type: hostpath
  241. show_if: [["type", "=", "hostPath"]]
  242. immutable: true
  243. required: true
  244. - variable: transcodes
  245. label: Tdarr Transcodes Storage
  246. description: The path to store Tdarr Transcodes.
  247. schema:
  248. type: dict
  249. attrs:
  250. - variable: type
  251. label: Type
  252. description: |
  253. ixVolume: Is dataset created automatically by the system.</br>
  254. Host Path: Is a path that already exists on the system.</br>
  255. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  256. schema:
  257. type: string
  258. required: true
  259. immutable: true
  260. default: "ixVolume"
  261. enum:
  262. - value: "hostPath"
  263. description: Host Path (Path that already exists on the system)
  264. - value: "ixVolume"
  265. description: ixVolume (Dataset created automatically by the system)
  266. - value: "emptyDir"
  267. description: emptyDir (Temporary directory created on the disk or in memory)
  268. - variable: datasetName
  269. label: Dataset Name
  270. schema:
  271. type: string
  272. show_if: [["type", "=", "ixVolume"]]
  273. required: true
  274. hidden: true
  275. immutable: true
  276. default: "transcodes"
  277. $ref:
  278. - "normalize/ixVolume"
  279. - variable: hostPath
  280. label: Host Path
  281. schema:
  282. type: hostpath
  283. show_if: [["type", "=", "hostPath"]]
  284. immutable: true
  285. required: true
  286. - variable: medium
  287. label: emptyDir Medium
  288. description: |
  289. Disk: Creates a temporary directory on the disk.</br>
  290. Memory: Creates a temporary directory in memory.
  291. schema:
  292. type: string
  293. show_if: [["type", "=", "emptyDir"]]
  294. default: ""
  295. enum:
  296. - value: ""
  297. description: Disk (Temporary directory created on the disk)
  298. - value: "Memory"
  299. description: Memory (Temporary directory created in memory)
  300. - variable: size
  301. label: emptyDir Size Limit
  302. description: |
  303. The maximum size of the temporary directory.</br>
  304. For example: 2Gi
  305. schema:
  306. type: string
  307. show_if: [["type", "=", "emptyDir"]]
  308. default: "2Gi"
  309. - variable: additionalStorages
  310. label: Additional Storage
  311. description: Additional storage for Tdarr.
  312. schema:
  313. type: list
  314. default: []
  315. items:
  316. - variable: storageEntry
  317. label: Storage Entry
  318. schema:
  319. type: dict
  320. attrs:
  321. - variable: type
  322. label: Type
  323. description: |
  324. ixVolume: Is dataset created automatically by the system.</br>
  325. Host Path: Is a path that already exists on the system.</br>
  326. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  327. schema:
  328. type: string
  329. required: true
  330. default: "ixVolume"
  331. immutable: true
  332. enum:
  333. - value: "hostPath"
  334. description: Host Path (Path that already exists on the system)
  335. - value: "ixVolume"
  336. description: ixVolume (Dataset created automatically by the system)
  337. - value: "smb-pv-pvc"
  338. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  339. - variable: mountPath
  340. label: Mount Path
  341. description: The path inside the container to mount the storage.
  342. schema:
  343. type: path
  344. required: true
  345. - variable: hostPath
  346. label: Host Path
  347. description: The host path to use for storage.
  348. schema:
  349. type: hostpath
  350. show_if: [["type", "=", "hostPath"]]
  351. required: true
  352. - variable: datasetName
  353. label: Dataset Name
  354. description: The name of the dataset to use for storage.
  355. schema:
  356. type: string
  357. show_if: [["type", "=", "ixVolume"]]
  358. required: true
  359. immutable: true
  360. default: "storage_entry"
  361. $ref:
  362. - "normalize/ixVolume"
  363. - variable: server
  364. label: Server
  365. description: The server for the SMB share.
  366. schema:
  367. type: string
  368. show_if: [["type", "=", "smb-pv-pvc"]]
  369. required: true
  370. - variable: share
  371. label: Share
  372. description: The share name for the SMB share.
  373. schema:
  374. type: string
  375. show_if: [["type", "=", "smb-pv-pvc"]]
  376. required: true
  377. - variable: domain
  378. label: Domain (Optional)
  379. description: The domain for the SMB share.
  380. schema:
  381. type: string
  382. show_if: [["type", "=", "smb-pv-pvc"]]
  383. - variable: username
  384. label: Username
  385. description: The username for the SMB share.
  386. schema:
  387. type: string
  388. show_if: [["type", "=", "smb-pv-pvc"]]
  389. required: true
  390. - variable: password
  391. label: Password
  392. description: The password for the SMB share.
  393. schema:
  394. type: string
  395. show_if: [["type", "=", "smb-pv-pvc"]]
  396. required: true
  397. private: true
  398. - variable: size
  399. label: Size (in Gi)
  400. description: The size of the volume quota.
  401. schema:
  402. type: int
  403. show_if: [["type", "=", "smb-pv-pvc"]]
  404. required: true
  405. min: 1
  406. default: 1
  407. - variable: resources
  408. group: Resources Configuration
  409. label: ""
  410. schema:
  411. type: dict
  412. attrs:
  413. - variable: limits
  414. label: Limits
  415. schema:
  416. type: dict
  417. attrs:
  418. - variable: cpu
  419. label: CPU
  420. description: CPU limit for Tdarr.
  421. schema:
  422. type: string
  423. max_length: 6
  424. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  425. valid_chars_error: |
  426. Valid CPU limit formats are</br>
  427. - Plain Integer - eg. 1</br>
  428. - Float - eg. 0.5</br>
  429. - Milicpu - eg. 500m
  430. default: "4000m"
  431. required: true
  432. - variable: memory
  433. label: Memory
  434. description: Memory limit for Tdarr.
  435. schema:
  436. type: string
  437. max_length: 12
  438. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  439. valid_chars_error: |
  440. Valid Memory limit formats are</br>
  441. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  442. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  443. - Plain Integer in bytes - eg. 1024</br>
  444. - Exponent - eg. 134e6
  445. default: "8Gi"
  446. required: true
  447. - variable: tdarrGPU
  448. group: Resources Configuration
  449. label: GPU Configuration
  450. schema:
  451. type: dict
  452. $ref:
  453. - "definitions/gpuConfiguration"
  454. attrs: []