questions.yaml 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  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. hidden: true
  194. default: "data"
  195. - variable: aclEntries
  196. label: ACL Configuration
  197. schema:
  198. type: dict
  199. show_if: [["aclEnable", "=", true]]
  200. attrs: []
  201. - variable: hostPathConfig
  202. label: Host Path Configuration
  203. schema:
  204. type: dict
  205. show_if: [["type", "=", "hostPath"]]
  206. attrs:
  207. - variable: aclEnable
  208. label: Enable ACL
  209. description: Enable ACL for the dataset.
  210. schema:
  211. type: boolean
  212. default: false
  213. - variable: acl
  214. label: ACL Configuration
  215. schema:
  216. type: dict
  217. show_if: [["aclEnable", "=", true]]
  218. attrs: []
  219. $ref:
  220. - "normalize/acl"
  221. - variable: hostPath
  222. label: Host Path
  223. description: The host path to use for storage.
  224. schema:
  225. type: hostpath
  226. show_if: [["aclEnable", "=", false]]
  227. immutable: true
  228. required: true
  229. - variable: pgData
  230. label: Postgres Data Storage
  231. description: The path to store Postgres Data.
  232. schema:
  233. type: dict
  234. attrs:
  235. - variable: type
  236. label: Type
  237. description: |
  238. ixVolume: Is dataset created automatically by the system.</br>
  239. Host Path: Is a path that already exists on the system.
  240. schema:
  241. type: string
  242. required: true
  243. immutable: true
  244. default: "ixVolume"
  245. enum:
  246. - value: "hostPath"
  247. description: Host Path (Path that already exists on the system)
  248. - value: "ixVolume"
  249. description: ixVolume (Dataset created automatically by the system)
  250. - variable: ixVolumeConfig
  251. label: ixVolume Configuration
  252. description: The configuration for the ixVolume dataset.
  253. schema:
  254. type: dict
  255. show_if: [["type", "=", "ixVolume"]]
  256. # Nothing to show for the user
  257. hidden: true
  258. $ref:
  259. - "normalize/ixVolume"
  260. attrs:
  261. - variable: aclEnable
  262. label: Enable ACL
  263. description: Enable ACL for the dataset.
  264. schema:
  265. type: boolean
  266. default: false
  267. # Postgres does a CHMOD at startup
  268. # Which fails with ACL
  269. hidden: true
  270. - variable: datasetName
  271. label: Dataset Name
  272. description: The name of the dataset to use for storage.
  273. schema:
  274. type: string
  275. required: true
  276. immutable: true
  277. hidden: true
  278. default: "pgData"
  279. - variable: aclEntries
  280. label: ACL Configuration
  281. schema:
  282. type: dict
  283. show_if: [["aclEnable", "=", true]]
  284. attrs: []
  285. - variable: hostPathConfig
  286. label: Host Path Configuration
  287. schema:
  288. type: dict
  289. show_if: [["type", "=", "hostPath"]]
  290. attrs:
  291. - variable: aclEnable
  292. label: Enable ACL
  293. description: Enable ACL for the dataset.
  294. schema:
  295. type: boolean
  296. default: false
  297. # Postgres does a CHMOD at startup
  298. # Which fails with ACL
  299. hidden: true
  300. - variable: acl
  301. label: ACL Configuration
  302. schema:
  303. type: dict
  304. show_if: [["aclEnable", "=", true]]
  305. attrs: []
  306. $ref:
  307. - "normalize/acl"
  308. - variable: hostPath
  309. label: Host Path
  310. description: The host path to use for storage.
  311. schema:
  312. type: hostpath
  313. show_if: [["aclEnable", "=", false]]
  314. immutable: true
  315. required: true
  316. - variable: pgBackup
  317. label: Postgres Backup Storage
  318. description: The path to store Postgres Backup.
  319. schema:
  320. type: dict
  321. attrs:
  322. - variable: type
  323. label: Type
  324. description: |
  325. ixVolume: Is dataset created automatically by the system.</br>
  326. Host Path: Is a path that already exists on the system.
  327. schema:
  328. type: string
  329. required: true
  330. immutable: true
  331. default: "ixVolume"
  332. enum:
  333. - value: "hostPath"
  334. description: Host Path (Path that already exists on the system)
  335. - value: "ixVolume"
  336. description: ixVolume (Dataset created automatically by the system)
  337. - variable: ixVolumeConfig
  338. label: ixVolume Configuration
  339. description: The configuration for the ixVolume dataset.
  340. schema:
  341. type: dict
  342. show_if: [["type", "=", "ixVolume"]]
  343. # Nothing to show for the user
  344. hidden: true
  345. $ref:
  346. - "normalize/ixVolume"
  347. attrs:
  348. - variable: aclEnable
  349. label: Enable ACL
  350. description: Enable ACL for the dataset.
  351. schema:
  352. type: boolean
  353. default: false
  354. # Postgres does a CHMOD at startup
  355. # Which fails with ACL
  356. hidden: true
  357. - variable: datasetName
  358. label: Dataset Name
  359. description: The name of the dataset to use for storage.
  360. schema:
  361. type: string
  362. required: true
  363. immutable: true
  364. hidden: true
  365. default: "pgBackup"
  366. - variable: aclEntries
  367. label: ACL Configuration
  368. schema:
  369. type: dict
  370. show_if: [["aclEnable", "=", true]]
  371. attrs: []
  372. - variable: hostPathConfig
  373. label: Host Path Configuration
  374. schema:
  375. type: dict
  376. show_if: [["type", "=", "hostPath"]]
  377. attrs:
  378. - variable: aclEnable
  379. label: Enable ACL
  380. description: Enable ACL for the dataset.
  381. schema:
  382. type: boolean
  383. default: false
  384. # Postgres does a CHMOD at startup
  385. # Which fails with ACL
  386. hidden: true
  387. - variable: acl
  388. label: ACL Configuration
  389. schema:
  390. type: dict
  391. show_if: [["aclEnable", "=", true]]
  392. attrs: []
  393. $ref:
  394. - "normalize/acl"
  395. - variable: hostPath
  396. label: Host Path
  397. description: The host path to use for storage.
  398. schema:
  399. type: hostpath
  400. show_if: [["aclEnable", "=", false]]
  401. immutable: true
  402. required: true
  403. - variable: additionalStorages
  404. label: Additional Storage
  405. description: Additional storage for SearXNG.
  406. schema:
  407. type: list
  408. default: []
  409. items:
  410. - variable: storageEntry
  411. label: Storage Entry
  412. schema:
  413. type: dict
  414. attrs:
  415. - variable: type
  416. label: Type
  417. description: |
  418. ixVolume: Is dataset created automatically by the system.</br>
  419. Host Path: Is a path that already exists on the system.</br>
  420. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  421. schema:
  422. type: string
  423. required: true
  424. default: "ixVolume"
  425. immutable: true
  426. enum:
  427. - value: "hostPath"
  428. description: Host Path (Path that already exists on the system)
  429. - value: "ixVolume"
  430. description: ixVolume (Dataset created automatically by the system)
  431. - value: "smb-pv-pvc"
  432. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  433. - variable: readOnly
  434. label: Read Only
  435. description: Mount the volume as read only.
  436. schema:
  437. type: boolean
  438. default: false
  439. - variable: mountPath
  440. label: Mount Path
  441. description: The path inside the container to mount the storage.
  442. schema:
  443. type: path
  444. required: true
  445. - variable: hostPathConfig
  446. label: Host Path Configuration
  447. schema:
  448. type: dict
  449. show_if: [["type", "=", "hostPath"]]
  450. attrs:
  451. - variable: aclEnable
  452. label: Enable ACL
  453. description: Enable ACL for the dataset.
  454. schema:
  455. type: boolean
  456. default: false
  457. - variable: acl
  458. label: ACL Configuration
  459. schema:
  460. type: dict
  461. show_if: [["aclEnable", "=", true]]
  462. attrs: []
  463. $ref:
  464. - "normalize/acl"
  465. - variable: hostPath
  466. label: Host Path
  467. description: The host path to use for storage.
  468. schema:
  469. type: hostpath
  470. show_if: [["aclEnable", "=", false]]
  471. immutable: true
  472. required: true
  473. - variable: ixVolumeConfig
  474. label: ixVolume Configuration
  475. description: The configuration for the ixVolume dataset.
  476. schema:
  477. type: dict
  478. show_if: [["type", "=", "ixVolume"]]
  479. $ref:
  480. - "normalize/ixVolume"
  481. attrs:
  482. - variable: aclEnable
  483. label: Enable ACL
  484. description: Enable ACL for the dataset.
  485. schema:
  486. type: boolean
  487. default: false
  488. - variable: datasetName
  489. label: Dataset Name
  490. description: The name of the dataset to use for storage.
  491. schema:
  492. type: string
  493. required: true
  494. immutable: true
  495. default: "storage_entry"
  496. - variable: aclEntries
  497. label: ACL Configuration
  498. schema:
  499. type: dict
  500. show_if: [["aclEnable", "=", true]]
  501. attrs: []
  502. - variable: smbConfig
  503. label: SMB Share Configuration
  504. description: The configuration for the SMB Share.
  505. schema:
  506. type: dict
  507. show_if: [["type", "=", "smb-pv-pvc"]]
  508. attrs:
  509. - variable: server
  510. label: Server
  511. description: The server for the SMB share.
  512. schema:
  513. type: string
  514. required: true
  515. - variable: share
  516. label: Share
  517. description: The share name for the SMB share.
  518. schema:
  519. type: string
  520. required: true
  521. - variable: domain
  522. label: Domain (Optional)
  523. description: The domain for the SMB share.
  524. schema:
  525. type: string
  526. - variable: username
  527. label: Username
  528. description: The username for the SMB share.
  529. schema:
  530. type: string
  531. required: true
  532. - variable: password
  533. label: Password
  534. description: The password for the SMB share.
  535. schema:
  536. type: string
  537. required: true
  538. private: true
  539. - variable: size
  540. label: Size (in Gi)
  541. description: The size of the volume quota.
  542. schema:
  543. type: int
  544. required: true
  545. min: 1
  546. default: 1
  547. - variable: resources
  548. group: Resources Configuration
  549. label: ""
  550. schema:
  551. type: dict
  552. attrs:
  553. - variable: limits
  554. label: Limits
  555. schema:
  556. type: dict
  557. attrs:
  558. - variable: cpu
  559. label: CPU
  560. description: CPU limit for Mealie.
  561. schema:
  562. type: string
  563. max_length: 6
  564. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  565. valid_chars_error: |
  566. Valid CPU limit formats are</br>
  567. - Plain Integer - eg. 1</br>
  568. - Float - eg. 0.5</br>
  569. - Milicpu - eg. 500m
  570. default: "4000m"
  571. required: true
  572. - variable: memory
  573. label: Memory
  574. description: Memory limit for Mealie.
  575. schema:
  576. type: string
  577. max_length: 12
  578. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  579. valid_chars_error: |
  580. Valid Memory limit formats are</br>
  581. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  582. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  583. - Plain Integer in bytes - eg. 1024</br>
  584. - Exponent - eg. 134e6
  585. default: "8Gi"
  586. required: true