questions.yaml 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  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. required: true
  138. - variable: downloads
  139. label: Kapowarr Download Storage
  140. description: The path to store Kapowarr Downloads.
  141. schema:
  142. type: dict
  143. attrs:
  144. - variable: type
  145. label: Type
  146. description: |
  147. ixVolume: Is dataset created automatically by the system.</br>
  148. Host Path: Is a path that already exists on the system.
  149. schema:
  150. type: string
  151. required: true
  152. immutable: true
  153. default: "ixVolume"
  154. enum:
  155. - value: "hostPath"
  156. description: Host Path (Path that already exists on the system)
  157. - value: "ixVolume"
  158. description: ixVolume (Dataset created automatically by the system)
  159. - variable: datasetName
  160. label: Dataset Name
  161. schema:
  162. type: string
  163. show_if: [["type", "=", "ixVolume"]]
  164. required: true
  165. hidden: true
  166. immutable: true
  167. default: "downloads"
  168. $ref:
  169. - "normalize/ixVolume"
  170. - variable: hostPath
  171. label: Host Path
  172. schema:
  173. type: hostpath
  174. show_if: [["type", "=", "hostPath"]]
  175. required: true
  176. - variable: content
  177. label: Kapowarr Content Storage
  178. description: The path to store Kapowarr Content.
  179. schema:
  180. type: dict
  181. attrs:
  182. - variable: type
  183. label: Type
  184. description: |
  185. ixVolume: Is dataset created automatically by the system.</br>
  186. Host Path: Is a path that already exists on the system.
  187. schema:
  188. type: string
  189. required: true
  190. immutable: true
  191. default: "ixVolume"
  192. enum:
  193. - value: "hostPath"
  194. description: Host Path (Path that already exists on the system)
  195. - value: "ixVolume"
  196. description: ixVolume (Dataset created automatically by the system)
  197. - variable: datasetName
  198. label: Dataset Name
  199. schema:
  200. type: string
  201. show_if: [["type", "=", "ixVolume"]]
  202. required: true
  203. hidden: true
  204. immutable: true
  205. default: "content"
  206. $ref:
  207. - "normalize/ixVolume"
  208. - variable: hostPath
  209. label: Host Path
  210. schema:
  211. type: hostpath
  212. show_if: [["type", "=", "hostPath"]]
  213. required: true
  214. - variable: additionalStorages
  215. label: Additional Storage
  216. description: Additional storage for Kapowarr.
  217. schema:
  218. type: list
  219. default: []
  220. items:
  221. - variable: storageEntry
  222. label: Storage Entry
  223. schema:
  224. type: dict
  225. attrs:
  226. - variable: type
  227. label: Type
  228. description: |
  229. ixVolume: Is dataset created automatically by the system.</br>
  230. Host Path: Is a path that already exists on the system.</br>
  231. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  232. schema:
  233. type: string
  234. required: true
  235. default: "ixVolume"
  236. immutable: true
  237. enum:
  238. - value: "hostPath"
  239. description: Host Path (Path that already exists on the system)
  240. - value: "ixVolume"
  241. description: ixVolume (Dataset created automatically by the system)
  242. - value: "smb-pv-pvc"
  243. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  244. - variable: mountPath
  245. label: Mount Path
  246. description: The path inside the container to mount the storage.
  247. schema:
  248. type: path
  249. required: true
  250. - variable: hostPath
  251. label: Host Path
  252. description: The host path to use for storage.
  253. schema:
  254. type: hostpath
  255. show_if: [["type", "=", "hostPath"]]
  256. required: true
  257. - variable: datasetName
  258. label: Dataset Name
  259. description: The name of the dataset to use for storage.
  260. schema:
  261. type: string
  262. show_if: [["type", "=", "ixVolume"]]
  263. required: true
  264. immutable: true
  265. default: "storage_entry"
  266. $ref:
  267. - "normalize/ixVolume"
  268. - variable: server
  269. label: Server
  270. description: The server for the SMB share.
  271. schema:
  272. type: string
  273. show_if: [["type", "=", "smb-pv-pvc"]]
  274. required: true
  275. - variable: share
  276. label: Share
  277. description: The share name for the SMB share.
  278. schema:
  279. type: string
  280. show_if: [["type", "=", "smb-pv-pvc"]]
  281. required: true
  282. - variable: domain
  283. label: Domain (Optional)
  284. description: The domain for the SMB share.
  285. schema:
  286. type: string
  287. show_if: [["type", "=", "smb-pv-pvc"]]
  288. - variable: username
  289. label: Username
  290. description: The username for the SMB share.
  291. schema:
  292. type: string
  293. show_if: [["type", "=", "smb-pv-pvc"]]
  294. required: true
  295. - variable: password
  296. label: Password
  297. description: The password for the SMB share.
  298. schema:
  299. type: string
  300. show_if: [["type", "=", "smb-pv-pvc"]]
  301. required: true
  302. private: true
  303. - variable: size
  304. label: Size (in Gi)
  305. description: The size of the volume quota.
  306. schema:
  307. type: int
  308. show_if: [["type", "=", "smb-pv-pvc"]]
  309. required: true
  310. min: 1
  311. default: 1
  312. - variable: resources
  313. group: Resources Configuration
  314. label: ""
  315. schema:
  316. type: dict
  317. attrs:
  318. - variable: limits
  319. label: Limits
  320. schema:
  321. type: dict
  322. attrs:
  323. - variable: cpu
  324. label: CPU
  325. description: CPU limit for Kapowarr.
  326. schema:
  327. type: string
  328. max_length: 6
  329. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  330. valid_chars_error: |
  331. Valid CPU limit formats are</br>
  332. - Plain Integer - eg. 1</br>
  333. - Float - eg. 0.5</br>
  334. - Milicpu - eg. 500m
  335. default: "4000m"
  336. required: true
  337. - variable: memory
  338. label: Memory
  339. description: Memory limit for Kapowarr.
  340. schema:
  341. type: string
  342. max_length: 12
  343. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  344. valid_chars_error: |
  345. Valid Memory limit formats are</br>
  346. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  347. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  348. - Plain Integer in bytes - eg. 1024</br>
  349. - Exponent - eg. 134e6
  350. default: "8Gi"
  351. required: true