questions.yaml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  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. immutable: true
  186. required: true
  187. - variable: cache
  188. label: Jellyfin Cache Storage
  189. description: The path to store Jellyfin Cache.
  190. schema:
  191. type: dict
  192. attrs:
  193. - variable: type
  194. label: Type
  195. description: |
  196. ixVolume: Is dataset created automatically by the system.</br>
  197. Host Path: Is a path that already exists on the system.
  198. schema:
  199. type: string
  200. required: true
  201. immutable: true
  202. default: "ixVolume"
  203. enum:
  204. - value: "hostPath"
  205. description: Host Path (Path that already exists on the system)
  206. - value: "ixVolume"
  207. description: ixVolume (Dataset created automatically by the system)
  208. - variable: ixVolumeConfig
  209. label: ixVolume Configuration
  210. description: The configuration for the ixVolume dataset.
  211. schema:
  212. type: dict
  213. show_if: [["type", "=", "ixVolume"]]
  214. $ref:
  215. - "normalize/ixVolume"
  216. attrs:
  217. - variable: aclEnable
  218. label: Enable ACL
  219. description: Enable ACL for the dataset.
  220. schema:
  221. type: boolean
  222. default: false
  223. - variable: datasetName
  224. label: Dataset Name
  225. description: The name of the dataset to use for storage.
  226. schema:
  227. type: string
  228. required: true
  229. immutable: true
  230. hidden: true
  231. default: "cache"
  232. - variable: aclEntries
  233. label: ACL Configuration
  234. schema:
  235. type: dict
  236. show_if: [["aclEnable", "=", true]]
  237. attrs: []
  238. - variable: hostPathConfig
  239. label: Host Path Configuration
  240. schema:
  241. type: dict
  242. show_if: [["type", "=", "hostPath"]]
  243. attrs:
  244. - variable: aclEnable
  245. label: Enable ACL
  246. description: Enable ACL for the dataset.
  247. schema:
  248. type: boolean
  249. default: false
  250. - variable: acl
  251. label: ACL Configuration
  252. schema:
  253. type: dict
  254. show_if: [["aclEnable", "=", true]]
  255. attrs: []
  256. $ref:
  257. - "normalize/acl"
  258. - variable: hostPath
  259. label: Host Path
  260. description: The host path to use for storage.
  261. schema:
  262. type: hostpath
  263. show_if: [["aclEnable", "=", false]]
  264. immutable: true
  265. required: true
  266. - variable: transcodes
  267. label: Jellyfin Transcodes Storage
  268. description: The path to store Jellyfin Transcodes.
  269. schema:
  270. type: dict
  271. attrs:
  272. - variable: type
  273. label: Type
  274. description: |
  275. ixVolume: Is dataset created automatically by the system.</br>
  276. Host Path: Is a path that already exists on the system.</br>
  277. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  278. schema:
  279. type: string
  280. required: true
  281. immutable: true
  282. default: "ixVolume"
  283. enum:
  284. - value: "hostPath"
  285. description: Host Path (Path that already exists on the system)
  286. - value: "ixVolume"
  287. description: ixVolume (Dataset created automatically by the system)
  288. - value: "emptyDir"
  289. description: emptyDir (Temporary directory created on the disk or in memory)
  290. - variable: ixVolumeConfig
  291. label: ixVolume Configuration
  292. description: The configuration for the ixVolume dataset.
  293. schema:
  294. type: dict
  295. show_if: [["type", "=", "ixVolume"]]
  296. $ref:
  297. - "normalize/ixVolume"
  298. attrs:
  299. - variable: aclEnable
  300. label: Enable ACL
  301. description: Enable ACL for the dataset.
  302. schema:
  303. type: boolean
  304. default: false
  305. - variable: datasetName
  306. label: Dataset Name
  307. description: The name of the dataset to use for storage.
  308. schema:
  309. type: string
  310. required: true
  311. immutable: true
  312. hidden: true
  313. default: "transcodes"
  314. - variable: aclEntries
  315. label: ACL Configuration
  316. schema:
  317. type: dict
  318. show_if: [["aclEnable", "=", true]]
  319. attrs: []
  320. - variable: emptyDirConfig
  321. label: emptyDir Configuration
  322. schema:
  323. type: dict
  324. show_if: [["type", "=", "emptyDir"]]
  325. attrs:
  326. - variable: medium
  327. label: emptyDir Medium
  328. description: |
  329. Disk: Creates a temporary directory on the disk.</br>
  330. Memory: Creates a temporary directory in memory.
  331. schema:
  332. type: string
  333. default: ""
  334. enum:
  335. - value: ""
  336. description: Disk (Temporary directory created on the disk)
  337. - value: "Memory"
  338. description: Memory (Temporary directory created in memory)
  339. - variable: size
  340. label: emptyDir Size Limit (in Gi)
  341. description: |
  342. The maximum size (in Gi) of the temporary directory.</br>
  343. For example: 2
  344. schema:
  345. type: int
  346. "null": true
  347. default: 2
  348. - variable: hostPathConfig
  349. label: Host Path Configuration
  350. schema:
  351. type: dict
  352. show_if: [["type", "=", "hostPath"]]
  353. attrs:
  354. - variable: aclEnable
  355. label: Enable ACL
  356. description: Enable ACL for the dataset.
  357. schema:
  358. type: boolean
  359. default: false
  360. - variable: acl
  361. label: ACL Configuration
  362. schema:
  363. type: dict
  364. show_if: [["aclEnable", "=", true]]
  365. attrs: []
  366. $ref:
  367. - "normalize/acl"
  368. - variable: hostPath
  369. label: Host Path
  370. description: The host path to use for storage.
  371. schema:
  372. type: hostpath
  373. show_if: [["aclEnable", "=", false]]
  374. immutable: true
  375. required: true
  376. - variable: additionalStorages
  377. label: Additional Storage
  378. description: Additional storage for Jellyfin.
  379. schema:
  380. type: list
  381. default: []
  382. items:
  383. - variable: storageEntry
  384. label: Storage Entry
  385. schema:
  386. type: dict
  387. attrs:
  388. - variable: type
  389. label: Type
  390. description: |
  391. ixVolume: Is dataset created automatically by the system.</br>
  392. Host Path: Is a path that already exists on the system.</br>
  393. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  394. schema:
  395. type: string
  396. required: true
  397. default: "ixVolume"
  398. immutable: true
  399. enum:
  400. - value: "hostPath"
  401. description: Host Path (Path that already exists on the system)
  402. - value: "ixVolume"
  403. description: ixVolume (Dataset created automatically by the system)
  404. - value: "smb-pv-pvc"
  405. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  406. - variable: readOnly
  407. label: Read Only
  408. description: Mount the volume as read only.
  409. schema:
  410. type: boolean
  411. default: false
  412. - variable: mountPath
  413. label: Mount Path
  414. description: The path inside the container to mount the storage.
  415. schema:
  416. type: path
  417. required: true
  418. - variable: hostPathConfig
  419. label: Host Path Configuration
  420. schema:
  421. type: dict
  422. show_if: [["type", "=", "hostPath"]]
  423. attrs:
  424. - variable: aclEnable
  425. label: Enable ACL
  426. description: Enable ACL for the dataset.
  427. schema:
  428. type: boolean
  429. default: false
  430. - variable: acl
  431. label: ACL Configuration
  432. schema:
  433. type: dict
  434. show_if: [["aclEnable", "=", true]]
  435. attrs: []
  436. $ref:
  437. - "normalize/acl"
  438. - variable: hostPath
  439. label: Host Path
  440. description: The host path to use for storage.
  441. schema:
  442. type: hostpath
  443. show_if: [["aclEnable", "=", false]]
  444. immutable: true
  445. required: true
  446. - variable: ixVolumeConfig
  447. label: ixVolume Configuration
  448. description: The configuration for the ixVolume dataset.
  449. schema:
  450. type: dict
  451. show_if: [["type", "=", "ixVolume"]]
  452. $ref:
  453. - "normalize/ixVolume"
  454. attrs:
  455. - variable: aclEnable
  456. label: Enable ACL
  457. description: Enable ACL for the dataset.
  458. schema:
  459. type: boolean
  460. default: false
  461. - variable: datasetName
  462. label: Dataset Name
  463. description: The name of the dataset to use for storage.
  464. schema:
  465. type: string
  466. required: true
  467. immutable: true
  468. default: "storage_entry"
  469. - variable: aclEntries
  470. label: ACL Configuration
  471. schema:
  472. type: dict
  473. show_if: [["aclEnable", "=", true]]
  474. attrs: []
  475. - variable: smbConfig
  476. label: SMB Share Configuration
  477. description: The configuration for the SMB Share.
  478. schema:
  479. type: dict
  480. show_if: [["type", "=", "smb-pv-pvc"]]
  481. attrs:
  482. - variable: server
  483. label: Server
  484. description: The server for the SMB share.
  485. schema:
  486. type: string
  487. required: true
  488. - variable: share
  489. label: Share
  490. description: The share name for the SMB share.
  491. schema:
  492. type: string
  493. required: true
  494. - variable: domain
  495. label: Domain (Optional)
  496. description: The domain for the SMB share.
  497. schema:
  498. type: string
  499. - variable: username
  500. label: Username
  501. description: The username for the SMB share.
  502. schema:
  503. type: string
  504. required: true
  505. - variable: password
  506. label: Password
  507. description: The password for the SMB share.
  508. schema:
  509. type: string
  510. required: true
  511. private: true
  512. - variable: size
  513. label: Size (in Gi)
  514. description: The size of the volume quota.
  515. schema:
  516. type: int
  517. required: true
  518. min: 1
  519. default: 1
  520. - variable: resources
  521. group: Resources Configuration
  522. label: ""
  523. schema:
  524. type: dict
  525. attrs:
  526. - variable: limits
  527. label: Limits
  528. schema:
  529. type: dict
  530. attrs:
  531. - variable: cpu
  532. label: CPU
  533. description: CPU limit for Jellyfin.
  534. schema:
  535. type: string
  536. max_length: 6
  537. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  538. valid_chars_error: |
  539. Valid CPU limit formats are</br>
  540. - Plain Integer - eg. 1</br>
  541. - Float - eg. 0.5</br>
  542. - Milicpu - eg. 500m
  543. default: "4000m"
  544. required: true
  545. - variable: memory
  546. label: Memory
  547. description: Memory limit for Jellyfin.
  548. schema:
  549. type: string
  550. max_length: 12
  551. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  552. valid_chars_error: |
  553. Valid Memory limit formats are</br>
  554. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  555. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  556. - Plain Integer in bytes - eg. 1024</br>
  557. - Exponent - eg. 134e6
  558. default: "8Gi"
  559. required: true
  560. - variable: jellyfinGPU
  561. group: Resources Configuration
  562. label: GPU Configuration
  563. schema:
  564. type: dict
  565. $ref:
  566. - "definitions/gpuConfiguration"
  567. attrs: []