questions.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417
  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: datasetName
  140. label: Dataset Name
  141. schema:
  142. type: string
  143. show_if: [["type", "=", "ixVolume"]]
  144. required: true
  145. hidden: true
  146. immutable: true
  147. default: "data"
  148. $ref:
  149. - "normalize/ixVolume"
  150. - variable: hostPath
  151. label: Host Path
  152. schema:
  153. type: hostpath
  154. show_if: [["type", "=", "hostPath"]]
  155. immutable: true
  156. required: true
  157. - variable: extensions
  158. label: FreshRSS Extensions Storage
  159. description: The path to store FreshRSS Extensions.
  160. schema:
  161. type: dict
  162. attrs:
  163. - variable: type
  164. label: Type
  165. description: |
  166. ixVolume: Is dataset created automatically by the system.</br>
  167. Host Path: Is a path that already exists on the system.
  168. schema:
  169. type: string
  170. required: true
  171. immutable: true
  172. default: "ixVolume"
  173. enum:
  174. - value: "hostPath"
  175. description: Host Path (Path that already exists on the system)
  176. - value: "ixVolume"
  177. description: ixVolume (Dataset created automatically by the system)
  178. - variable: datasetName
  179. label: Dataset Name
  180. schema:
  181. type: string
  182. show_if: [["type", "=", "ixVolume"]]
  183. required: true
  184. hidden: true
  185. immutable: true
  186. default: "extensions"
  187. $ref:
  188. - "normalize/ixVolume"
  189. - variable: hostPath
  190. label: Host Path
  191. schema:
  192. type: hostpath
  193. show_if: [["type", "=", "hostPath"]]
  194. immutable: true
  195. required: true
  196. - variable: pgData
  197. label: Postgres Data Storage
  198. description: The path to store Postgres Data.
  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: datasetName
  218. label: Dataset Name
  219. schema:
  220. type: string
  221. show_if: [["type", "=", "ixVolume"]]
  222. required: true
  223. hidden: true
  224. immutable: true
  225. default: "pgData"
  226. $ref:
  227. - "normalize/ixVolume"
  228. - variable: hostPath
  229. label: Host Path
  230. schema:
  231. type: hostpath
  232. show_if: [["type", "=", "hostPath"]]
  233. immutable: true
  234. required: true
  235. - variable: pgBackup
  236. label: Postgres Backup Storage
  237. description: The path to store Postgres Backup.
  238. schema:
  239. type: dict
  240. attrs:
  241. - variable: type
  242. label: Type
  243. description: |
  244. ixVolume: Is dataset created automatically by the system.</br>
  245. Host Path: Is a path that already exists on the system.
  246. schema:
  247. type: string
  248. required: true
  249. immutable: true
  250. default: "ixVolume"
  251. enum:
  252. - value: "hostPath"
  253. description: Host Path (Path that already exists on the system)
  254. - value: "ixVolume"
  255. description: ixVolume (Dataset created automatically by the system)
  256. - variable: datasetName
  257. label: Dataset Name
  258. schema:
  259. type: string
  260. show_if: [["type", "=", "ixVolume"]]
  261. required: true
  262. hidden: true
  263. immutable: true
  264. default: "pgBackup"
  265. $ref:
  266. - "normalize/ixVolume"
  267. - variable: hostPath
  268. label: Host Path
  269. schema:
  270. type: hostpath
  271. show_if: [["type", "=", "hostPath"]]
  272. immutable: true
  273. required: true
  274. - variable: additionalStorages
  275. label: Additional Storage
  276. description: Additional storage for FreshRSS.
  277. schema:
  278. type: list
  279. default: []
  280. items:
  281. - variable: storageEntry
  282. label: Storage Entry
  283. schema:
  284. type: dict
  285. attrs:
  286. - variable: type
  287. label: Type
  288. description: |
  289. ixVolume: Is dataset created automatically by the system.</br>
  290. Host Path: Is a path that already exists on the system.</br>
  291. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  292. schema:
  293. type: string
  294. required: true
  295. immutable: true
  296. default: "ixVolume"
  297. enum:
  298. - value: "hostPath"
  299. description: Host Path (Path that already exists on the system)
  300. - value: "ixVolume"
  301. description: ixVolume (Dataset created automatically by the system)
  302. - value: "smb-pv-pvc"
  303. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  304. - variable: mountPath
  305. label: Mount Path
  306. description: The path inside the container to mount the storage.
  307. schema:
  308. type: path
  309. required: true
  310. - variable: hostPath
  311. label: Host Path
  312. description: The host path to use for storage.
  313. schema:
  314. type: hostpath
  315. show_if: [["type", "=", "hostPath"]]
  316. required: true
  317. - variable: datasetName
  318. label: Dataset Name
  319. description: The name of the dataset to use for storage.
  320. schema:
  321. type: string
  322. show_if: [["type", "=", "ixVolume"]]
  323. required: true
  324. immutable: true
  325. default: "storage_entry"
  326. $ref:
  327. - "normalize/ixVolume"
  328. - variable: server
  329. label: Server
  330. description: The server for the SMB share.
  331. schema:
  332. type: string
  333. show_if: [["type", "=", "smb-pv-pvc"]]
  334. required: true
  335. - variable: share
  336. label: Share
  337. description: The share name for the SMB share.
  338. schema:
  339. type: string
  340. show_if: [["type", "=", "smb-pv-pvc"]]
  341. required: true
  342. - variable: domain
  343. label: Domain (Optional)
  344. description: The domain for the SMB share.
  345. schema:
  346. type: string
  347. show_if: [["type", "=", "smb-pv-pvc"]]
  348. - variable: username
  349. label: Username
  350. description: The username for the SMB share.
  351. schema:
  352. type: string
  353. show_if: [["type", "=", "smb-pv-pvc"]]
  354. required: true
  355. - variable: password
  356. label: Password
  357. description: The password for the SMB share.
  358. schema:
  359. type: string
  360. show_if: [["type", "=", "smb-pv-pvc"]]
  361. required: true
  362. private: true
  363. - variable: size
  364. label: Size (in Gi)
  365. description: The size of the volume quota.
  366. schema:
  367. type: int
  368. show_if: [["type", "=", "smb-pv-pvc"]]
  369. required: true
  370. min: 1
  371. default: 1
  372. - variable: resources
  373. group: Resources Configuration
  374. label: ""
  375. schema:
  376. type: dict
  377. attrs:
  378. - variable: limits
  379. label: Limits
  380. schema:
  381. type: dict
  382. attrs:
  383. - variable: cpu
  384. label: CPU
  385. description: CPU limit for FreshRSS.
  386. schema:
  387. type: string
  388. max_length: 6
  389. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  390. valid_chars_error: |
  391. Valid CPU limit formats are</br>
  392. - Plain Integer - eg. 1</br>
  393. - Float - eg. 0.5</br>
  394. - Milicpu - eg. 500m
  395. default: "4000m"
  396. required: true
  397. - variable: memory
  398. label: Memory
  399. description: Memory limit for FreshRSS.
  400. schema:
  401. type: string
  402. max_length: 12
  403. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  404. valid_chars_error: |
  405. Valid Memory limit formats are</br>
  406. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  407. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  408. - Plain Integer in bytes - eg. 1024</br>
  409. - Exponent - eg. 134e6
  410. default: "8Gi"
  411. required: true