questions.yaml 22 KB

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