questions.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335
  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: password
  38. label: Password (Optional)
  39. description: Password for Homarr.
  40. schema:
  41. type: string
  42. default: ""
  43. private: true
  44. - variable: additionalEnvs
  45. label: Additional Environment Variables
  46. description: Configure additional environment variables for Homarr.
  47. schema:
  48. type: list
  49. default: []
  50. items:
  51. - variable: env
  52. label: Environment Variable
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: name
  57. label: Name
  58. schema:
  59. type: string
  60. required: true
  61. - variable: value
  62. label: Value
  63. schema:
  64. type: string
  65. required: true
  66. - variable: homarrRunAs
  67. label: ""
  68. group: User and Group Configuration
  69. schema:
  70. type: dict
  71. attrs:
  72. - variable: user
  73. label: User ID
  74. description: The user id that Homarr will run as.
  75. schema:
  76. type: int
  77. min: 2
  78. default: 568
  79. required: true
  80. - variable: group
  81. label: Group ID
  82. description: The group id that Homarr will run as.
  83. schema:
  84. type: int
  85. min: 2
  86. default: 568
  87. required: true
  88. - variable: homarrNetwork
  89. label: ""
  90. group: Network Configuration
  91. schema:
  92. type: dict
  93. attrs:
  94. - variable: webPort
  95. label: Web Port
  96. description: The port for the Homarr Web UI.
  97. schema:
  98. type: int
  99. default: 30052
  100. min: 9000
  101. max: 65535
  102. required: true
  103. - variable: hostNetwork
  104. label: Host Network
  105. description: |
  106. Bind to the host network. It's recommended to keep this disabled.</br>
  107. schema:
  108. type: boolean
  109. default: false
  110. - variable: homarrStorage
  111. label: ""
  112. group: Storage Configuration
  113. schema:
  114. type: dict
  115. attrs:
  116. - variable: configs
  117. label: Homarr Config Storage
  118. description: The path to store Homarr Configuration.
  119. schema:
  120. type: dict
  121. attrs:
  122. - variable: type
  123. label: Type
  124. description: |
  125. ixVolume: Is dataset created automatically by the system.</br>
  126. Host Path: Is a path that already exists on the system.
  127. schema:
  128. type: string
  129. required: true
  130. default: "ixVolume"
  131. enum:
  132. - value: "hostPath"
  133. description: Host Path (Path that already exists on the system)
  134. - value: "ixVolume"
  135. description: ixVolume (Dataset created automatically by the system)
  136. - variable: datasetName
  137. label: Dataset Name
  138. schema:
  139. type: string
  140. show_if: [["type", "=", "ixVolume"]]
  141. required: true
  142. hidden: true
  143. immutable: true
  144. default: "configs"
  145. $ref:
  146. - "normalize/ixVolume"
  147. - variable: hostPath
  148. label: Host Path
  149. schema:
  150. type: hostpath
  151. show_if: [["type", "=", "hostPath"]]
  152. immutable: true
  153. required: true
  154. - variable: icons
  155. label: Homarr Icon Storage
  156. description: The path to store Homarr Icons.
  157. schema:
  158. type: dict
  159. attrs:
  160. - variable: type
  161. label: Type
  162. description: |
  163. ixVolume: Is dataset created automatically by the system.</br>
  164. Host Path: Is a path that already exists on the system.
  165. schema:
  166. type: string
  167. required: true
  168. default: "ixVolume"
  169. enum:
  170. - value: "hostPath"
  171. description: Host Path (Path that already exists on the system)
  172. - value: "ixVolume"
  173. description: ixVolume (Dataset created automatically by the system)
  174. - variable: datasetName
  175. label: Dataset Name
  176. schema:
  177. type: string
  178. show_if: [["type", "=", "ixVolume"]]
  179. required: true
  180. hidden: true
  181. immutable: true
  182. default: "icons"
  183. $ref:
  184. - "normalize/ixVolume"
  185. - variable: hostPath
  186. label: Host Path
  187. schema:
  188. type: hostpath
  189. show_if: [["type", "=", "hostPath"]]
  190. immutable: true
  191. required: true
  192. - variable: additionalStorages
  193. label: Additional Storage
  194. description: Additional storage for Homarr.
  195. schema:
  196. type: list
  197. default: []
  198. items:
  199. - variable: storageEntry
  200. label: Storage Entry
  201. schema:
  202. type: dict
  203. attrs:
  204. - variable: type
  205. label: Type
  206. description: |
  207. ixVolume: Is dataset created automatically by the system.</br>
  208. Host Path: Is a path that already exists on the system.
  209. schema:
  210. type: string
  211. required: true
  212. default: "ixVolume"
  213. immutable: true
  214. enum:
  215. - value: "hostPath"
  216. description: Host Path (Path that already exists on the system)
  217. - value: "ixVolume"
  218. description: ixVolume (Dataset created automatically by the system)
  219. - value: "smb-pv-pvc"
  220. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  221. - variable: mountPath
  222. label: Mount Path
  223. description: The path inside the container to mount the storage.
  224. schema:
  225. type: path
  226. required: true
  227. - variable: hostPath
  228. label: Host Path
  229. description: The host path to use for storage.
  230. schema:
  231. type: hostpath
  232. show_if: [["type", "=", "hostPath"]]
  233. required: true
  234. - variable: datasetName
  235. label: Dataset Name
  236. description: The name of the dataset to use for storage.
  237. schema:
  238. type: string
  239. show_if: [["type", "=", "ixVolume"]]
  240. required: true
  241. immutable: true
  242. default: "storage_entry"
  243. $ref:
  244. - "normalize/ixVolume"
  245. - variable: server
  246. label: Server
  247. description: The server for the SMB share.
  248. schema:
  249. type: string
  250. show_if: [["type", "=", "smb-pv-pvc"]]
  251. required: true
  252. - variable: share
  253. label: Share
  254. description: The share name for the SMB share.
  255. schema:
  256. type: string
  257. show_if: [["type", "=", "smb-pv-pvc"]]
  258. required: true
  259. - variable: domain
  260. label: Domain (Optional)
  261. description: The domain for the SMB share.
  262. schema:
  263. type: string
  264. show_if: [["type", "=", "smb-pv-pvc"]]
  265. - variable: username
  266. label: Username
  267. description: The username for the SMB share.
  268. schema:
  269. type: string
  270. show_if: [["type", "=", "smb-pv-pvc"]]
  271. required: true
  272. - variable: password
  273. label: Password
  274. description: The password for the SMB share.
  275. schema:
  276. type: string
  277. show_if: [["type", "=", "smb-pv-pvc"]]
  278. required: true
  279. private: true
  280. - variable: size
  281. label: Size (in Gi)
  282. description: The size of the volume quota.
  283. schema:
  284. type: int
  285. show_if: [["type", "=", "smb-pv-pvc"]]
  286. required: true
  287. min: 1
  288. default: 1
  289. - variable: resources
  290. group: Resources Configuration
  291. label: ""
  292. schema:
  293. type: dict
  294. attrs:
  295. - variable: limits
  296. label: Limits
  297. schema:
  298. type: dict
  299. attrs:
  300. - variable: cpu
  301. label: CPU
  302. description: CPU limit for Homarr.
  303. schema:
  304. type: string
  305. max_length: 6
  306. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  307. valid_chars_error: |
  308. Valid CPU limit formats are</br>
  309. - Plain Integer - eg. 1</br>
  310. - Float - eg. 0.5</br>
  311. - Milicpu - eg. 500m
  312. default: "4000m"
  313. required: true
  314. - variable: memory
  315. label: Memory
  316. description: Memory limit for Homarr.
  317. schema:
  318. type: string
  319. max_length: 12
  320. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  321. valid_chars_error: |
  322. Valid Memory limit formats are</br>
  323. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  324. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  325. - Plain Integer in bytes - eg. 1024</br>
  326. - Exponent - eg. 134e6
  327. default: "8Gi"
  328. required: true