questions.yaml 20 KB

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