questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. groups:
  2. - name: Jellyfin Configuration
  3. description: Configure Jellyfin
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Jellyfin
  6. - name: Network Configuration
  7. description: Configure Network for Jellyfin
  8. - name: Storage Configuration
  9. description: Configure Storage for Jellyfin
  10. - name: Resources Configuration
  11. description: Configure Resources for Jellyfin
  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: jellyfinConfig
  23. label: ""
  24. group: Jellyfin Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: publishServerUrl
  29. label: Published Server URL
  30. description: Optional - The URL that Jellyfin will be advertised.
  31. schema:
  32. type: string
  33. default: ""
  34. - variable: additionalEnvs
  35. label: Additional Environment Variables
  36. description: Configure additional environment variables for Jellyfin.
  37. schema:
  38. type: list
  39. default: []
  40. items:
  41. - variable: env
  42. label: Environment Variable
  43. schema:
  44. type: dict
  45. attrs:
  46. - variable: name
  47. label: Name
  48. schema:
  49. type: string
  50. required: true
  51. - variable: value
  52. label: Value
  53. schema:
  54. type: string
  55. required: true
  56. - variable: jellyfinRunAs
  57. label: ""
  58. group: User and Group Configuration
  59. schema:
  60. type: dict
  61. attrs:
  62. - variable: user
  63. label: User ID
  64. description: The user id that Jellyfin will run as.
  65. schema:
  66. type: int
  67. min: 2
  68. default: 568
  69. required: true
  70. - variable: group
  71. label: Group ID
  72. description: The group id that Jellyfin will run as.
  73. schema:
  74. type: int
  75. min: 2
  76. default: 568
  77. required: true
  78. - variable: jellyfinNetwork
  79. label: ""
  80. group: Network Configuration
  81. schema:
  82. type: dict
  83. attrs:
  84. - variable: hostNetwork
  85. label: Host Network
  86. description: |
  87. Bind to the host network. While it's recommended to keep this disabled.</br>
  88. It's required for autodiscovery to work.
  89. schema:
  90. type: boolean
  91. default: false
  92. - variable: webPort
  93. label: Web Port
  94. description: The port for the Jellyfin Web UI.
  95. schema:
  96. type: int
  97. default: 30013
  98. show_if: [["hostNetwork", "=", false]]
  99. min: 9000
  100. max: 65535
  101. required: true
  102. - variable: jellyfinStorage
  103. label: ""
  104. group: Storage Configuration
  105. schema:
  106. type: dict
  107. attrs:
  108. - variable: config
  109. label: Jellyfin Config Storage
  110. description: The path to store Jellyfin Configuration.
  111. schema:
  112. type: dict
  113. attrs:
  114. - variable: type
  115. label: Type
  116. description: |
  117. ixVolume: Is dataset created automatically by the system.</br>
  118. Host Path: Is a path that already exists on the system.
  119. schema:
  120. type: string
  121. required: true
  122. immutable: true
  123. default: "ixVolume"
  124. enum:
  125. - value: "hostPath"
  126. description: Host Path (Path that already exists on the system)
  127. - value: "ixVolume"
  128. description: ixVolume (Dataset created automatically by the system)
  129. - variable: ixVolumeConfig
  130. label: ixVolume Configuration
  131. description: The configuration for the ixVolume dataset.
  132. schema:
  133. type: dict
  134. show_if: [["type", "=", "ixVolume"]]
  135. $ref:
  136. - "normalize/ixVolume"
  137. attrs:
  138. - variable: aclEnable
  139. label: Enable ACL
  140. description: Enable ACL for the dataset.
  141. schema:
  142. type: boolean
  143. default: false
  144. - variable: datasetName
  145. label: Dataset Name
  146. description: The name of the dataset to use for storage.
  147. schema:
  148. type: string
  149. required: true
  150. immutable: true
  151. hidden: true
  152. default: "config"
  153. - variable: aclEntries
  154. label: ACL Configuration
  155. schema:
  156. type: dict
  157. show_if: [["aclEnable", "=", true]]
  158. attrs: []
  159. - variable: hostPathConfig
  160. label: Host Path Configuration
  161. schema:
  162. type: dict
  163. show_if: [["type", "=", "hostPath"]]
  164. attrs:
  165. - variable: aclEnable
  166. label: Enable ACL
  167. description: Enable ACL for the dataset.
  168. schema:
  169. type: boolean
  170. default: false
  171. - variable: acl
  172. label: ACL Configuration
  173. schema:
  174. type: dict
  175. show_if: [["aclEnable", "=", true]]
  176. attrs: []
  177. $ref:
  178. - "normalize/acl"
  179. - variable: hostPath
  180. label: Host Path
  181. description: The host path to use for storage.
  182. schema:
  183. type: hostpath
  184. show_if: [["aclEnable", "=", false]]
  185. required: true
  186. - variable: cache
  187. label: Jellyfin Cache Storage
  188. description: The path to store Jellyfin Cache.
  189. schema:
  190. type: dict
  191. attrs:
  192. - variable: type
  193. label: Type
  194. description: |
  195. ixVolume: Is dataset created automatically by the system.</br>
  196. Host Path: Is a path that already exists on the system.
  197. schema:
  198. type: string
  199. required: true
  200. immutable: true
  201. default: "ixVolume"
  202. enum:
  203. - value: "hostPath"
  204. description: Host Path (Path that already exists on the system)
  205. - value: "ixVolume"
  206. description: ixVolume (Dataset created automatically by the system)
  207. - variable: ixVolumeConfig
  208. label: ixVolume Configuration
  209. description: The configuration for the ixVolume dataset.
  210. schema:
  211. type: dict
  212. show_if: [["type", "=", "ixVolume"]]
  213. $ref:
  214. - "normalize/ixVolume"
  215. attrs:
  216. - variable: aclEnable
  217. label: Enable ACL
  218. description: Enable ACL for the dataset.
  219. schema:
  220. type: boolean
  221. default: false
  222. - variable: datasetName
  223. label: Dataset Name
  224. description: The name of the dataset to use for storage.
  225. schema:
  226. type: string
  227. required: true
  228. immutable: true
  229. hidden: true
  230. default: "cache"
  231. - variable: aclEntries
  232. label: ACL Configuration
  233. schema:
  234. type: dict
  235. show_if: [["aclEnable", "=", true]]
  236. attrs: []
  237. - variable: hostPathConfig
  238. label: Host Path Configuration
  239. schema:
  240. type: dict
  241. show_if: [["type", "=", "hostPath"]]
  242. attrs:
  243. - variable: aclEnable
  244. label: Enable ACL
  245. description: Enable ACL for the dataset.
  246. schema:
  247. type: boolean
  248. default: false
  249. - variable: acl
  250. label: ACL Configuration
  251. schema:
  252. type: dict
  253. show_if: [["aclEnable", "=", true]]
  254. attrs: []
  255. $ref:
  256. - "normalize/acl"
  257. - variable: hostPath
  258. label: Host Path
  259. description: The host path to use for storage.
  260. schema:
  261. type: hostpath
  262. show_if: [["aclEnable", "=", false]]
  263. required: true
  264. - variable: transcodes
  265. label: Jellyfin Transcodes Storage
  266. description: The path to store Jellyfin Transcodes.
  267. schema:
  268. type: dict
  269. attrs:
  270. - variable: type
  271. label: Type
  272. description: |
  273. ixVolume: Is dataset created automatically by the system.</br>
  274. Host Path: Is a path that already exists on the system.</br>
  275. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  276. schema:
  277. type: string
  278. required: true
  279. immutable: true
  280. default: "ixVolume"
  281. enum:
  282. - value: "hostPath"
  283. description: Host Path (Path that already exists on the system)
  284. - value: "ixVolume"
  285. description: ixVolume (Dataset created automatically by the system)
  286. - value: "emptyDir"
  287. description: emptyDir (Temporary directory created on the disk or in memory)
  288. - variable: ixVolumeConfig
  289. label: ixVolume Configuration
  290. description: The configuration for the ixVolume dataset.
  291. schema:
  292. type: dict
  293. show_if: [["type", "=", "ixVolume"]]
  294. $ref:
  295. - "normalize/ixVolume"
  296. attrs:
  297. - variable: aclEnable
  298. label: Enable ACL
  299. description: Enable ACL for the dataset.
  300. schema:
  301. type: boolean
  302. default: false
  303. - variable: datasetName
  304. label: Dataset Name
  305. description: The name of the dataset to use for storage.
  306. schema:
  307. type: string
  308. required: true
  309. immutable: true
  310. hidden: true
  311. default: "transcodes"
  312. - variable: aclEntries
  313. label: ACL Configuration
  314. schema:
  315. type: dict
  316. show_if: [["aclEnable", "=", true]]
  317. attrs: []
  318. - variable: emptyDirConfig
  319. label: emptyDir Configuration
  320. schema:
  321. type: dict
  322. show_if: [["type", "=", "emptyDir"]]
  323. attrs:
  324. - variable: medium
  325. label: emptyDir Medium
  326. description: |
  327. Disk: Creates a temporary directory on the disk.</br>
  328. Memory: Creates a temporary directory in memory.
  329. schema:
  330. type: string
  331. default: ""
  332. enum:
  333. - value: ""
  334. description: Disk (Temporary directory created on the disk)
  335. - value: "Memory"
  336. description: Memory (Temporary directory created in memory)
  337. - variable: size
  338. label: emptyDir Size Limit (in Gi)
  339. description: |
  340. The maximum size (in Gi) of the temporary directory.</br>
  341. For example: 2
  342. schema:
  343. type: int
  344. "null": true
  345. default: 2
  346. - variable: hostPathConfig
  347. label: Host Path Configuration
  348. schema:
  349. type: dict
  350. show_if: [["type", "=", "hostPath"]]
  351. attrs:
  352. - variable: aclEnable
  353. label: Enable ACL
  354. description: Enable ACL for the dataset.
  355. schema:
  356. type: boolean
  357. default: false
  358. - variable: acl
  359. label: ACL Configuration
  360. schema:
  361. type: dict
  362. show_if: [["aclEnable", "=", true]]
  363. attrs: []
  364. $ref:
  365. - "normalize/acl"
  366. - variable: hostPath
  367. label: Host Path
  368. description: The host path to use for storage.
  369. schema:
  370. type: hostpath
  371. show_if: [["aclEnable", "=", false]]
  372. required: true
  373. - variable: additionalStorages
  374. label: Additional Storage
  375. description: Additional storage for Jellyfin.
  376. schema:
  377. type: list
  378. default: []
  379. items:
  380. - variable: storageEntry
  381. label: Storage Entry
  382. schema:
  383. type: dict
  384. attrs:
  385. - variable: type
  386. label: Type
  387. description: |
  388. ixVolume: Is dataset created automatically by the system.</br>
  389. Host Path: Is a path that already exists on the system.</br>
  390. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  391. schema:
  392. type: string
  393. required: true
  394. default: "ixVolume"
  395. immutable: true
  396. enum:
  397. - value: "hostPath"
  398. description: Host Path (Path that already exists on the system)
  399. - value: "ixVolume"
  400. description: ixVolume (Dataset created automatically by the system)
  401. - value: "smb-pv-pvc"
  402. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  403. - variable: readOnly
  404. label: Read Only
  405. description: Mount the volume as read only.
  406. schema:
  407. type: boolean
  408. default: false
  409. - variable: mountPath
  410. label: Mount Path
  411. description: The path inside the container to mount the storage.
  412. schema:
  413. type: path
  414. required: true
  415. - variable: hostPathConfig
  416. label: Host Path Configuration
  417. schema:
  418. type: dict
  419. show_if: [["type", "=", "hostPath"]]
  420. attrs:
  421. - variable: aclEnable
  422. label: Enable ACL
  423. description: Enable ACL for the dataset.
  424. schema:
  425. type: boolean
  426. default: false
  427. - variable: acl
  428. label: ACL Configuration
  429. schema:
  430. type: dict
  431. show_if: [["aclEnable", "=", true]]
  432. attrs: []
  433. $ref:
  434. - "normalize/acl"
  435. - variable: hostPath
  436. label: Host Path
  437. description: The host path to use for storage.
  438. schema:
  439. type: hostpath
  440. show_if: [["aclEnable", "=", false]]
  441. required: true
  442. - variable: ixVolumeConfig
  443. label: ixVolume Configuration
  444. description: The configuration for the ixVolume dataset.
  445. schema:
  446. type: dict
  447. show_if: [["type", "=", "ixVolume"]]
  448. $ref:
  449. - "normalize/ixVolume"
  450. attrs:
  451. - variable: aclEnable
  452. label: Enable ACL
  453. description: Enable ACL for the dataset.
  454. schema:
  455. type: boolean
  456. default: false
  457. - variable: datasetName
  458. label: Dataset Name
  459. description: The name of the dataset to use for storage.
  460. schema:
  461. type: string
  462. required: true
  463. immutable: true
  464. default: "storage_entry"
  465. - variable: aclEntries
  466. label: ACL Configuration
  467. schema:
  468. type: dict
  469. show_if: [["aclEnable", "=", true]]
  470. attrs: []
  471. - variable: smbConfig
  472. label: SMB Share Configuration
  473. description: The configuration for the SMB Share.
  474. schema:
  475. type: dict
  476. show_if: [["type", "=", "smb-pv-pvc"]]
  477. attrs:
  478. - variable: server
  479. label: Server
  480. description: The server for the SMB share.
  481. schema:
  482. type: string
  483. required: true
  484. - variable: share
  485. label: Share
  486. description: The share name for the SMB share.
  487. schema:
  488. type: string
  489. required: true
  490. - variable: domain
  491. label: Domain (Optional)
  492. description: The domain for the SMB share.
  493. schema:
  494. type: string
  495. - variable: username
  496. label: Username
  497. description: The username for the SMB share.
  498. schema:
  499. type: string
  500. required: true
  501. - variable: password
  502. label: Password
  503. description: The password for the SMB share.
  504. schema:
  505. type: string
  506. required: true
  507. private: true
  508. - variable: size
  509. label: Size (in Gi)
  510. description: The size of the volume quota.
  511. schema:
  512. type: int
  513. required: true
  514. min: 1
  515. default: 1
  516. - variable: resources
  517. group: Resources Configuration
  518. label: ""
  519. schema:
  520. type: dict
  521. attrs:
  522. - variable: limits
  523. label: Limits
  524. schema:
  525. type: dict
  526. attrs:
  527. - variable: cpu
  528. label: CPU
  529. description: CPU limit for Jellyfin.
  530. schema:
  531. type: string
  532. max_length: 6
  533. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  534. valid_chars_error: |
  535. Valid CPU limit formats are</br>
  536. - Plain Integer - eg. 1</br>
  537. - Float - eg. 0.5</br>
  538. - Milicpu - eg. 500m
  539. default: "4000m"
  540. required: true
  541. - variable: memory
  542. label: Memory
  543. description: Memory limit for Jellyfin.
  544. schema:
  545. type: string
  546. max_length: 12
  547. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  548. valid_chars_error: |
  549. Valid Memory limit formats are</br>
  550. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  551. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  552. - Plain Integer in bytes - eg. 1024</br>
  553. - Exponent - eg. 134e6
  554. default: "8Gi"
  555. required: true
  556. - variable: jellyfinGPU
  557. group: Resources Configuration
  558. label: GPU Configuration
  559. schema:
  560. type: dict
  561. $ref:
  562. - "definitions/gpuConfiguration"
  563. attrs: []