questions.yaml 22 KB

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