questions.yaml 22 KB

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