questions.yaml 12 KB

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