questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. groups:
  2. - name: Navidrome Configuration
  3. description: Configure Navidrome
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Navidrome
  6. - name: Network Configuration
  7. description: Configure Network for Navidrome
  8. - name: Storage Configuration
  9. description: Configure Storage for Navidrome
  10. - name: Resources Configuration
  11. description: Configure Resources for Navidrome
  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: navidromeConfig
  23. label: ""
  24. group: Navidrome Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: uiWelcomeMessage
  29. label: Login Screen Welcome Message
  30. description: The welcome message to display on the Navidrome Login Screen.
  31. schema:
  32. type: string
  33. default: ""
  34. - variable: additionalEnvs
  35. label: Additional Environment Variables
  36. description: Configure additional environment variables for Navidrome.
  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: navidromeRunAs
  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 Navidrome 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 Navidrome will run as.
  73. schema:
  74. type: int
  75. min: 2
  76. default: 568
  77. required: true
  78. - variable: navidromeNetwork
  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 Navidrome Web UI.
  87. schema:
  88. type: int
  89. default: 30043
  90. min: 9000
  91. max: 65535
  92. required: true
  93. - variable: hostNetwork
  94. label: Host Network
  95. description: |
  96. Bind to the host network. It's recommended to keep this disabled.</br>
  97. schema:
  98. type: boolean
  99. default: false
  100. - variable: navidromeStorage
  101. label: ""
  102. group: Storage Configuration
  103. schema:
  104. type: dict
  105. attrs:
  106. - variable: data
  107. label: Navidrome Data Storage
  108. description: The path to store Navidrome Data.
  109. schema:
  110. type: dict
  111. attrs:
  112. - variable: type
  113. label: Type
  114. description: |
  115. ixVolume: Is dataset created automatically by the system.</br>
  116. Host Path: Is a path that already exists on the system.
  117. schema:
  118. type: string
  119. required: true
  120. immutable: 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: ixVolumeConfig
  128. label: ixVolume Configuration
  129. description: The configuration for the ixVolume dataset.
  130. schema:
  131. type: dict
  132. show_if: [["type", "=", "ixVolume"]]
  133. $ref:
  134. - "normalize/ixVolume"
  135. attrs:
  136. - variable: aclEnable
  137. label: Enable ACL
  138. description: Enable ACL for the dataset.
  139. schema:
  140. type: boolean
  141. default: false
  142. - variable: datasetName
  143. label: Dataset Name
  144. description: The name of the dataset to use for storage.
  145. schema:
  146. type: string
  147. required: true
  148. immutable: true
  149. hidden: true
  150. default: "data"
  151. - variable: aclEntries
  152. label: ACL Configuration
  153. schema:
  154. type: dict
  155. show_if: [["aclEnable", "=", true]]
  156. attrs: []
  157. - variable: hostPathConfig
  158. label: Host Path Configuration
  159. schema:
  160. type: dict
  161. show_if: [["type", "=", "hostPath"]]
  162. attrs:
  163. - variable: aclEnable
  164. label: Enable ACL
  165. description: Enable ACL for the dataset.
  166. schema:
  167. type: boolean
  168. default: false
  169. - variable: acl
  170. label: ACL Configuration
  171. schema:
  172. type: dict
  173. show_if: [["aclEnable", "=", true]]
  174. attrs: []
  175. $ref:
  176. - "normalize/acl"
  177. - variable: hostPath
  178. label: Host Path
  179. description: The host path to use for storage.
  180. schema:
  181. type: hostpath
  182. show_if: [["aclEnable", "=", false]]
  183. required: true
  184. - variable: music
  185. label: Navidrome Music Storage
  186. description: The path to store Navidrome Music.
  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.
  195. schema:
  196. type: string
  197. required: true
  198. immutable: 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. - variable: ixVolumeConfig
  206. label: ixVolume Configuration
  207. description: The configuration for the ixVolume dataset.
  208. schema:
  209. type: dict
  210. show_if: [["type", "=", "ixVolume"]]
  211. $ref:
  212. - "normalize/ixVolume"
  213. attrs:
  214. - variable: aclEnable
  215. label: Enable ACL
  216. description: Enable ACL for the dataset.
  217. schema:
  218. type: boolean
  219. default: false
  220. - variable: datasetName
  221. label: Dataset Name
  222. description: The name of the dataset to use for storage.
  223. schema:
  224. type: string
  225. required: true
  226. immutable: true
  227. hidden: true
  228. default: "music"
  229. - variable: aclEntries
  230. label: ACL Configuration
  231. schema:
  232. type: dict
  233. show_if: [["aclEnable", "=", true]]
  234. attrs: []
  235. - variable: hostPathConfig
  236. label: Host Path Configuration
  237. schema:
  238. type: dict
  239. show_if: [["type", "=", "hostPath"]]
  240. attrs:
  241. - variable: aclEnable
  242. label: Enable ACL
  243. description: Enable ACL for the dataset.
  244. schema:
  245. type: boolean
  246. default: false
  247. - variable: acl
  248. label: ACL Configuration
  249. schema:
  250. type: dict
  251. show_if: [["aclEnable", "=", true]]
  252. attrs: []
  253. $ref:
  254. - "normalize/acl"
  255. - variable: hostPath
  256. label: Host Path
  257. description: The host path to use for storage.
  258. schema:
  259. type: hostpath
  260. show_if: [["aclEnable", "=", false]]
  261. required: true
  262. - variable: additionalStorages
  263. label: Additional Storage
  264. description: Additional storage for Navidrome.
  265. schema:
  266. type: list
  267. default: []
  268. items:
  269. - variable: storageEntry
  270. label: Storage Entry
  271. schema:
  272. type: dict
  273. attrs:
  274. - variable: type
  275. label: Type
  276. description: |
  277. ixVolume: Is dataset created automatically by the system.</br>
  278. Host Path: Is a path that already exists on the system.</br>
  279. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  280. schema:
  281. type: string
  282. required: true
  283. default: "ixVolume"
  284. immutable: true
  285. enum:
  286. - value: "hostPath"
  287. description: Host Path (Path that already exists on the system)
  288. - value: "ixVolume"
  289. description: ixVolume (Dataset created automatically by the system)
  290. - value: "smb-pv-pvc"
  291. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  292. - variable: readOnly
  293. label: Read Only
  294. description: Mount the volume as read only.
  295. schema:
  296. type: boolean
  297. default: false
  298. - variable: mountPath
  299. label: Mount Path
  300. description: The path inside the container to mount the storage.
  301. schema:
  302. type: path
  303. required: true
  304. - variable: hostPathConfig
  305. label: Host Path Configuration
  306. schema:
  307. type: dict
  308. show_if: [["type", "=", "hostPath"]]
  309. attrs:
  310. - variable: aclEnable
  311. label: Enable ACL
  312. description: Enable ACL for the dataset.
  313. schema:
  314. type: boolean
  315. default: false
  316. - variable: acl
  317. label: ACL Configuration
  318. schema:
  319. type: dict
  320. show_if: [["aclEnable", "=", true]]
  321. attrs: []
  322. $ref:
  323. - "normalize/acl"
  324. - variable: hostPath
  325. label: Host Path
  326. description: The host path to use for storage.
  327. schema:
  328. type: hostpath
  329. show_if: [["aclEnable", "=", false]]
  330. required: true
  331. - variable: ixVolumeConfig
  332. label: ixVolume Configuration
  333. description: The configuration for the ixVolume dataset.
  334. schema:
  335. type: dict
  336. show_if: [["type", "=", "ixVolume"]]
  337. $ref:
  338. - "normalize/ixVolume"
  339. attrs:
  340. - variable: aclEnable
  341. label: Enable ACL
  342. description: Enable ACL for the dataset.
  343. schema:
  344. type: boolean
  345. default: false
  346. - variable: datasetName
  347. label: Dataset Name
  348. description: The name of the dataset to use for storage.
  349. schema:
  350. type: string
  351. required: true
  352. immutable: true
  353. default: "storage_entry"
  354. - variable: aclEntries
  355. label: ACL Configuration
  356. schema:
  357. type: dict
  358. show_if: [["aclEnable", "=", true]]
  359. attrs: []
  360. - variable: smbConfig
  361. label: SMB Share Configuration
  362. description: The configuration for the SMB Share.
  363. schema:
  364. type: dict
  365. show_if: [["type", "=", "smb-pv-pvc"]]
  366. attrs:
  367. - variable: server
  368. label: Server
  369. description: The server for the SMB share.
  370. schema:
  371. type: string
  372. required: true
  373. - variable: share
  374. label: Share
  375. description: The share name for the SMB share.
  376. schema:
  377. type: string
  378. required: true
  379. - variable: domain
  380. label: Domain (Optional)
  381. description: The domain for the SMB share.
  382. schema:
  383. type: string
  384. - variable: username
  385. label: Username
  386. description: The username for the SMB share.
  387. schema:
  388. type: string
  389. required: true
  390. - variable: password
  391. label: Password
  392. description: The password for the SMB share.
  393. schema:
  394. type: string
  395. required: true
  396. private: true
  397. - variable: size
  398. label: Size (in Gi)
  399. description: The size of the volume quota.
  400. schema:
  401. type: int
  402. required: true
  403. min: 1
  404. default: 1
  405. - variable: resources
  406. group: Resources Configuration
  407. label: ""
  408. schema:
  409. type: dict
  410. attrs:
  411. - variable: limits
  412. label: Limits
  413. schema:
  414. type: dict
  415. attrs:
  416. - variable: cpu
  417. label: CPU
  418. description: CPU limit for Navidrome.
  419. schema:
  420. type: string
  421. max_length: 6
  422. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  423. valid_chars_error: |
  424. Valid CPU limit formats are</br>
  425. - Plain Integer - eg. 1</br>
  426. - Float - eg. 0.5</br>
  427. - Milicpu - eg. 500m
  428. default: "4000m"
  429. required: true
  430. - variable: memory
  431. label: Memory
  432. description: Memory limit for Navidrome.
  433. schema:
  434. type: string
  435. max_length: 12
  436. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  437. valid_chars_error: |
  438. Valid Memory limit formats are</br>
  439. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  440. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  441. - Plain Integer in bytes - eg. 1024</br>
  442. - Exponent - eg. 134e6
  443. default: "8Gi"
  444. required: true