questions.yaml 22 KB

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