questions.yaml 14 KB

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