questions.yaml 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. groups:
  2. - name: FreshRSS Configuration
  3. description: Configure FreshRSS
  4. - name: Network Configuration
  5. description: Configure Network for FreshRSS
  6. - name: Storage Configuration
  7. description: Configure Storage for FreshRSS
  8. - name: Resources Configuration
  9. description: Configure Resources for FreshRSS
  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: TZ
  21. group: FreshRSS Configuration
  22. label: Timezone
  23. schema:
  24. type: string
  25. default: Etc/UTC
  26. required: true
  27. $ref:
  28. - definitions/timezone
  29. - variable: freshrssConfig
  30. label: ""
  31. group: FreshRSS Configuration
  32. schema:
  33. type: dict
  34. attrs:
  35. - variable: defaultAdmin
  36. label: Default Admin Username
  37. description: The default admin username for FreshRSS.
  38. schema:
  39. type: string
  40. default: ""
  41. required: true
  42. immutable: true
  43. - variable: defaultAdminPass
  44. label: Default Admin Password
  45. description: The default admin password for FreshRSS.
  46. schema:
  47. type: string
  48. default: ""
  49. required: true
  50. immutable: true
  51. private: true
  52. - variable: enableCron
  53. label: Enable Cron
  54. description: Enable cron for FreshRSS.
  55. schema:
  56. type: boolean
  57. default: false
  58. - variable: cronSchedule
  59. label: Cron Schedule
  60. description: |
  61. The cron schedule for FreshRSS.</br>
  62. Default: */20 * * * * (every 20 minutes)
  63. schema:
  64. type: string
  65. default: "*/20 * * * *"
  66. show_if: [["enableCron", "=", true]]
  67. required: true
  68. - variable: additionalEnvs
  69. label: Additional Environment Variables
  70. description: Configure additional environment variables for FreshRSS.
  71. schema:
  72. type: list
  73. default: []
  74. items:
  75. - variable: env
  76. label: Environment Variable
  77. schema:
  78. type: dict
  79. attrs:
  80. - variable: name
  81. label: Name
  82. schema:
  83. type: string
  84. required: true
  85. - variable: value
  86. label: Value
  87. schema:
  88. type: string
  89. required: true
  90. - variable: freshrssNetwork
  91. label: ""
  92. group: Network Configuration
  93. schema:
  94. type: dict
  95. attrs:
  96. - variable: webPort
  97. label: Web Port
  98. description: The port for the FreshRSS Web UI.
  99. schema:
  100. type: int
  101. default: 31000
  102. min: 9000
  103. max: 65535
  104. required: true
  105. - variable: hostNetwork
  106. label: Host Network
  107. description: |
  108. Bind to the host network. It's recommended to keep this disabled.</br>
  109. schema:
  110. type: boolean
  111. default: false
  112. - variable: freshrssStorage
  113. label: ""
  114. group: Storage Configuration
  115. schema:
  116. type: dict
  117. attrs:
  118. - variable: data
  119. label: FreshRSS Data Storage
  120. description: The path to store FreshRSS Data.
  121. schema:
  122. type: dict
  123. attrs:
  124. - variable: type
  125. label: Type
  126. description: |
  127. ixVolume: Is dataset created automatically by the system.</br>
  128. Host Path: Is a path that already exists on the system.
  129. schema:
  130. type: string
  131. required: true
  132. immutable: true
  133. default: "ixVolume"
  134. enum:
  135. - value: "hostPath"
  136. description: Host Path (Path that already exists on the system)
  137. - value: "ixVolume"
  138. description: ixVolume (Dataset created automatically by the system)
  139. - variable: ixVolumeConfig
  140. label: ixVolume Configuration
  141. description: The configuration for the ixVolume dataset.
  142. schema:
  143. type: dict
  144. show_if: [["type", "=", "ixVolume"]]
  145. $ref:
  146. - "normalize/ixVolume"
  147. attrs:
  148. - variable: aclEnable
  149. label: Enable ACL
  150. description: Enable ACL for the dataset.
  151. schema:
  152. type: boolean
  153. default: false
  154. - variable: datasetName
  155. label: Dataset Name
  156. description: The name of the dataset to use for storage.
  157. schema:
  158. type: string
  159. required: true
  160. immutable: true
  161. hidden: true
  162. default: "data"
  163. - variable: aclEntries
  164. label: ACL Configuration
  165. schema:
  166. type: dict
  167. show_if: [["aclEnable", "=", true]]
  168. attrs: []
  169. - variable: hostPathConfig
  170. label: Host Path Configuration
  171. schema:
  172. type: dict
  173. show_if: [["type", "=", "hostPath"]]
  174. attrs:
  175. - variable: aclEnable
  176. label: Enable ACL
  177. description: Enable ACL for the dataset.
  178. schema:
  179. type: boolean
  180. default: false
  181. - variable: acl
  182. label: ACL Configuration
  183. schema:
  184. type: dict
  185. show_if: [["aclEnable", "=", true]]
  186. attrs: []
  187. $ref:
  188. - "normalize/acl"
  189. - variable: hostPath
  190. label: Host Path
  191. description: The host path to use for storage.
  192. schema:
  193. type: hostpath
  194. show_if: [["aclEnable", "=", false]]
  195. required: true
  196. - variable: extensions
  197. label: FreshRSS Extensions Storage
  198. description: The path to store FreshRSS Extensions.
  199. schema:
  200. type: dict
  201. attrs:
  202. - variable: type
  203. label: Type
  204. description: |
  205. ixVolume: Is dataset created automatically by the system.</br>
  206. Host Path: Is a path that already exists on the system.
  207. schema:
  208. type: string
  209. required: true
  210. immutable: true
  211. default: "ixVolume"
  212. enum:
  213. - value: "hostPath"
  214. description: Host Path (Path that already exists on the system)
  215. - value: "ixVolume"
  216. description: ixVolume (Dataset created automatically by the system)
  217. - variable: ixVolumeConfig
  218. label: ixVolume Configuration
  219. description: The configuration for the ixVolume dataset.
  220. schema:
  221. type: dict
  222. show_if: [["type", "=", "ixVolume"]]
  223. $ref:
  224. - "normalize/ixVolume"
  225. attrs:
  226. - variable: aclEnable
  227. label: Enable ACL
  228. description: Enable ACL for the dataset.
  229. schema:
  230. type: boolean
  231. default: false
  232. - variable: datasetName
  233. label: Dataset Name
  234. description: The name of the dataset to use for storage.
  235. schema:
  236. type: string
  237. required: true
  238. immutable: true
  239. hidden: true
  240. default: "extensions"
  241. - variable: aclEntries
  242. label: ACL Configuration
  243. schema:
  244. type: dict
  245. show_if: [["aclEnable", "=", true]]
  246. attrs: []
  247. - variable: hostPathConfig
  248. label: Host Path Configuration
  249. schema:
  250. type: dict
  251. show_if: [["type", "=", "hostPath"]]
  252. attrs:
  253. - variable: aclEnable
  254. label: Enable ACL
  255. description: Enable ACL for the dataset.
  256. schema:
  257. type: boolean
  258. default: false
  259. - variable: acl
  260. label: ACL Configuration
  261. schema:
  262. type: dict
  263. show_if: [["aclEnable", "=", true]]
  264. attrs: []
  265. $ref:
  266. - "normalize/acl"
  267. - variable: hostPath
  268. label: Host Path
  269. description: The host path to use for storage.
  270. schema:
  271. type: hostpath
  272. show_if: [["aclEnable", "=", false]]
  273. required: true
  274. - variable: pgData
  275. label: Postgres Data Storage
  276. description: The path to store Postgres Data.
  277. schema:
  278. type: dict
  279. attrs:
  280. - variable: type
  281. label: Type
  282. description: |
  283. ixVolume: Is dataset created automatically by the system.</br>
  284. Host Path: Is a path that already exists on the system.
  285. schema:
  286. type: string
  287. required: true
  288. immutable: true
  289. default: "ixVolume"
  290. enum:
  291. - value: "hostPath"
  292. description: Host Path (Path that already exists on the system)
  293. - value: "ixVolume"
  294. description: ixVolume (Dataset created automatically by the system)
  295. - variable: ixVolumeConfig
  296. label: ixVolume Configuration
  297. description: The configuration for the ixVolume dataset.
  298. schema:
  299. type: dict
  300. # Nothing to show for the user
  301. hidden: true
  302. show_if: [["type", "=", "ixVolume"]]
  303. $ref:
  304. - "normalize/ixVolume"
  305. attrs:
  306. - variable: aclEnable
  307. label: Enable ACL
  308. description: Enable ACL for the dataset.
  309. schema:
  310. type: boolean
  311. # Postgres does a CHMOD at startup
  312. # Which fails with ACL
  313. hidden: true
  314. default: false
  315. - variable: datasetName
  316. label: Dataset Name
  317. description: The name of the dataset to use for storage.
  318. schema:
  319. type: string
  320. required: true
  321. immutable: true
  322. hidden: true
  323. default: "pgData"
  324. - variable: aclEntries
  325. label: ACL Configuration
  326. schema:
  327. type: dict
  328. show_if: [["aclEnable", "=", true]]
  329. attrs: []
  330. - variable: hostPathConfig
  331. label: Host Path Configuration
  332. schema:
  333. type: dict
  334. show_if: [["type", "=", "hostPath"]]
  335. attrs:
  336. - variable: aclEnable
  337. label: Enable ACL
  338. description: Enable ACL for the dataset.
  339. schema:
  340. type: boolean
  341. # Postgres does a CHMOD at startup
  342. # Which fails with ACL
  343. hidden: true
  344. default: false
  345. - variable: acl
  346. label: ACL Configuration
  347. schema:
  348. type: dict
  349. show_if: [["aclEnable", "=", true]]
  350. attrs: []
  351. $ref:
  352. - "normalize/acl"
  353. - variable: hostPath
  354. label: Host Path
  355. description: The host path to use for storage.
  356. schema:
  357. type: hostpath
  358. show_if: [["aclEnable", "=", false]]
  359. required: true
  360. - variable: pgBackup
  361. label: Postgres Backup Storage
  362. description: The path to store Postgres Backup.
  363. schema:
  364. type: dict
  365. attrs:
  366. - variable: type
  367. label: Type
  368. description: |
  369. ixVolume: Is dataset created automatically by the system.</br>
  370. Host Path: Is a path that already exists on the system.
  371. schema:
  372. type: string
  373. required: true
  374. immutable: true
  375. default: "ixVolume"
  376. enum:
  377. - value: "hostPath"
  378. description: Host Path (Path that already exists on the system)
  379. - value: "ixVolume"
  380. description: ixVolume (Dataset created automatically by the system)
  381. - variable: ixVolumeConfig
  382. label: ixVolume Configuration
  383. description: The configuration for the ixVolume dataset.
  384. schema:
  385. type: dict
  386. # Nothing to show for the user
  387. hidden: true
  388. show_if: [["type", "=", "ixVolume"]]
  389. $ref:
  390. - "normalize/ixVolume"
  391. attrs:
  392. - variable: aclEnable
  393. label: Enable ACL
  394. description: Enable ACL for the dataset.
  395. schema:
  396. type: boolean
  397. # Postgres does a CHMOD at startup
  398. # Which fails with ACL
  399. hidden: true
  400. default: false
  401. - variable: datasetName
  402. label: Dataset Name
  403. description: The name of the dataset to use for storage.
  404. schema:
  405. type: string
  406. required: true
  407. immutable: true
  408. hidden: true
  409. default: "pgBackup"
  410. - variable: aclEntries
  411. label: ACL Configuration
  412. schema:
  413. type: dict
  414. show_if: [["aclEnable", "=", true]]
  415. attrs: []
  416. - variable: hostPathConfig
  417. label: Host Path Configuration
  418. schema:
  419. type: dict
  420. show_if: [["type", "=", "hostPath"]]
  421. attrs:
  422. - variable: aclEnable
  423. label: Enable ACL
  424. description: Enable ACL for the dataset.
  425. schema:
  426. type: boolean
  427. # Postgres does a CHMOD at startup
  428. # Which fails with ACL
  429. hidden: true
  430. default: false
  431. - variable: acl
  432. label: ACL Configuration
  433. schema:
  434. type: dict
  435. show_if: [["aclEnable", "=", true]]
  436. attrs: []
  437. $ref:
  438. - "normalize/acl"
  439. - variable: hostPath
  440. label: Host Path
  441. description: The host path to use for storage.
  442. schema:
  443. type: hostpath
  444. show_if: [["aclEnable", "=", false]]
  445. required: true
  446. - variable: additionalStorages
  447. label: Additional Storage
  448. description: Additional storage for FreshRSS.
  449. schema:
  450. type: list
  451. default: []
  452. items:
  453. - variable: storageEntry
  454. label: Storage Entry
  455. schema:
  456. type: dict
  457. attrs:
  458. - variable: type
  459. label: Type
  460. description: |
  461. ixVolume: Is dataset created automatically by the system.</br>
  462. Host Path: Is a path that already exists on the system.</br>
  463. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  464. schema:
  465. type: string
  466. required: true
  467. immutable: true
  468. default: "ixVolume"
  469. enum:
  470. - value: "hostPath"
  471. description: Host Path (Path that already exists on the system)
  472. - value: "ixVolume"
  473. description: ixVolume (Dataset created automatically by the system)
  474. - value: "smb-pv-pvc"
  475. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  476. - variable: readOnly
  477. label: Read Only
  478. description: Mount the volume as read only.
  479. schema:
  480. type: boolean
  481. default: false
  482. - variable: mountPath
  483. label: Mount Path
  484. description: The path inside the container to mount the storage.
  485. schema:
  486. type: path
  487. required: true
  488. - variable: hostPathConfig
  489. label: Host Path Configuration
  490. schema:
  491. type: dict
  492. show_if: [["type", "=", "hostPath"]]
  493. attrs:
  494. - variable: aclEnable
  495. label: Enable ACL
  496. description: Enable ACL for the dataset.
  497. schema:
  498. type: boolean
  499. default: false
  500. - variable: acl
  501. label: ACL Configuration
  502. schema:
  503. type: dict
  504. show_if: [["aclEnable", "=", true]]
  505. attrs: []
  506. $ref:
  507. - "normalize/acl"
  508. - variable: hostPath
  509. label: Host Path
  510. description: The host path to use for storage.
  511. schema:
  512. type: hostpath
  513. show_if: [["aclEnable", "=", false]]
  514. required: true
  515. - variable: ixVolumeConfig
  516. label: ixVolume Configuration
  517. description: The configuration for the ixVolume dataset.
  518. schema:
  519. type: dict
  520. show_if: [["type", "=", "ixVolume"]]
  521. $ref:
  522. - "normalize/ixVolume"
  523. attrs:
  524. - variable: aclEnable
  525. label: Enable ACL
  526. description: Enable ACL for the dataset.
  527. schema:
  528. type: boolean
  529. default: false
  530. - variable: datasetName
  531. label: Dataset Name
  532. description: The name of the dataset to use for storage.
  533. schema:
  534. type: string
  535. required: true
  536. immutable: true
  537. default: "storage_entry"
  538. - variable: aclEntries
  539. label: ACL Configuration
  540. schema:
  541. type: dict
  542. show_if: [["aclEnable", "=", true]]
  543. attrs: []
  544. - variable: smbConfig
  545. label: SMB Share Configuration
  546. description: The configuration for the SMB Share.
  547. schema:
  548. type: dict
  549. show_if: [["type", "=", "smb-pv-pvc"]]
  550. attrs:
  551. - variable: server
  552. label: Server
  553. description: The server for the SMB share.
  554. schema:
  555. type: string
  556. required: true
  557. - variable: share
  558. label: Share
  559. description: The share name for the SMB share.
  560. schema:
  561. type: string
  562. required: true
  563. - variable: domain
  564. label: Domain (Optional)
  565. description: The domain for the SMB share.
  566. schema:
  567. type: string
  568. - variable: username
  569. label: Username
  570. description: The username for the SMB share.
  571. schema:
  572. type: string
  573. required: true
  574. - variable: password
  575. label: Password
  576. description: The password for the SMB share.
  577. schema:
  578. type: string
  579. required: true
  580. private: true
  581. - variable: size
  582. label: Size (in Gi)
  583. description: The size of the volume quota.
  584. schema:
  585. type: int
  586. required: true
  587. min: 1
  588. default: 1
  589. - variable: resources
  590. group: Resources Configuration
  591. label: ""
  592. schema:
  593. type: dict
  594. attrs:
  595. - variable: limits
  596. label: Limits
  597. schema:
  598. type: dict
  599. attrs:
  600. - variable: cpu
  601. label: CPU
  602. description: CPU limit for FreshRSS.
  603. schema:
  604. type: string
  605. max_length: 6
  606. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  607. valid_chars_error: |
  608. Valid CPU limit formats are</br>
  609. - Plain Integer - eg. 1</br>
  610. - Float - eg. 0.5</br>
  611. - Milicpu - eg. 500m
  612. default: "4000m"
  613. required: true
  614. - variable: memory
  615. label: Memory
  616. description: Memory limit for FreshRSS.
  617. schema:
  618. type: string
  619. max_length: 12
  620. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  621. valid_chars_error: |
  622. Valid Memory limit formats are</br>
  623. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  624. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  625. - Plain Integer in bytes - eg. 1024</br>
  626. - Exponent - eg. 134e6
  627. default: "8Gi"
  628. required: true