questions.yaml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  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: kapowarrNetwork
  51. label: ""
  52. group: Network Configuration
  53. schema:
  54. type: dict
  55. attrs:
  56. - variable: webPort
  57. label: Web Port
  58. description: The port for the Kapowarr Web UI.
  59. schema:
  60. type: int
  61. default: 30071
  62. min: 9000
  63. max: 65535
  64. required: true
  65. - variable: hostNetwork
  66. label: Host Network
  67. description: |
  68. Bind to the host network. It's recommended to keep this disabled.</br>
  69. schema:
  70. type: boolean
  71. default: false
  72. - variable: kapowarrStorage
  73. label: ""
  74. group: Storage Configuration
  75. schema:
  76. type: dict
  77. attrs:
  78. - variable: config
  79. label: Kapowarr Config Storage
  80. description: The path to store Kapowarr Configuration.
  81. schema:
  82. type: dict
  83. attrs:
  84. - variable: type
  85. label: Type
  86. description: |
  87. ixVolume: Is dataset created automatically by the system.</br>
  88. Host Path: Is a path that already exists on the system.
  89. schema:
  90. type: string
  91. required: true
  92. immutable: true
  93. default: "ixVolume"
  94. enum:
  95. - value: "hostPath"
  96. description: Host Path (Path that already exists on the system)
  97. - value: "ixVolume"
  98. description: ixVolume (Dataset created automatically by the system)
  99. - variable: ixVolumeConfig
  100. label: ixVolume Configuration
  101. description: The configuration for the ixVolume dataset.
  102. schema:
  103. type: dict
  104. show_if: [["type", "=", "ixVolume"]]
  105. $ref:
  106. - "normalize/ixVolume"
  107. attrs:
  108. - variable: aclEnable
  109. label: Enable ACL
  110. description: Enable ACL for the dataset.
  111. schema:
  112. type: boolean
  113. default: false
  114. - variable: datasetName
  115. label: Dataset Name
  116. description: The name of the dataset to use for storage.
  117. schema:
  118. type: string
  119. required: true
  120. immutable: true
  121. hidden: true
  122. default: "config"
  123. - variable: aclEntries
  124. label: ACL Configuration
  125. schema:
  126. type: dict
  127. show_if: [["aclEnable", "=", true]]
  128. attrs: []
  129. - variable: hostPathConfig
  130. label: Host Path Configuration
  131. schema:
  132. type: dict
  133. show_if: [["type", "=", "hostPath"]]
  134. attrs:
  135. - variable: aclEnable
  136. label: Enable ACL
  137. description: Enable ACL for the dataset.
  138. schema:
  139. type: boolean
  140. default: false
  141. - variable: acl
  142. label: ACL Configuration
  143. schema:
  144. type: dict
  145. show_if: [["aclEnable", "=", true]]
  146. attrs: []
  147. $ref:
  148. - "normalize/acl"
  149. - variable: hostPath
  150. label: Host Path
  151. description: The host path to use for storage.
  152. schema:
  153. type: hostpath
  154. show_if: [["aclEnable", "=", false]]
  155. required: true
  156. - variable: downloads
  157. label: Kapowarr Download Storage
  158. description: The path to store Kapowarr Downloads.
  159. schema:
  160. type: dict
  161. attrs:
  162. - variable: type
  163. label: Type
  164. description: |
  165. ixVolume: Is dataset created automatically by the system.</br>
  166. Host Path: Is a path that already exists on the system.
  167. schema:
  168. type: string
  169. required: true
  170. immutable: true
  171. default: "ixVolume"
  172. enum:
  173. - value: "hostPath"
  174. description: Host Path (Path that already exists on the system)
  175. - value: "ixVolume"
  176. description: ixVolume (Dataset created automatically by the system)
  177. - variable: ixVolumeConfig
  178. label: ixVolume Configuration
  179. description: The configuration for the ixVolume dataset.
  180. schema:
  181. type: dict
  182. show_if: [["type", "=", "ixVolume"]]
  183. $ref:
  184. - "normalize/ixVolume"
  185. attrs:
  186. - variable: aclEnable
  187. label: Enable ACL
  188. description: Enable ACL for the dataset.
  189. schema:
  190. type: boolean
  191. default: false
  192. - variable: datasetName
  193. label: Dataset Name
  194. description: The name of the dataset to use for storage.
  195. schema:
  196. type: string
  197. required: true
  198. immutable: true
  199. hidden: true
  200. default: "downloads"
  201. - variable: aclEntries
  202. label: ACL Configuration
  203. schema:
  204. type: dict
  205. show_if: [["aclEnable", "=", true]]
  206. attrs: []
  207. - variable: hostPathConfig
  208. label: Host Path Configuration
  209. schema:
  210. type: dict
  211. show_if: [["type", "=", "hostPath"]]
  212. attrs:
  213. - variable: aclEnable
  214. label: Enable ACL
  215. description: Enable ACL for the dataset.
  216. schema:
  217. type: boolean
  218. default: false
  219. - variable: acl
  220. label: ACL Configuration
  221. schema:
  222. type: dict
  223. show_if: [["aclEnable", "=", true]]
  224. attrs: []
  225. $ref:
  226. - "normalize/acl"
  227. - variable: hostPath
  228. label: Host Path
  229. description: The host path to use for storage.
  230. schema:
  231. type: hostpath
  232. show_if: [["aclEnable", "=", false]]
  233. required: true
  234. - variable: content
  235. label: Kapowarr Content Storage
  236. description: The path to store Kapowarr Content.
  237. schema:
  238. type: dict
  239. attrs:
  240. - variable: type
  241. label: Type
  242. description: |
  243. ixVolume: Is dataset created automatically by the system.</br>
  244. Host Path: Is a path that already exists on the system.
  245. schema:
  246. type: string
  247. required: true
  248. immutable: true
  249. default: "ixVolume"
  250. enum:
  251. - value: "hostPath"
  252. description: Host Path (Path that already exists on the system)
  253. - value: "ixVolume"
  254. description: ixVolume (Dataset created automatically by the system)
  255. - variable: ixVolumeConfig
  256. label: ixVolume Configuration
  257. description: The configuration for the ixVolume dataset.
  258. schema:
  259. type: dict
  260. show_if: [["type", "=", "ixVolume"]]
  261. $ref:
  262. - "normalize/ixVolume"
  263. attrs:
  264. - variable: aclEnable
  265. label: Enable ACL
  266. description: Enable ACL for the dataset.
  267. schema:
  268. type: boolean
  269. default: false
  270. - variable: datasetName
  271. label: Dataset Name
  272. description: The name of the dataset to use for storage.
  273. schema:
  274. type: string
  275. required: true
  276. immutable: true
  277. hidden: true
  278. default: "content"
  279. - variable: aclEntries
  280. label: ACL Configuration
  281. schema:
  282. type: dict
  283. show_if: [["aclEnable", "=", true]]
  284. attrs: []
  285. - variable: hostPathConfig
  286. label: Host Path Configuration
  287. schema:
  288. type: dict
  289. show_if: [["type", "=", "hostPath"]]
  290. attrs:
  291. - variable: aclEnable
  292. label: Enable ACL
  293. description: Enable ACL for the dataset.
  294. schema:
  295. type: boolean
  296. default: false
  297. - variable: acl
  298. label: ACL Configuration
  299. schema:
  300. type: dict
  301. show_if: [["aclEnable", "=", true]]
  302. attrs: []
  303. $ref:
  304. - "normalize/acl"
  305. - variable: hostPath
  306. label: Host Path
  307. description: The host path to use for storage.
  308. schema:
  309. type: hostpath
  310. show_if: [["aclEnable", "=", false]]
  311. required: true
  312. - variable: additionalStorages
  313. label: Additional Storage
  314. description: Additional storage for Kapowarr.
  315. schema:
  316. type: list
  317. default: []
  318. items:
  319. - variable: storageEntry
  320. label: Storage Entry
  321. schema:
  322. type: dict
  323. attrs:
  324. - variable: type
  325. label: Type
  326. description: |
  327. ixVolume: Is dataset created automatically by the system.</br>
  328. Host Path: Is a path that already exists on the system.</br>
  329. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  330. schema:
  331. type: string
  332. required: true
  333. default: "ixVolume"
  334. immutable: true
  335. enum:
  336. - value: "hostPath"
  337. description: Host Path (Path that already exists on the system)
  338. - value: "ixVolume"
  339. description: ixVolume (Dataset created automatically by the system)
  340. - value: "smb-pv-pvc"
  341. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  342. - variable: readOnly
  343. label: Read Only
  344. description: Mount the volume as read only.
  345. schema:
  346. type: boolean
  347. default: false
  348. - variable: mountPath
  349. label: Mount Path
  350. description: The path inside the container to mount the storage.
  351. schema:
  352. type: path
  353. required: true
  354. - variable: hostPathConfig
  355. label: Host Path Configuration
  356. schema:
  357. type: dict
  358. show_if: [["type", "=", "hostPath"]]
  359. attrs:
  360. - variable: aclEnable
  361. label: Enable ACL
  362. description: Enable ACL for the dataset.
  363. schema:
  364. type: boolean
  365. default: false
  366. - variable: acl
  367. label: ACL Configuration
  368. schema:
  369. type: dict
  370. show_if: [["aclEnable", "=", true]]
  371. attrs: []
  372. $ref:
  373. - "normalize/acl"
  374. - variable: hostPath
  375. label: Host Path
  376. description: The host path to use for storage.
  377. schema:
  378. type: hostpath
  379. show_if: [["aclEnable", "=", false]]
  380. required: true
  381. - variable: ixVolumeConfig
  382. label: ixVolume Configuration
  383. description: The configuration for the ixVolume dataset.
  384. schema:
  385. type: dict
  386. show_if: [["type", "=", "ixVolume"]]
  387. $ref:
  388. - "normalize/ixVolume"
  389. attrs:
  390. - variable: aclEnable
  391. label: Enable ACL
  392. description: Enable ACL for the dataset.
  393. schema:
  394. type: boolean
  395. default: false
  396. - variable: datasetName
  397. label: Dataset Name
  398. description: The name of the dataset to use for storage.
  399. schema:
  400. type: string
  401. required: true
  402. immutable: true
  403. default: "storage_entry"
  404. - variable: aclEntries
  405. label: ACL Configuration
  406. schema:
  407. type: dict
  408. show_if: [["aclEnable", "=", true]]
  409. attrs: []
  410. - variable: smbConfig
  411. label: SMB Share Configuration
  412. description: The configuration for the SMB Share.
  413. schema:
  414. type: dict
  415. show_if: [["type", "=", "smb-pv-pvc"]]
  416. attrs:
  417. - variable: server
  418. label: Server
  419. description: The server for the SMB share.
  420. schema:
  421. type: string
  422. required: true
  423. - variable: share
  424. label: Share
  425. description: The share name for the SMB share.
  426. schema:
  427. type: string
  428. required: true
  429. - variable: domain
  430. label: Domain (Optional)
  431. description: The domain for the SMB share.
  432. schema:
  433. type: string
  434. - variable: username
  435. label: Username
  436. description: The username for the SMB share.
  437. schema:
  438. type: string
  439. required: true
  440. - variable: password
  441. label: Password
  442. description: The password for the SMB share.
  443. schema:
  444. type: string
  445. required: true
  446. private: true
  447. - variable: size
  448. label: Size (in Gi)
  449. description: The size of the volume quota.
  450. schema:
  451. type: int
  452. required: true
  453. min: 1
  454. default: 1
  455. - variable: resources
  456. group: Resources Configuration
  457. label: ""
  458. schema:
  459. type: dict
  460. attrs:
  461. - variable: limits
  462. label: Limits
  463. schema:
  464. type: dict
  465. attrs:
  466. - variable: cpu
  467. label: CPU
  468. description: CPU limit for Kapowarr.
  469. schema:
  470. type: string
  471. max_length: 6
  472. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  473. valid_chars_error: |
  474. Valid CPU limit formats are</br>
  475. - Plain Integer - eg. 1</br>
  476. - Float - eg. 0.5</br>
  477. - Milicpu - eg. 500m
  478. default: "4000m"
  479. required: true
  480. - variable: memory
  481. label: Memory
  482. description: Memory limit for Kapowarr.
  483. schema:
  484. type: string
  485. max_length: 12
  486. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  487. valid_chars_error: |
  488. Valid Memory limit formats are</br>
  489. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  490. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  491. - Plain Integer in bytes - eg. 1024</br>
  492. - Exponent - eg. 134e6
  493. default: "8Gi"
  494. required: true