questions.yaml 14 KB

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