questions.yaml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. groups:
  2. - name: Bazarr Configuration
  3. description: Configure Bazarr
  4. - name: User and Group Configuration
  5. description: Configure User and Group for Bazarr
  6. - name: Network Configuration
  7. description: Configure Network for Bazarr
  8. - name: Storage Configuration
  9. description: Configure Storage for Bazarr
  10. - name: Resources Configuration
  11. description: Configure Resources for Bazarr
  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: bazarrConfig
  23. label: ""
  24. group: Bazarr Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: additionalEnvs
  29. label: Additional Environment Variables
  30. description: Configure additional environment variables for Bazarr.
  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: bazarrRunAs
  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 Bazarr 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 Bazarr will run as.
  67. schema:
  68. type: int
  69. min: 2
  70. default: 568
  71. required: true
  72. - variable: bazarrNetwork
  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 Bazarr Web UI.
  81. schema:
  82. type: int
  83. default: 30046
  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: bazarrStorage
  95. label: ""
  96. group: Storage Configuration
  97. schema:
  98. type: dict
  99. attrs:
  100. - variable: config
  101. label: Bazarr Config Storage
  102. description: The path to store Bazarr 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. immutable: true
  178. required: true
  179. - variable: additionalStorages
  180. label: Additional Storage
  181. description: Additional storage for Bazarr.
  182. schema:
  183. type: list
  184. default: []
  185. items:
  186. - variable: storageEntry
  187. label: Storage Entry
  188. schema:
  189. type: dict
  190. attrs:
  191. - variable: type
  192. label: Type
  193. description: |
  194. ixVolume: Is dataset created automatically by the system.</br>
  195. Host Path: Is a path that already exists on the system.</br>
  196. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  197. schema:
  198. type: string
  199. required: true
  200. default: "ixVolume"
  201. immutable: true
  202. enum:
  203. - value: "hostPath"
  204. description: Host Path (Path that already exists on the system)
  205. - value: "ixVolume"
  206. description: ixVolume (Dataset created automatically by the system)
  207. - value: "smb-pv-pvc"
  208. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  209. - variable: readOnly
  210. label: Read Only
  211. description: Mount the volume as read only.
  212. schema:
  213. type: boolean
  214. default: false
  215. - variable: mountPath
  216. label: Mount Path
  217. description: The path inside the container to mount the storage.
  218. schema:
  219. type: path
  220. required: true
  221. - variable: hostPathConfig
  222. label: Host Path Configuration
  223. schema:
  224. type: dict
  225. show_if: [["type", "=", "hostPath"]]
  226. attrs:
  227. - variable: aclEnable
  228. label: Enable ACL
  229. description: Enable ACL for the dataset.
  230. schema:
  231. type: boolean
  232. default: false
  233. - variable: acl
  234. label: ACL Configuration
  235. schema:
  236. type: dict
  237. show_if: [["aclEnable", "=", true]]
  238. attrs: []
  239. $ref:
  240. - "normalize/acl"
  241. - variable: hostPath
  242. label: Host Path
  243. description: The host path to use for storage.
  244. schema:
  245. type: hostpath
  246. show_if: [["aclEnable", "=", false]]
  247. immutable: true
  248. required: true
  249. - variable: ixVolumeConfig
  250. label: ixVolume Configuration
  251. description: The configuration for the ixVolume dataset.
  252. schema:
  253. type: dict
  254. show_if: [["type", "=", "ixVolume"]]
  255. $ref:
  256. - "normalize/ixVolume"
  257. attrs:
  258. - variable: aclEnable
  259. label: Enable ACL
  260. description: Enable ACL for the dataset.
  261. schema:
  262. type: boolean
  263. default: false
  264. - variable: datasetName
  265. label: Dataset Name
  266. description: The name of the dataset to use for storage.
  267. schema:
  268. type: string
  269. required: true
  270. immutable: true
  271. default: "storage_entry"
  272. - variable: aclEntries
  273. label: ACL Configuration
  274. schema:
  275. type: dict
  276. show_if: [["aclEnable", "=", true]]
  277. attrs: []
  278. - variable: smbConfig
  279. label: SMB Share Configuration
  280. description: The configuration for the SMB Share.
  281. schema:
  282. type: dict
  283. show_if: [["type", "=", "smb-pv-pvc"]]
  284. attrs:
  285. - variable: server
  286. label: Server
  287. description: The server for the SMB share.
  288. schema:
  289. type: string
  290. required: true
  291. - variable: share
  292. label: Share
  293. description: The share name for the SMB share.
  294. schema:
  295. type: string
  296. required: true
  297. - variable: domain
  298. label: Domain (Optional)
  299. description: The domain for the SMB share.
  300. schema:
  301. type: string
  302. - variable: username
  303. label: Username
  304. description: The username for the SMB share.
  305. schema:
  306. type: string
  307. required: true
  308. - variable: password
  309. label: Password
  310. description: The password for the SMB share.
  311. schema:
  312. type: string
  313. required: true
  314. private: true
  315. - variable: size
  316. label: Size (in Gi)
  317. description: The size of the volume quota.
  318. schema:
  319. type: int
  320. required: true
  321. min: 1
  322. default: 1
  323. - variable: resources
  324. group: Resources Configuration
  325. label: ""
  326. schema:
  327. type: dict
  328. attrs:
  329. - variable: limits
  330. label: Limits
  331. schema:
  332. type: dict
  333. attrs:
  334. - variable: cpu
  335. label: CPU
  336. description: CPU limit for Bazarr.
  337. schema:
  338. type: string
  339. max_length: 6
  340. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  341. valid_chars_error: |
  342. Valid CPU limit formats are</br>
  343. - Plain Integer - eg. 1</br>
  344. - Float - eg. 0.5</br>
  345. - Milicpu - eg. 500m
  346. default: "4000m"
  347. required: true
  348. - variable: memory
  349. label: Memory
  350. description: Memory limit for Bazarr.
  351. schema:
  352. type: string
  353. max_length: 12
  354. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  355. valid_chars_error: |
  356. Valid Memory limit formats are</br>
  357. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  358. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  359. - Plain Integer in bytes - eg. 1024</br>
  360. - Exponent - eg. 134e6
  361. default: "8Gi"
  362. required: true