questions.yaml 14 KB

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