questions.yaml 25 KB

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