questions.yaml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. groups:
  2. - name: Kapowarr Configuration
  3. description: Configure Kapowarr
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Kapowarr
  6. - name: Network Configuration
  7. description: Configure Network for Kapowarr
  8. - name: Storage Configuration
  9. description: Configure Storage for Kapowarr
  10. - name: Resources Configuration
  11. description: Configure Resources for Kapowarr
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_portal_protocol"
  16. host:
  17. - "$kubernetes-resource_configmap_portal_host"
  18. ports:
  19. - "$kubernetes-resource_configmap_portal_port"
  20. path: "$kubernetes-resource_configmap_portal_path"
  21. questions:
  22. - variable: kapowarrConfig
  23. label: ""
  24. group: Kapowarr Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: additionalEnvs
  29. label: Additional Environment Variables
  30. description: Configure additional environment variables for Kapowarr.
  31. schema:
  32. type: list
  33. default: []
  34. items:
  35. - variable: env
  36. label: Environment Variable
  37. schema:
  38. type: dict
  39. attrs:
  40. - variable: name
  41. label: Name
  42. schema:
  43. type: string
  44. required: true
  45. - variable: value
  46. label: Value
  47. schema:
  48. type: string
  49. required: true
  50. - variable: kapowarrRunAs
  51. label: ""
  52. group: User and Group Configuration
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: user
  57. label: User ID
  58. description: The user id that Kapowarr will run as.
  59. schema:
  60. type: int
  61. min: 2
  62. default: 568
  63. required: true
  64. - variable: group
  65. label: Group ID
  66. description: The group id that Kapowarr will run as.
  67. schema:
  68. type: int
  69. min: 2
  70. default: 568
  71. required: true
  72. - variable: kapowarrNetwork
  73. label: ""
  74. group: Network Configuration
  75. schema:
  76. type: dict
  77. attrs:
  78. - variable: webPort
  79. label: Web Port
  80. description: The port for the Kapowarr Web UI.
  81. schema:
  82. type: int
  83. default: 30071
  84. min: 9000
  85. max: 65535
  86. required: true
  87. - variable: hostNetwork
  88. label: Host Network
  89. description: |
  90. Bind to the host network. It's recommended to keep this disabled.</br>
  91. schema:
  92. type: boolean
  93. default: false
  94. - variable: kapowarrStorage
  95. label: ""
  96. group: Storage Configuration
  97. schema:
  98. type: dict
  99. attrs:
  100. - variable: config
  101. label: Kapowarr Config Storage
  102. description: The path to store Kapowarr Configuration.
  103. schema:
  104. type: dict
  105. attrs:
  106. - variable: type
  107. label: Type
  108. description: |
  109. ixVolume: Is dataset created automatically by the system.</br>
  110. Host Path: Is a path that already exists on the system.
  111. schema:
  112. type: string
  113. required: true
  114. immutable: true
  115. default: "ixVolume"
  116. enum:
  117. - value: "hostPath"
  118. description: Host Path (Path that already exists on the system)
  119. - value: "ixVolume"
  120. description: ixVolume (Dataset created automatically by the system)
  121. - variable: datasetName
  122. label: Dataset Name
  123. schema:
  124. type: string
  125. show_if: [["type", "=", "ixVolume"]]
  126. required: true
  127. hidden: true
  128. immutable: true
  129. default: "config"
  130. $ref:
  131. - "normalize/ixVolume"
  132. - variable: hostPath
  133. label: Host Path
  134. schema:
  135. type: hostpath
  136. show_if: [["type", "=", "hostPath"]]
  137. immutable: true
  138. required: true
  139. - variable: downloads
  140. label: Kapowarr Download Storage
  141. description: The path to store Kapowarr Downloads.
  142. schema:
  143. type: dict
  144. attrs:
  145. - variable: type
  146. label: Type
  147. description: |
  148. ixVolume: Is dataset created automatically by the system.</br>
  149. Host Path: Is a path that already exists on the system.
  150. schema:
  151. type: string
  152. required: true
  153. immutable: true
  154. default: "ixVolume"
  155. enum:
  156. - value: "hostPath"
  157. description: Host Path (Path that already exists on the system)
  158. - value: "ixVolume"
  159. description: ixVolume (Dataset created automatically by the system)
  160. - variable: datasetName
  161. label: Dataset Name
  162. schema:
  163. type: string
  164. show_if: [["type", "=", "ixVolume"]]
  165. required: true
  166. hidden: true
  167. immutable: true
  168. default: "downloads"
  169. $ref:
  170. - "normalize/ixVolume"
  171. - variable: hostPath
  172. label: Host Path
  173. schema:
  174. type: hostpath
  175. show_if: [["type", "=", "hostPath"]]
  176. immutable: true
  177. required: true
  178. - variable: content
  179. label: Kapowarr Content Storage
  180. description: The path to store Kapowarr Content.
  181. schema:
  182. type: dict
  183. attrs:
  184. - variable: type
  185. label: Type
  186. description: |
  187. ixVolume: Is dataset created automatically by the system.</br>
  188. Host Path: Is a path that already exists on the system.
  189. schema:
  190. type: string
  191. required: true
  192. immutable: true
  193. default: "ixVolume"
  194. enum:
  195. - value: "hostPath"
  196. description: Host Path (Path that already exists on the system)
  197. - value: "ixVolume"
  198. description: ixVolume (Dataset created automatically by the system)
  199. - variable: datasetName
  200. label: Dataset Name
  201. schema:
  202. type: string
  203. show_if: [["type", "=", "ixVolume"]]
  204. required: true
  205. hidden: true
  206. immutable: true
  207. default: "content"
  208. $ref:
  209. - "normalize/ixVolume"
  210. - variable: hostPath
  211. label: Host Path
  212. schema:
  213. type: hostpath
  214. show_if: [["type", "=", "hostPath"]]
  215. immutable: true
  216. required: true
  217. - variable: additionalStorages
  218. label: Additional Storage
  219. description: Additional storage for Kapowarr.
  220. schema:
  221. type: list
  222. default: []
  223. items:
  224. - variable: storageEntry
  225. label: Storage Entry
  226. schema:
  227. type: dict
  228. attrs:
  229. - variable: type
  230. label: Type
  231. description: |
  232. ixVolume: Is dataset created automatically by the system.</br>
  233. Host Path: Is a path that already exists on the system.</br>
  234. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  235. schema:
  236. type: string
  237. required: true
  238. default: "ixVolume"
  239. immutable: true
  240. enum:
  241. - value: "hostPath"
  242. description: Host Path (Path that already exists on the system)
  243. - value: "ixVolume"
  244. description: ixVolume (Dataset created automatically by the system)
  245. - value: "smb-pv-pvc"
  246. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  247. - variable: mountPath
  248. label: Mount Path
  249. description: The path inside the container to mount the storage.
  250. schema:
  251. type: path
  252. required: true
  253. - variable: hostPath
  254. label: Host Path
  255. description: The host path to use for storage.
  256. schema:
  257. type: hostpath
  258. show_if: [["type", "=", "hostPath"]]
  259. required: true
  260. - variable: datasetName
  261. label: Dataset Name
  262. description: The name of the dataset to use for storage.
  263. schema:
  264. type: string
  265. show_if: [["type", "=", "ixVolume"]]
  266. required: true
  267. immutable: true
  268. default: "storage_entry"
  269. $ref:
  270. - "normalize/ixVolume"
  271. - variable: server
  272. label: Server
  273. description: The server for the SMB share.
  274. schema:
  275. type: string
  276. show_if: [["type", "=", "smb-pv-pvc"]]
  277. required: true
  278. - variable: share
  279. label: Share
  280. description: The share name for the SMB share.
  281. schema:
  282. type: string
  283. show_if: [["type", "=", "smb-pv-pvc"]]
  284. required: true
  285. - variable: domain
  286. label: Domain (Optional)
  287. description: The domain for the SMB share.
  288. schema:
  289. type: string
  290. show_if: [["type", "=", "smb-pv-pvc"]]
  291. - variable: username
  292. label: Username
  293. description: The username for the SMB share.
  294. schema:
  295. type: string
  296. show_if: [["type", "=", "smb-pv-pvc"]]
  297. required: true
  298. - variable: password
  299. label: Password
  300. description: The password for the SMB share.
  301. schema:
  302. type: string
  303. show_if: [["type", "=", "smb-pv-pvc"]]
  304. required: true
  305. private: true
  306. - variable: size
  307. label: Size (in Gi)
  308. description: The size of the volume quota.
  309. schema:
  310. type: int
  311. show_if: [["type", "=", "smb-pv-pvc"]]
  312. required: true
  313. min: 1
  314. default: 1
  315. - variable: resources
  316. group: Resources Configuration
  317. label: ""
  318. schema:
  319. type: dict
  320. attrs:
  321. - variable: limits
  322. label: Limits
  323. schema:
  324. type: dict
  325. attrs:
  326. - variable: cpu
  327. label: CPU
  328. description: CPU limit for Kapowarr.
  329. schema:
  330. type: string
  331. max_length: 6
  332. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  333. valid_chars_error: |
  334. Valid CPU limit formats are</br>
  335. - Plain Integer - eg. 1</br>
  336. - Float - eg. 0.5</br>
  337. - Milicpu - eg. 500m
  338. default: "4000m"
  339. required: true
  340. - variable: memory
  341. label: Memory
  342. description: Memory limit for Kapowarr.
  343. schema:
  344. type: string
  345. max_length: 12
  346. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  347. valid_chars_error: |
  348. Valid Memory limit formats are</br>
  349. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  350. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  351. - Plain Integer in bytes - eg. 1024</br>
  352. - Exponent - eg. 134e6
  353. default: "8Gi"
  354. required: true