questions.yaml 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672
  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: ixVolumeConfig
  149. label: ixVolume Configuration
  150. description: The configuration for the ixVolume dataset.
  151. schema:
  152. type: dict
  153. show_if: [["type", "=", "ixVolume"]]
  154. $ref:
  155. - "normalize/ixVolume"
  156. attrs:
  157. - variable: aclEnable
  158. label: Enable ACL
  159. description: Enable ACL for the dataset.
  160. schema:
  161. type: boolean
  162. default: false
  163. - variable: datasetName
  164. label: Dataset Name
  165. description: The name of the dataset to use for storage.
  166. schema:
  167. type: string
  168. required: true
  169. immutable: true
  170. hidden: true
  171. default: "server"
  172. - variable: aclEntries
  173. label: ACL Configuration
  174. schema:
  175. type: dict
  176. show_if: [["aclEnable", "=", true]]
  177. attrs: []
  178. - variable: hostPathConfig
  179. label: Host Path Configuration
  180. schema:
  181. type: dict
  182. show_if: [["type", "=", "hostPath"]]
  183. attrs:
  184. - variable: aclEnable
  185. label: Enable ACL
  186. description: Enable ACL for the dataset.
  187. schema:
  188. type: boolean
  189. default: false
  190. - variable: acl
  191. label: ACL Configuration
  192. schema:
  193. type: dict
  194. show_if: [["aclEnable", "=", true]]
  195. attrs: []
  196. $ref:
  197. - "normalize/acl"
  198. - variable: hostPath
  199. label: Host Path
  200. description: The host path to use for storage.
  201. schema:
  202. type: hostpath
  203. show_if: [["aclEnable", "=", false]]
  204. required: true
  205. - variable: configs
  206. label: Tdarr Config Storage
  207. description: The path to store Tdarr Configuration.
  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: ixVolumeConfig
  227. label: ixVolume Configuration
  228. description: The configuration for the ixVolume dataset.
  229. schema:
  230. type: dict
  231. show_if: [["type", "=", "ixVolume"]]
  232. $ref:
  233. - "normalize/ixVolume"
  234. attrs:
  235. - variable: aclEnable
  236. label: Enable ACL
  237. description: Enable ACL for the dataset.
  238. schema:
  239. type: boolean
  240. default: false
  241. - variable: datasetName
  242. label: Dataset Name
  243. description: The name of the dataset to use for storage.
  244. schema:
  245. type: string
  246. required: true
  247. immutable: true
  248. hidden: true
  249. default: "configs"
  250. - variable: aclEntries
  251. label: ACL Configuration
  252. schema:
  253. type: dict
  254. show_if: [["aclEnable", "=", true]]
  255. attrs: []
  256. - variable: hostPathConfig
  257. label: Host Path Configuration
  258. schema:
  259. type: dict
  260. show_if: [["type", "=", "hostPath"]]
  261. attrs:
  262. - variable: aclEnable
  263. label: Enable ACL
  264. description: Enable ACL for the dataset.
  265. schema:
  266. type: boolean
  267. default: false
  268. - variable: acl
  269. label: ACL Configuration
  270. schema:
  271. type: dict
  272. show_if: [["aclEnable", "=", true]]
  273. attrs: []
  274. $ref:
  275. - "normalize/acl"
  276. - variable: hostPath
  277. label: Host Path
  278. description: The host path to use for storage.
  279. schema:
  280. type: hostpath
  281. show_if: [["aclEnable", "=", false]]
  282. required: true
  283. - variable: logs
  284. label: Tdarr Logs Storage
  285. description: The path to store Tdarr Logs.
  286. schema:
  287. type: dict
  288. attrs:
  289. - variable: type
  290. label: Type
  291. description: |
  292. ixVolume: Is dataset created automatically by the system.</br>
  293. Host Path: Is a path that already exists on the system.
  294. schema:
  295. type: string
  296. required: true
  297. immutable: true
  298. default: "ixVolume"
  299. enum:
  300. - value: "hostPath"
  301. description: Host Path (Path that already exists on the system)
  302. - value: "ixVolume"
  303. description: ixVolume (Dataset created automatically by the system)
  304. - variable: ixVolumeConfig
  305. label: ixVolume Configuration
  306. description: The configuration for the ixVolume dataset.
  307. schema:
  308. type: dict
  309. show_if: [["type", "=", "ixVolume"]]
  310. $ref:
  311. - "normalize/ixVolume"
  312. attrs:
  313. - variable: aclEnable
  314. label: Enable ACL
  315. description: Enable ACL for the dataset.
  316. schema:
  317. type: boolean
  318. default: false
  319. - variable: datasetName
  320. label: Dataset Name
  321. description: The name of the dataset to use for storage.
  322. schema:
  323. type: string
  324. required: true
  325. immutable: true
  326. hidden: true
  327. default: "logs"
  328. - variable: aclEntries
  329. label: ACL Configuration
  330. schema:
  331. type: dict
  332. show_if: [["aclEnable", "=", true]]
  333. attrs: []
  334. - variable: hostPathConfig
  335. label: Host Path Configuration
  336. schema:
  337. type: dict
  338. show_if: [["type", "=", "hostPath"]]
  339. attrs:
  340. - variable: aclEnable
  341. label: Enable ACL
  342. description: Enable ACL for the dataset.
  343. schema:
  344. type: boolean
  345. default: false
  346. - variable: acl
  347. label: ACL Configuration
  348. schema:
  349. type: dict
  350. show_if: [["aclEnable", "=", true]]
  351. attrs: []
  352. $ref:
  353. - "normalize/acl"
  354. - variable: hostPath
  355. label: Host Path
  356. description: The host path to use for storage.
  357. schema:
  358. type: hostpath
  359. show_if: [["aclEnable", "=", false]]
  360. required: true
  361. - variable: transcodes
  362. label: Tdarr Transcodes Storage
  363. description: The path to store Tdarr Transcodes.
  364. schema:
  365. type: dict
  366. attrs:
  367. - variable: type
  368. label: Type
  369. description: |
  370. ixVolume: Is dataset created automatically by the system.</br>
  371. Host Path: Is a path that already exists on the system.</br>
  372. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  373. schema:
  374. type: string
  375. required: true
  376. immutable: true
  377. default: "ixVolume"
  378. enum:
  379. - value: "hostPath"
  380. description: Host Path (Path that already exists on the system)
  381. - value: "ixVolume"
  382. description: ixVolume (Dataset created automatically by the system)
  383. - value: "emptyDir"
  384. description: emptyDir (Temporary directory created on the disk or in memory)
  385. - variable: ixVolumeConfig
  386. label: ixVolume Configuration
  387. description: The configuration for the ixVolume dataset.
  388. schema:
  389. type: dict
  390. show_if: [["type", "=", "ixVolume"]]
  391. $ref:
  392. - "normalize/ixVolume"
  393. attrs:
  394. - variable: aclEnable
  395. label: Enable ACL
  396. description: Enable ACL for the dataset.
  397. schema:
  398. type: boolean
  399. default: false
  400. - variable: datasetName
  401. label: Dataset Name
  402. description: The name of the dataset to use for storage.
  403. schema:
  404. type: string
  405. required: true
  406. immutable: true
  407. hidden: true
  408. default: "transcodes"
  409. - variable: aclEntries
  410. label: ACL Configuration
  411. schema:
  412. type: dict
  413. show_if: [["aclEnable", "=", true]]
  414. attrs: []
  415. - variable: emptyDirConfig
  416. label: emptyDir Configuration
  417. schema:
  418. type: dict
  419. show_if: [["type", "=", "emptyDir"]]
  420. attrs:
  421. - variable: medium
  422. label: emptyDir Medium
  423. description: |
  424. Disk: Creates a temporary directory on the disk.</br>
  425. Memory: Creates a temporary directory in memory.
  426. schema:
  427. type: string
  428. default: ""
  429. enum:
  430. - value: ""
  431. description: Disk (Temporary directory created on the disk)
  432. - value: "Memory"
  433. description: Memory (Temporary directory created in memory)
  434. - variable: size
  435. label: emptyDir Size Limit (in Gi)
  436. description: |
  437. The maximum size (in Gi) of the temporary directory.</br>
  438. For example: 2
  439. schema:
  440. type: int
  441. "null": true
  442. default: 2
  443. - variable: hostPathConfig
  444. label: Host Path Configuration
  445. schema:
  446. type: dict
  447. show_if: [["type", "=", "hostPath"]]
  448. attrs:
  449. - variable: aclEnable
  450. label: Enable ACL
  451. description: Enable ACL for the dataset.
  452. schema:
  453. type: boolean
  454. default: false
  455. - variable: acl
  456. label: ACL Configuration
  457. schema:
  458. type: dict
  459. show_if: [["aclEnable", "=", true]]
  460. attrs: []
  461. $ref:
  462. - "normalize/acl"
  463. - variable: hostPath
  464. label: Host Path
  465. description: The host path to use for storage.
  466. schema:
  467. type: hostpath
  468. show_if: [["aclEnable", "=", false]]
  469. required: true
  470. - variable: additionalStorages
  471. label: Additional Storage
  472. description: Additional storage for Tdarr.
  473. schema:
  474. type: list
  475. default: []
  476. items:
  477. - variable: storageEntry
  478. label: Storage Entry
  479. schema:
  480. type: dict
  481. attrs:
  482. - variable: type
  483. label: Type
  484. description: |
  485. ixVolume: Is dataset created automatically by the system.</br>
  486. Host Path: Is a path that already exists on the system.</br>
  487. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  488. schema:
  489. type: string
  490. required: true
  491. default: "ixVolume"
  492. immutable: true
  493. enum:
  494. - value: "hostPath"
  495. description: Host Path (Path that already exists on the system)
  496. - value: "ixVolume"
  497. description: ixVolume (Dataset created automatically by the system)
  498. - value: "smb-pv-pvc"
  499. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  500. - variable: readOnly
  501. label: Read Only
  502. description: Mount the volume as read only.
  503. schema:
  504. type: boolean
  505. default: false
  506. - variable: mountPath
  507. label: Mount Path
  508. description: The path inside the container to mount the storage.
  509. schema:
  510. type: path
  511. required: true
  512. - variable: hostPathConfig
  513. label: Host Path Configuration
  514. schema:
  515. type: dict
  516. show_if: [["type", "=", "hostPath"]]
  517. attrs:
  518. - variable: aclEnable
  519. label: Enable ACL
  520. description: Enable ACL for the dataset.
  521. schema:
  522. type: boolean
  523. default: false
  524. - variable: acl
  525. label: ACL Configuration
  526. schema:
  527. type: dict
  528. show_if: [["aclEnable", "=", true]]
  529. attrs: []
  530. $ref:
  531. - "normalize/acl"
  532. - variable: hostPath
  533. label: Host Path
  534. description: The host path to use for storage.
  535. schema:
  536. type: hostpath
  537. show_if: [["aclEnable", "=", false]]
  538. required: true
  539. - variable: ixVolumeConfig
  540. label: ixVolume Configuration
  541. description: The configuration for the ixVolume dataset.
  542. schema:
  543. type: dict
  544. show_if: [["type", "=", "ixVolume"]]
  545. $ref:
  546. - "normalize/ixVolume"
  547. attrs:
  548. - variable: aclEnable
  549. label: Enable ACL
  550. description: Enable ACL for the dataset.
  551. schema:
  552. type: boolean
  553. default: false
  554. - variable: datasetName
  555. label: Dataset Name
  556. description: The name of the dataset to use for storage.
  557. schema:
  558. type: string
  559. required: true
  560. immutable: true
  561. default: "storage_entry"
  562. - variable: aclEntries
  563. label: ACL Configuration
  564. schema:
  565. type: dict
  566. show_if: [["aclEnable", "=", true]]
  567. attrs: []
  568. - variable: smbConfig
  569. label: SMB Share Configuration
  570. description: The configuration for the SMB Share.
  571. schema:
  572. type: dict
  573. show_if: [["type", "=", "smb-pv-pvc"]]
  574. attrs:
  575. - variable: server
  576. label: Server
  577. description: The server for the SMB share.
  578. schema:
  579. type: string
  580. required: true
  581. - variable: share
  582. label: Share
  583. description: The share name for the SMB share.
  584. schema:
  585. type: string
  586. required: true
  587. - variable: domain
  588. label: Domain (Optional)
  589. description: The domain for the SMB share.
  590. schema:
  591. type: string
  592. - variable: username
  593. label: Username
  594. description: The username for the SMB share.
  595. schema:
  596. type: string
  597. required: true
  598. - variable: password
  599. label: Password
  600. description: The password for the SMB share.
  601. schema:
  602. type: string
  603. required: true
  604. private: true
  605. - variable: size
  606. label: Size (in Gi)
  607. description: The size of the volume quota.
  608. schema:
  609. type: int
  610. required: true
  611. min: 1
  612. default: 1
  613. - variable: resources
  614. group: Resources Configuration
  615. label: ""
  616. schema:
  617. type: dict
  618. attrs:
  619. - variable: limits
  620. label: Limits
  621. schema:
  622. type: dict
  623. attrs:
  624. - variable: cpu
  625. label: CPU
  626. description: CPU limit for Tdarr.
  627. schema:
  628. type: string
  629. max_length: 6
  630. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  631. valid_chars_error: |
  632. Valid CPU limit formats are</br>
  633. - Plain Integer - eg. 1</br>
  634. - Float - eg. 0.5</br>
  635. - Milicpu - eg. 500m
  636. default: "4000m"
  637. required: true
  638. - variable: memory
  639. label: Memory
  640. description: Memory limit for Tdarr.
  641. schema:
  642. type: string
  643. max_length: 12
  644. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  645. valid_chars_error: |
  646. Valid Memory limit formats are</br>
  647. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  648. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  649. - Plain Integer in bytes - eg. 1024</br>
  650. - Exponent - eg. 134e6
  651. default: "8Gi"
  652. required: true
  653. - variable: tdarrGPU
  654. group: Resources Configuration
  655. label: GPU Configuration
  656. schema:
  657. type: dict
  658. $ref:
  659. - "definitions/gpuConfiguration"
  660. attrs: []