questions.yaml 21 KB

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