questions.yaml 22 KB

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