questions.yaml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  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. default: "ixVolume"
  115. enum:
  116. - value: "hostPath"
  117. description: Host Path (Path that already exists on the system)
  118. - value: "ixVolume"
  119. description: ixVolume (Dataset created automatically by the system)
  120. - variable: datasetName
  121. label: Dataset Name
  122. schema:
  123. type: string
  124. show_if: [["type", "=", "ixVolume"]]
  125. required: true
  126. hidden: true
  127. immutable: true
  128. default: "config"
  129. $ref:
  130. - "normalize/ixVolume"
  131. - variable: hostPath
  132. label: Host Path
  133. schema:
  134. type: hostpath
  135. show_if: [["type", "=", "hostPath"]]
  136. immutable: true
  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. default: "ixVolume"
  153. enum:
  154. - value: "hostPath"
  155. description: Host Path (Path that already exists on the system)
  156. - value: "ixVolume"
  157. description: ixVolume (Dataset created automatically by the system)
  158. - variable: datasetName
  159. label: Dataset Name
  160. schema:
  161. type: string
  162. show_if: [["type", "=", "ixVolume"]]
  163. required: true
  164. hidden: true
  165. immutable: true
  166. default: "downloads"
  167. $ref:
  168. - "normalize/ixVolume"
  169. - variable: hostPath
  170. label: Host Path
  171. schema:
  172. type: hostpath
  173. show_if: [["type", "=", "hostPath"]]
  174. immutable: true
  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. default: "ixVolume"
  191. enum:
  192. - value: "hostPath"
  193. description: Host Path (Path that already exists on the system)
  194. - value: "ixVolume"
  195. description: ixVolume (Dataset created automatically by the system)
  196. - variable: datasetName
  197. label: Dataset Name
  198. schema:
  199. type: string
  200. show_if: [["type", "=", "ixVolume"]]
  201. required: true
  202. hidden: true
  203. immutable: true
  204. default: "content"
  205. $ref:
  206. - "normalize/ixVolume"
  207. - variable: hostPath
  208. label: Host Path
  209. schema:
  210. type: hostpath
  211. show_if: [["type", "=", "hostPath"]]
  212. immutable: true
  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.
  231. schema:
  232. type: string
  233. required: true
  234. default: "ixVolume"
  235. enum:
  236. - value: "hostPath"
  237. description: Host Path (Path that already exists on the system)
  238. - value: "ixVolume"
  239. description: ixVolume (Dataset created automatically by the system)
  240. - variable: mountPath
  241. label: Mount Path
  242. description: The path inside the container to mount the storage.
  243. schema:
  244. type: path
  245. required: true
  246. - variable: hostPath
  247. label: Host Path
  248. description: The host path to use for storage.
  249. schema:
  250. type: hostpath
  251. show_if: [["type", "=", "hostPath"]]
  252. required: true
  253. - variable: datasetName
  254. label: Dataset Name
  255. description: The name of the dataset to use for storage.
  256. schema:
  257. type: string
  258. show_if: [["type", "=", "ixVolume"]]
  259. required: true
  260. immutable: true
  261. default: "storage_entry"
  262. $ref:
  263. - "normalize/ixVolume"
  264. - variable: resources
  265. group: Resources Configuration
  266. label: ""
  267. schema:
  268. type: dict
  269. attrs:
  270. - variable: limits
  271. label: Limits
  272. schema:
  273. type: dict
  274. attrs:
  275. - variable: cpu
  276. label: CPU
  277. description: CPU limit for Kapowarr.
  278. schema:
  279. type: string
  280. max_length: 6
  281. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  282. valid_chars_error: |
  283. Valid CPU limit formats are</br>
  284. - Plain Integer - eg. 1</br>
  285. - Float - eg. 0.5</br>
  286. - Milicpu - eg. 500m
  287. default: "4000m"
  288. required: true
  289. - variable: memory
  290. label: Memory
  291. description: Memory limit for Kapowarr.
  292. schema:
  293. type: string
  294. max_length: 12
  295. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  296. valid_chars_error: |
  297. Valid Memory limit formats are</br>
  298. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  299. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  300. - Plain Integer in bytes - eg. 1024</br>
  301. - Exponent - eg. 134e6
  302. default: "8Gi"
  303. required: true