questions.yaml 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. groups:
  2. - name: Firefly III Configuration
  3. description: Configure Firefly III
  4. - name: Network Configuration
  5. description: Configure Network for Firefly III
  6. - name: Storage Configuration
  7. description: Configure Storage for Firefly III
  8. - name: Resources Configuration
  9. description: Configure Resources for Firefly III
  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: fireflyConfig
  21. label: ""
  22. group: Firefly III Configuration
  23. schema:
  24. type: dict
  25. attrs:
  26. - variable: appUrl
  27. label: Firefly III URL
  28. description: |
  29. The base URL for Firefly III.</br>
  30. Examples:</br>
  31. https://firefly.example.com </br>
  32. http://192.168.1.100:30064
  33. schema:
  34. type: uri
  35. default: ""
  36. required: true
  37. - variable: additionalEnvs
  38. label: Additional Environment Variables
  39. description: Configure additional environment variables for Firefly III.
  40. schema:
  41. type: list
  42. default: []
  43. items:
  44. - variable: env
  45. label: Environment Variable
  46. schema:
  47. type: dict
  48. attrs:
  49. - variable: name
  50. label: Name
  51. schema:
  52. type: string
  53. required: true
  54. - variable: value
  55. label: Value
  56. schema:
  57. type: string
  58. required: true
  59. - variable: enableImporter
  60. label: Enable Firefly III Data Importer
  61. description: Enable Firefly III Data Importer.
  62. schema:
  63. type: boolean
  64. default: false
  65. - variable: additionalImporterEnvs
  66. label: Additional Data Importer Environment Variables
  67. description: Configure additional environment variables for Firefly III Data Importer.
  68. schema:
  69. type: list
  70. show_if: [["enableImporter", "=", true]]
  71. default: []
  72. items:
  73. - variable: env
  74. label: Environment Variable
  75. schema:
  76. type: dict
  77. attrs:
  78. - variable: name
  79. label: Name
  80. schema:
  81. type: string
  82. required: true
  83. - variable: value
  84. label: Value
  85. schema:
  86. type: string
  87. required: true
  88. - variable: fireflyNetwork
  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 Firefly III WebUI.
  97. schema:
  98. type: int
  99. default: 30064
  100. min: 9000
  101. max: 65535
  102. required: true
  103. - variable: importerPort
  104. label: Data Importer Port
  105. description: The port for the Firefly III Data Importer WebUI.
  106. schema:
  107. type: int
  108. default: 30065
  109. min: 9000
  110. max: 65535
  111. required: true
  112. - variable: hostNetwork
  113. label: Host Network
  114. description: |
  115. Bind to the host network. It's recommended to keep this disabled.
  116. schema:
  117. type: boolean
  118. default: false
  119. - variable: fireflyStorage
  120. label: ""
  121. group: Storage Configuration
  122. schema:
  123. type: dict
  124. attrs:
  125. - variable: uploads
  126. label: Firefly III Uploads Storage
  127. description: The path to store Firefly III uploads.
  128. schema:
  129. type: dict
  130. attrs:
  131. - variable: type
  132. label: Type
  133. description: |
  134. ixVolume: Is dataset created automatically by the system.</br>
  135. Host Path: Is a path that already exists on the system.
  136. schema:
  137. type: string
  138. required: true
  139. default: ixVolume
  140. enum:
  141. - value: hostPath
  142. description: Host Path (Path that already exists on the system)
  143. - value: ixVolume
  144. description: ixVolume (Dataset created automatically by the system)
  145. - variable: datasetName
  146. label: Dataset Name
  147. schema:
  148. type: string
  149. show_if: [["type", "=", "ixVolume"]]
  150. required: true
  151. hidden: true
  152. immutable: true
  153. default: uploads
  154. $ref:
  155. - "normalize/ixVolume"
  156. - variable: hostPath
  157. label: Host Path
  158. schema:
  159. type: hostpath
  160. show_if: [["type", "=", "hostPath"]]
  161. immutable: true
  162. required: true
  163. - variable: pgData
  164. label: Firefly III Postgres Data Storage
  165. description: The path to store Firefly III Postgres Data.
  166. schema:
  167. type: dict
  168. attrs:
  169. - variable: type
  170. label: Type
  171. description: |
  172. ixVolume: Is dataset created automatically by the system.</br>
  173. Host Path: Is a path that already exists on the system.
  174. schema:
  175. type: string
  176. required: true
  177. default: ixVolume
  178. enum:
  179. - value: hostPath
  180. description: Host Path (Path that already exists on the system)
  181. - value: ixVolume
  182. description: ixVolume (Dataset created automatically by the system)
  183. - variable: datasetName
  184. label: Dataset Name
  185. schema:
  186. type: string
  187. show_if: [["type", "=", "ixVolume"]]
  188. required: true
  189. hidden: true
  190. immutable: true
  191. default: pgData
  192. $ref:
  193. - "normalize/ixVolume"
  194. - variable: hostPath
  195. label: Host Path
  196. schema:
  197. type: hostpath
  198. show_if: [["type", "=", "hostPath"]]
  199. immutable: true
  200. required: true
  201. - variable: pgBackup
  202. label: Firefly III Postgres Backup Storage
  203. description: The path to store Firefly III Postgres Backup.
  204. schema:
  205. type: dict
  206. attrs:
  207. - variable: type
  208. label: Type
  209. description: |
  210. ixVolume: Is dataset created automatically by the system.</br>
  211. Host Path: Is a path that already exists on the system.
  212. schema:
  213. type: string
  214. required: true
  215. default: ixVolume
  216. enum:
  217. - value: hostPath
  218. description: Host Path (Path that already exists on the system)
  219. - value: ixVolume
  220. description: ixVolume (Dataset created automatically by the system)
  221. - variable: datasetName
  222. label: Dataset Name
  223. schema:
  224. type: string
  225. show_if: [["type", "=", "ixVolume"]]
  226. required: true
  227. hidden: true
  228. immutable: true
  229. default: pgBackup
  230. $ref:
  231. - "normalize/ixVolume"
  232. - variable: hostPath
  233. label: Host Path
  234. schema:
  235. type: hostpath
  236. show_if: [["type", "=", "hostPath"]]
  237. immutable: true
  238. required: true
  239. - variable: resources
  240. label: ""
  241. group: Resources Configuration
  242. schema:
  243. type: dict
  244. attrs:
  245. - variable: limits
  246. label: Limits
  247. schema:
  248. type: dict
  249. attrs:
  250. - variable: cpu
  251. label: CPU
  252. description: CPU limit for Firefly III.
  253. schema:
  254. type: string
  255. max_length: 6
  256. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  257. valid_chars_error: |
  258. Valid CPU limit formats are</br>
  259. - Plain Integer - eg. 1</br>
  260. - Float - eg. 0.5</br>
  261. - Milicpu - eg. 500m
  262. default: "4000m"
  263. required: true
  264. - variable: memory
  265. label: Memory
  266. description: Memory limit for Firefly III.
  267. schema:
  268. type: string
  269. max_length: 12
  270. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  271. valid_chars_error: |
  272. Valid Memory limit formats are</br>
  273. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  274. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  275. - Plain Integer in bytes - eg. 1024</br>
  276. - Exponent - eg. 134e6
  277. default: "8Gi"
  278. required: true