questions.yaml 22 KB

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