questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376
  1. groups:
  2. - name: Listmonk Configuration
  3. description: Configure Listmonk
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Listmonk
  6. - name: Network Configuration
  7. description: Configure Network for Listmonk
  8. - name: Storage Configuration
  9. description: Configure Storage for Listmonk
  10. - name: Resources Configuration
  11. description: Configure Resources for Listmonk
  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: listmonkConfig
  23. label: ""
  24. group: Listmonk Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: adminUsername
  29. label: Admin Username (Optional)
  30. description: |
  31. The username for the Listmonk admin user.</br>
  32. Leave empty to disable authentication.
  33. schema:
  34. type: string
  35. default: ""
  36. - variable: adminPassword
  37. label: Admin Password
  38. description: The password for the Listmonk admin user.
  39. schema:
  40. type: string
  41. default: ""
  42. show_if: [["adminUsername", "!=", ""]]
  43. required: true
  44. - variable: additionalEnvs
  45. label: Additional Environment Variables
  46. description: Configure additional environment variables for Listmonk.
  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: listmonkRunAs
  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 Listmonk 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 Listmonk will run as.
  83. schema:
  84. type: int
  85. min: 2
  86. default: 568
  87. required: true
  88. - variable: listmonkNetwork
  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 Listmonk Web UI.
  97. schema:
  98. type: int
  99. default: 30093
  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: listmonkStorage
  111. label: ""
  112. group: Storage Configuration
  113. schema:
  114. type: dict
  115. attrs:
  116. - variable: uploads
  117. label: Listmonk Uploads Storage
  118. description: The path to store Listmonk uploads.
  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. immutable: true
  131. default: ixVolume
  132. enum:
  133. - value: hostPath
  134. description: Host Path (Path that already exists on the system)
  135. - value: ixVolume
  136. description: ixVolume (Dataset created automatically by the system)
  137. - variable: datasetName
  138. label: Dataset Name
  139. schema:
  140. type: string
  141. show_if: [["type", "=", "ixVolume"]]
  142. required: true
  143. hidden: true
  144. immutable: true
  145. default: uploads
  146. $ref:
  147. - "normalize/ixVolume"
  148. - variable: hostPath
  149. label: Host Path
  150. schema:
  151. type: hostpath
  152. show_if: [["type", "=", "hostPath"]]
  153. immutable: true
  154. required: true
  155. - variable: pgData
  156. label: Listmonk Postgres Data Storage
  157. description: The path to store Listmonk Postgres Data.
  158. schema:
  159. type: dict
  160. attrs:
  161. - variable: type
  162. label: Type
  163. description: |
  164. ixVolume: Is dataset created automatically by the system.</br>
  165. Host Path: Is a path that already exists on the system.
  166. schema:
  167. type: string
  168. required: true
  169. immutable: true
  170. default: ixVolume
  171. enum:
  172. - value: hostPath
  173. description: Host Path (Path that already exists on the system)
  174. - value: ixVolume
  175. description: ixVolume (Dataset created automatically by the system)
  176. - variable: datasetName
  177. label: Dataset Name
  178. schema:
  179. type: string
  180. show_if: [["type", "=", "ixVolume"]]
  181. required: true
  182. hidden: true
  183. immutable: true
  184. default: pgData
  185. $ref:
  186. - "normalize/ixVolume"
  187. - variable: hostPath
  188. label: Host Path
  189. schema:
  190. type: hostpath
  191. show_if: [["type", "=", "hostPath"]]
  192. immutable: true
  193. required: true
  194. - variable: pgBackup
  195. label: Listmonk Postgres Backup Storage
  196. description: The path to store Listmonk Postgres Backup.
  197. schema:
  198. type: dict
  199. attrs:
  200. - variable: type
  201. label: Type
  202. description: |
  203. ixVolume: Is dataset created automatically by the system.</br>
  204. Host Path: Is a path that already exists on the system.
  205. schema:
  206. type: string
  207. required: true
  208. immutable: true
  209. default: ixVolume
  210. enum:
  211. - value: hostPath
  212. description: Host Path (Path that already exists on the system)
  213. - value: ixVolume
  214. description: ixVolume (Dataset created automatically by the system)
  215. - variable: datasetName
  216. label: Dataset Name
  217. schema:
  218. type: string
  219. show_if: [["type", "=", "ixVolume"]]
  220. required: true
  221. hidden: true
  222. immutable: true
  223. default: pgBackup
  224. $ref:
  225. - "normalize/ixVolume"
  226. - variable: hostPath
  227. label: Host Path
  228. schema:
  229. type: hostpath
  230. show_if: [["type", "=", "hostPath"]]
  231. immutable: true
  232. required: true
  233. - variable: additionalStorages
  234. label: Additional Storage
  235. description: Additional storage for Listmonk.
  236. schema:
  237. type: list
  238. default: []
  239. items:
  240. - variable: storageEntry
  241. label: Storage Entry
  242. schema:
  243. type: dict
  244. attrs:
  245. - variable: type
  246. label: Type
  247. description: |
  248. ixVolume: Is dataset created automatically by the system.</br>
  249. Host Path: Is a path that already exists on the system.</br>
  250. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  251. schema:
  252. type: string
  253. required: true
  254. default: "ixVolume"
  255. immutable: true
  256. enum:
  257. - value: "hostPath"
  258. description: Host Path (Path that already exists on the system)
  259. - value: "ixVolume"
  260. description: ixVolume (Dataset created automatically by the system)
  261. - value: "smb-pv-pvc"
  262. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  263. - variable: mountPath
  264. label: Mount Path
  265. description: The path inside the container to mount the storage.
  266. schema:
  267. type: path
  268. required: true
  269. - variable: hostPath
  270. label: Host Path
  271. description: The host path to use for storage.
  272. schema:
  273. type: hostpath
  274. show_if: [["type", "=", "hostPath"]]
  275. required: true
  276. - variable: datasetName
  277. label: Dataset Name
  278. description: The name of the dataset to use for storage.
  279. schema:
  280. type: string
  281. show_if: [["type", "=", "ixVolume"]]
  282. required: true
  283. immutable: true
  284. default: "storage_entry"
  285. $ref:
  286. - "normalize/ixVolume"
  287. - variable: server
  288. label: Server
  289. description: The server for the SMB share.
  290. schema:
  291. type: string
  292. show_if: [["type", "=", "smb-pv-pvc"]]
  293. required: true
  294. - variable: share
  295. label: Share
  296. description: The share name for the SMB share.
  297. schema:
  298. type: string
  299. show_if: [["type", "=", "smb-pv-pvc"]]
  300. required: true
  301. - variable: domain
  302. label: Domain (Optional)
  303. description: The domain for the SMB share.
  304. schema:
  305. type: string
  306. show_if: [["type", "=", "smb-pv-pvc"]]
  307. - variable: username
  308. label: Username
  309. description: The username for the SMB share.
  310. schema:
  311. type: string
  312. show_if: [["type", "=", "smb-pv-pvc"]]
  313. required: true
  314. - variable: password
  315. label: Password
  316. description: The password for the SMB share.
  317. schema:
  318. type: string
  319. show_if: [["type", "=", "smb-pv-pvc"]]
  320. required: true
  321. private: true
  322. - variable: size
  323. label: Size (in Gi)
  324. description: The size of the volume quota.
  325. schema:
  326. type: int
  327. show_if: [["type", "=", "smb-pv-pvc"]]
  328. required: true
  329. min: 1
  330. default: 1
  331. - variable: resources
  332. group: Resources Configuration
  333. label: ""
  334. schema:
  335. type: dict
  336. attrs:
  337. - variable: limits
  338. label: Limits
  339. schema:
  340. type: dict
  341. attrs:
  342. - variable: cpu
  343. label: CPU
  344. description: CPU limit for Listmonk.
  345. schema:
  346. type: string
  347. max_length: 6
  348. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  349. valid_chars_error: |
  350. Valid CPU limit formats are</br>
  351. - Plain Integer - eg. 1</br>
  352. - Float - eg. 0.5</br>
  353. - Milicpu - eg. 500m
  354. default: "4000m"
  355. required: true
  356. - variable: memory
  357. label: Memory
  358. description: Memory limit for Listmonk.
  359. schema:
  360. type: string
  361. max_length: 12
  362. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  363. valid_chars_error: |
  364. Valid Memory limit formats are</br>
  365. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  366. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  367. - Plain Integer in bytes - eg. 1024</br>
  368. - Exponent - eg. 134e6
  369. default: "8Gi"
  370. required: true