questions.yaml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535
  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. required: true
  187. - variable: data
  188. label: Homarr Data Storage
  189. description: The path to store Homarr Data.
  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: "data"
  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. required: true
  265. - variable: icons
  266. label: Homarr Icon Storage
  267. description: The path to store Homarr Icons.
  268. schema:
  269. type: dict
  270. attrs:
  271. - variable: type
  272. label: Type
  273. description: |
  274. ixVolume: Is dataset created automatically by the system.</br>
  275. Host Path: Is a path that already exists on the system.
  276. schema:
  277. type: string
  278. required: true
  279. immutable: true
  280. default: "ixVolume"
  281. enum:
  282. - value: "hostPath"
  283. description: Host Path (Path that already exists on the system)
  284. - value: "ixVolume"
  285. description: ixVolume (Dataset created automatically by the system)
  286. - variable: ixVolumeConfig
  287. label: ixVolume Configuration
  288. description: The configuration for the ixVolume dataset.
  289. schema:
  290. type: dict
  291. show_if: [["type", "=", "ixVolume"]]
  292. $ref:
  293. - "normalize/ixVolume"
  294. attrs:
  295. - variable: aclEnable
  296. label: Enable ACL
  297. description: Enable ACL for the dataset.
  298. schema:
  299. type: boolean
  300. default: false
  301. - variable: datasetName
  302. label: Dataset Name
  303. description: The name of the dataset to use for storage.
  304. schema:
  305. type: string
  306. required: true
  307. immutable: true
  308. hidden: true
  309. default: "icons"
  310. - variable: aclEntries
  311. label: ACL Configuration
  312. schema:
  313. type: dict
  314. show_if: [["aclEnable", "=", true]]
  315. attrs: []
  316. - variable: hostPathConfig
  317. label: Host Path Configuration
  318. schema:
  319. type: dict
  320. show_if: [["type", "=", "hostPath"]]
  321. attrs:
  322. - variable: aclEnable
  323. label: Enable ACL
  324. description: Enable ACL for the dataset.
  325. schema:
  326. type: boolean
  327. default: false
  328. - variable: acl
  329. label: ACL Configuration
  330. schema:
  331. type: dict
  332. show_if: [["aclEnable", "=", true]]
  333. attrs: []
  334. $ref:
  335. - "normalize/acl"
  336. - variable: hostPath
  337. label: Host Path
  338. description: The host path to use for storage.
  339. schema:
  340. type: hostpath
  341. show_if: [["aclEnable", "=", false]]
  342. required: true
  343. - variable: additionalStorages
  344. label: Additional Storage
  345. description: Additional storage for Homarr.
  346. schema:
  347. type: list
  348. default: []
  349. items:
  350. - variable: storageEntry
  351. label: Storage Entry
  352. schema:
  353. type: dict
  354. attrs:
  355. - variable: type
  356. label: Type
  357. description: |
  358. ixVolume: Is dataset created automatically by the system.</br>
  359. Host Path: Is a path that already exists on the system.</br>
  360. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  361. schema:
  362. type: string
  363. required: true
  364. default: "ixVolume"
  365. immutable: true
  366. enum:
  367. - value: "hostPath"
  368. description: Host Path (Path that already exists on the system)
  369. - value: "ixVolume"
  370. description: ixVolume (Dataset created automatically by the system)
  371. - value: "smb-pv-pvc"
  372. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  373. - variable: readOnly
  374. label: Read Only
  375. description: Mount the volume as read only.
  376. schema:
  377. type: boolean
  378. default: false
  379. - variable: mountPath
  380. label: Mount Path
  381. description: The path inside the container to mount the storage.
  382. schema:
  383. type: path
  384. required: true
  385. - variable: hostPathConfig
  386. label: Host Path Configuration
  387. schema:
  388. type: dict
  389. show_if: [["type", "=", "hostPath"]]
  390. attrs:
  391. - variable: aclEnable
  392. label: Enable ACL
  393. description: Enable ACL for the dataset.
  394. schema:
  395. type: boolean
  396. default: false
  397. - variable: acl
  398. label: ACL Configuration
  399. schema:
  400. type: dict
  401. show_if: [["aclEnable", "=", true]]
  402. attrs: []
  403. $ref:
  404. - "normalize/acl"
  405. - variable: hostPath
  406. label: Host Path
  407. description: The host path to use for storage.
  408. schema:
  409. type: hostpath
  410. show_if: [["aclEnable", "=", false]]
  411. required: true
  412. - variable: ixVolumeConfig
  413. label: ixVolume Configuration
  414. description: The configuration for the ixVolume dataset.
  415. schema:
  416. type: dict
  417. show_if: [["type", "=", "ixVolume"]]
  418. $ref:
  419. - "normalize/ixVolume"
  420. attrs:
  421. - variable: aclEnable
  422. label: Enable ACL
  423. description: Enable ACL for the dataset.
  424. schema:
  425. type: boolean
  426. default: false
  427. - variable: datasetName
  428. label: Dataset Name
  429. description: The name of the dataset to use for storage.
  430. schema:
  431. type: string
  432. required: true
  433. immutable: true
  434. default: "storage_entry"
  435. - variable: aclEntries
  436. label: ACL Configuration
  437. schema:
  438. type: dict
  439. show_if: [["aclEnable", "=", true]]
  440. attrs: []
  441. - variable: smbConfig
  442. label: SMB Share Configuration
  443. description: The configuration for the SMB Share.
  444. schema:
  445. type: dict
  446. show_if: [["type", "=", "smb-pv-pvc"]]
  447. attrs:
  448. - variable: server
  449. label: Server
  450. description: The server for the SMB share.
  451. schema:
  452. type: string
  453. required: true
  454. - variable: share
  455. label: Share
  456. description: The share name for the SMB share.
  457. schema:
  458. type: string
  459. required: true
  460. - variable: domain
  461. label: Domain (Optional)
  462. description: The domain for the SMB share.
  463. schema:
  464. type: string
  465. - variable: username
  466. label: Username
  467. description: The username for the SMB share.
  468. schema:
  469. type: string
  470. required: true
  471. - variable: password
  472. label: Password
  473. description: The password for the SMB share.
  474. schema:
  475. type: string
  476. required: true
  477. private: true
  478. - variable: size
  479. label: Size (in Gi)
  480. description: The size of the volume quota.
  481. schema:
  482. type: int
  483. required: true
  484. min: 1
  485. default: 1
  486. - variable: resources
  487. group: Resources Configuration
  488. label: ""
  489. schema:
  490. type: dict
  491. attrs:
  492. - variable: limits
  493. label: Limits
  494. schema:
  495. type: dict
  496. attrs:
  497. - variable: cpu
  498. label: CPU
  499. description: CPU limit for Homarr.
  500. schema:
  501. type: string
  502. max_length: 6
  503. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  504. valid_chars_error: |
  505. Valid CPU limit formats are</br>
  506. - Plain Integer - eg. 1</br>
  507. - Float - eg. 0.5</br>
  508. - Milicpu - eg. 500m
  509. default: "4000m"
  510. required: true
  511. - variable: memory
  512. label: Memory
  513. description: Memory limit for Homarr.
  514. schema:
  515. type: string
  516. max_length: 12
  517. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  518. valid_chars_error: |
  519. Valid Memory limit formats are</br>
  520. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  521. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  522. - Plain Integer in bytes - eg. 1024</br>
  523. - Exponent - eg. 134e6
  524. default: "8Gi"
  525. required: true