questions.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338
  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. default: "ixVolume"
  123. enum:
  124. - value: "hostPath"
  125. description: Host Path (Path that already exists on the system)
  126. - value: "ixVolume"
  127. description: ixVolume (Dataset created automatically by the system)
  128. - variable: datasetName
  129. label: Dataset Name
  130. schema:
  131. type: string
  132. show_if: [["type", "=", "ixVolume"]]
  133. required: true
  134. hidden: true
  135. immutable: true
  136. default: "config"
  137. $ref:
  138. - "normalize/ixVolume"
  139. - variable: hostPath
  140. label: Host Path
  141. schema:
  142. type: hostpath
  143. show_if: [["type", "=", "hostPath"]]
  144. immutable: true
  145. required: true
  146. - variable: cache
  147. label: Jellyfin Cache Storage
  148. description: The path to store Jellyfin Cache.
  149. schema:
  150. type: dict
  151. attrs:
  152. - variable: type
  153. label: Type
  154. description: |
  155. ixVolume: Is dataset created automatically by the system.</br>
  156. Host Path: Is a path that already exists on the system.
  157. schema:
  158. type: string
  159. required: true
  160. default: "ixVolume"
  161. enum:
  162. - value: "hostPath"
  163. description: Host Path (Path that already exists on the system)
  164. - value: "ixVolume"
  165. description: ixVolume (Dataset created automatically by the system)
  166. - variable: datasetName
  167. label: Dataset Name
  168. schema:
  169. type: string
  170. show_if: [["type", "=", "ixVolume"]]
  171. required: true
  172. hidden: true
  173. immutable: true
  174. default: "cache"
  175. $ref:
  176. - "normalize/ixVolume"
  177. - variable: hostPath
  178. label: Host Path
  179. schema:
  180. type: hostpath
  181. show_if: [["type", "=", "hostPath"]]
  182. immutable: true
  183. required: true
  184. - variable: transcodes
  185. label: Jellyfin Transcodes Storage
  186. description: The path to store Jellyfin Transcodes.
  187. schema:
  188. type: dict
  189. attrs:
  190. - variable: type
  191. label: Type
  192. description: |
  193. ixVolume: Is dataset created automatically by the system.</br>
  194. Host Path: Is a path that already exists on the system.</br>
  195. emptyDir: Is a temporary directory that will be created on the disk or in memory.
  196. schema:
  197. type: string
  198. required: true
  199. default: "ixVolume"
  200. enum:
  201. - value: "hostPath"
  202. description: Host Path (Path that already exists on the system)
  203. - value: "ixVolume"
  204. description: ixVolume (Dataset created automatically by the system)
  205. - value: "emptyDir"
  206. description: emptyDir (Temporary directory created on the disk or in memory)
  207. - variable: datasetName
  208. label: Dataset Name
  209. schema:
  210. type: string
  211. show_if: [["type", "=", "ixVolume"]]
  212. required: true
  213. hidden: true
  214. immutable: true
  215. default: "transcodes"
  216. $ref:
  217. - "normalize/ixVolume"
  218. - variable: hostPath
  219. label: Host Path
  220. schema:
  221. type: hostpath
  222. show_if: [["type", "=", "hostPath"]]
  223. immutable: true
  224. required: true
  225. - variable: medium
  226. label: emptyDir Medium
  227. description: |
  228. Disk: Creates a temporary directory on the disk.</br>
  229. Memory: Creates a temporary directory in memory.
  230. schema:
  231. type: string
  232. show_if: [["type", "=", "emptyDir"]]
  233. default: ""
  234. enum:
  235. - value: ""
  236. description: Disk (Temporary directory created on the disk)
  237. - value: "Memory"
  238. description: Memory (Temporary directory created in memory)
  239. - variable: size
  240. label: emptyDir Size Limit
  241. description: |
  242. The maximum size of the temporary directory.</br>
  243. For example: 2Gi
  244. schema:
  245. type: string
  246. show_if: [["type", "=", "emptyDir"]]
  247. default: "2Gi"
  248. - variable: additionalStorages
  249. label: Additional Storage
  250. description: Additional storage for Jellyfin.
  251. schema:
  252. type: list
  253. default: []
  254. items:
  255. - variable: storageEntry
  256. label: Storage Entry
  257. schema:
  258. type: dict
  259. attrs:
  260. - variable: type
  261. label: Type
  262. description: |
  263. ixVolume: Is dataset created automatically by the system.</br>
  264. Host Path: Is a path that already exists on the system.
  265. schema:
  266. type: string
  267. required: true
  268. default: "ixVolume"
  269. enum:
  270. - value: "hostPath"
  271. description: Host Path (Path that already exists on the system)
  272. - value: "ixVolume"
  273. description: ixVolume (Dataset created automatically by the system)
  274. - variable: mountPath
  275. label: Mount Path
  276. description: The path inside the container to mount the storage.
  277. schema:
  278. type: path
  279. required: true
  280. - variable: hostPath
  281. label: Host Path
  282. description: The host path to use for storage.
  283. schema:
  284. type: hostpath
  285. show_if: [["type", "=", "hostPath"]]
  286. required: true
  287. - variable: datasetName
  288. label: Dataset Name
  289. description: The name of the dataset to use for storage.
  290. schema:
  291. type: string
  292. show_if: [["type", "=", "ixVolume"]]
  293. required: true
  294. immutable: true
  295. default: "storage_entry"
  296. $ref:
  297. - "normalize/ixVolume"
  298. - variable: resources
  299. group: Resources Configuration
  300. label: ""
  301. schema:
  302. type: dict
  303. attrs:
  304. - variable: limits
  305. label: Limits
  306. schema:
  307. type: dict
  308. attrs:
  309. - variable: cpu
  310. label: CPU
  311. description: CPU limit for Jellyfin.
  312. schema:
  313. type: string
  314. default: "4000m"
  315. required: true
  316. - variable: memory
  317. label: Memory
  318. description: Memory limit for Jellyfin.
  319. schema:
  320. type: string
  321. default: "8Gi"
  322. required: true
  323. - variable: jellyfinGPU
  324. group: Resources Configuration
  325. label: GPU Configuration
  326. schema:
  327. type: dict
  328. $ref:
  329. - "definitions/gpuConfiguration"
  330. attrs: []