questions.yaml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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. immutable: true
  140. default: ixVolume
  141. enum:
  142. - value: hostPath
  143. description: Host Path (Path that already exists on the system)
  144. - value: ixVolume
  145. description: ixVolume (Dataset created automatically by the system)
  146. - variable: datasetName
  147. label: Dataset Name
  148. schema:
  149. type: string
  150. show_if: [["type", "=", "ixVolume"]]
  151. required: true
  152. hidden: true
  153. immutable: true
  154. default: uploads
  155. $ref:
  156. - "normalize/ixVolume"
  157. - variable: hostPath
  158. label: Host Path
  159. schema:
  160. type: hostpath
  161. show_if: [["type", "=", "hostPath"]]
  162. immutable: true
  163. required: true
  164. - variable: pgData
  165. label: Firefly III Postgres Data Storage
  166. description: The path to store Firefly III Postgres Data.
  167. schema:
  168. type: dict
  169. attrs:
  170. - variable: type
  171. label: Type
  172. description: |
  173. ixVolume: Is dataset created automatically by the system.</br>
  174. Host Path: Is a path that already exists on the system.
  175. schema:
  176. type: string
  177. required: true
  178. immutable: true
  179. default: ixVolume
  180. enum:
  181. - value: hostPath
  182. description: Host Path (Path that already exists on the system)
  183. - value: ixVolume
  184. description: ixVolume (Dataset created automatically by the system)
  185. - variable: datasetName
  186. label: Dataset Name
  187. schema:
  188. type: string
  189. show_if: [["type", "=", "ixVolume"]]
  190. required: true
  191. hidden: true
  192. immutable: true
  193. default: pgData
  194. $ref:
  195. - "normalize/ixVolume"
  196. - variable: hostPath
  197. label: Host Path
  198. schema:
  199. type: hostpath
  200. show_if: [["type", "=", "hostPath"]]
  201. immutable: true
  202. required: true
  203. - variable: pgBackup
  204. label: Firefly III Postgres Backup Storage
  205. description: The path to store Firefly III Postgres Backup.
  206. schema:
  207. type: dict
  208. attrs:
  209. - variable: type
  210. label: Type
  211. description: |
  212. ixVolume: Is dataset created automatically by the system.</br>
  213. Host Path: Is a path that already exists on the system.
  214. schema:
  215. type: string
  216. required: true
  217. immutable: true
  218. default: ixVolume
  219. enum:
  220. - value: hostPath
  221. description: Host Path (Path that already exists on the system)
  222. - value: ixVolume
  223. description: ixVolume (Dataset created automatically by the system)
  224. - variable: datasetName
  225. label: Dataset Name
  226. schema:
  227. type: string
  228. show_if: [["type", "=", "ixVolume"]]
  229. required: true
  230. hidden: true
  231. immutable: true
  232. default: pgBackup
  233. $ref:
  234. - "normalize/ixVolume"
  235. - variable: hostPath
  236. label: Host Path
  237. schema:
  238. type: hostpath
  239. show_if: [["type", "=", "hostPath"]]
  240. immutable: true
  241. required: true
  242. - variable: resources
  243. label: ""
  244. group: Resources Configuration
  245. schema:
  246. type: dict
  247. attrs:
  248. - variable: limits
  249. label: Limits
  250. schema:
  251. type: dict
  252. attrs:
  253. - variable: cpu
  254. label: CPU
  255. description: CPU limit for Firefly III.
  256. schema:
  257. type: string
  258. max_length: 6
  259. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  260. valid_chars_error: |
  261. Valid CPU limit formats are</br>
  262. - Plain Integer - eg. 1</br>
  263. - Float - eg. 0.5</br>
  264. - Milicpu - eg. 500m
  265. default: "4000m"
  266. required: true
  267. - variable: memory
  268. label: Memory
  269. description: Memory limit for Firefly III.
  270. schema:
  271. type: string
  272. max_length: 12
  273. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  274. valid_chars_error: |
  275. Valid Memory limit formats are</br>
  276. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  277. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  278. - Plain Integer in bytes - eg. 1024</br>
  279. - Exponent - eg. 134e6
  280. default: "8Gi"
  281. required: true