questions.yaml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. groups:
  2. - name: CloudBeaver Configuration
  3. description: Configure CloudBeaver
  4. - name: Network Configuration
  5. description: Configure Network for CloudBeaver
  6. - name: Storage Configuration
  7. description: Configure Storage for CloudBeaver
  8. - name: Labels Configuration
  9. description: Configure Labels for CloudBeaver
  10. - name: Resources Configuration
  11. description: Configure Resources for CloudBeaver
  12. questions:
  13. - variable: TZ
  14. group: CloudBeaver Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: cloudbeaver
  23. label: ""
  24. group: CloudBeaver Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: additional_envs
  29. label: Additional Environment Variables
  30. schema:
  31. type: list
  32. default: []
  33. items:
  34. - variable: env
  35. label: Environment Variable
  36. schema:
  37. type: dict
  38. attrs:
  39. - variable: name
  40. label: Name
  41. schema:
  42. type: string
  43. required: true
  44. - variable: value
  45. label: Value
  46. schema:
  47. type: string
  48. - variable: network
  49. label: ""
  50. group: Network Configuration
  51. schema:
  52. type: dict
  53. attrs:
  54. - variable: web_port
  55. label: WebUI Port
  56. schema:
  57. type: dict
  58. attrs:
  59. - variable: bind_mode
  60. label: Port Bind Mode
  61. description: |
  62. The port bind mode.</br>
  63. - Publish: The port will be published on the host for external access.</br>
  64. - Expose: The port will be exposed for inter-container communication.</br>
  65. - None: The port will not be exposed or published.</br>
  66. Note: If the Dockerfile defines an EXPOSE directive,
  67. the port will still be exposed for inter-container communication regardless of this setting.
  68. schema:
  69. type: string
  70. default: "published"
  71. enum:
  72. - value: "published"
  73. description: Publish port on the host for external access
  74. - value: "exposed"
  75. description: Expose port for inter-container communication
  76. - value: ""
  77. description: None
  78. - variable: port_number
  79. label: Port Number
  80. schema:
  81. type: int
  82. default: 30225
  83. min: 1
  84. max: 65535
  85. required: true
  86. - variable: host_ips
  87. label: Host IPs
  88. description: IPs on the host to bind this port
  89. schema:
  90. type: list
  91. show_if: [["bind_mode", "=", "published"]]
  92. default: []
  93. items:
  94. - variable: host_ip
  95. label: Host IP
  96. schema:
  97. type: string
  98. required: true
  99. $ref:
  100. - definitions/node_bind_ip
  101. - variable: host_network
  102. label: Host Network
  103. description: |
  104. Bind to the host network. It's recommended to keep this disabled.
  105. schema:
  106. type: boolean
  107. default: false
  108. - variable: storage
  109. label: ""
  110. group: Storage Configuration
  111. schema:
  112. type: dict
  113. attrs:
  114. - variable: config
  115. label: CloudBeaver Config Storage
  116. description: The path to store CloudBeaver Config.
  117. schema:
  118. type: dict
  119. attrs:
  120. - variable: type
  121. label: Type
  122. description: |
  123. ixVolume: Is dataset created automatically by the system.</br>
  124. Host Path: Is a path that already exists on the system.
  125. schema:
  126. type: string
  127. required: true
  128. default: "ix_volume"
  129. enum:
  130. - value: "host_path"
  131. description: Host Path (Path that already exists on the system)
  132. - value: "ix_volume"
  133. description: ixVolume (Dataset created automatically by the system)
  134. - variable: ix_volume_config
  135. label: ixVolume Configuration
  136. description: The configuration for the ixVolume dataset.
  137. schema:
  138. type: dict
  139. show_if: [["type", "=", "ix_volume"]]
  140. $ref:
  141. - "normalize/ix_volume"
  142. attrs:
  143. - variable: acl_enable
  144. label: Enable ACL
  145. description: Enable ACL for the storage.
  146. schema:
  147. type: boolean
  148. default: false
  149. - variable: dataset_name
  150. label: Dataset Name
  151. description: The name of the dataset to use for storage.
  152. schema:
  153. type: string
  154. required: true
  155. hidden: true
  156. default: "config"
  157. - variable: acl_entries
  158. label: ACL Configuration
  159. schema:
  160. type: dict
  161. show_if: [["acl_enable", "=", true]]
  162. attrs: []
  163. - variable: host_path_config
  164. label: Host Path Configuration
  165. schema:
  166. type: dict
  167. show_if: [["type", "=", "host_path"]]
  168. attrs:
  169. - variable: acl_enable
  170. label: Enable ACL
  171. description: Enable ACL for the storage.
  172. schema:
  173. type: boolean
  174. default: false
  175. - variable: acl
  176. label: ACL Configuration
  177. schema:
  178. type: dict
  179. show_if: [["acl_enable", "=", true]]
  180. attrs: []
  181. $ref:
  182. - "normalize/acl"
  183. - variable: path
  184. label: Host Path
  185. description: The host path to use for storage.
  186. schema:
  187. type: hostpath
  188. show_if: [["acl_enable", "=", false]]
  189. required: true
  190. - variable: additional_storage
  191. label: Additional Storage
  192. schema:
  193. type: list
  194. default: []
  195. items:
  196. - variable: storageEntry
  197. label: Storage Entry
  198. schema:
  199. type: dict
  200. attrs:
  201. - variable: type
  202. label: Type
  203. description: |
  204. ixVolume: Is dataset created automatically by the system.</br>
  205. Host Path: Is a path that already exists on the system.</br>
  206. SMB Share: Is a SMB share that is mounted to as a volume.
  207. schema:
  208. type: string
  209. required: true
  210. default: "ix_volume"
  211. enum:
  212. - value: "host_path"
  213. description: Host Path (Path that already exists on the system)
  214. - value: "ix_volume"
  215. description: ixVolume (Dataset created automatically by the system)
  216. - value: "cifs"
  217. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  218. - variable: read_only
  219. label: Read Only
  220. description: Mount the volume as read only.
  221. schema:
  222. type: boolean
  223. default: false
  224. - variable: mount_path
  225. label: Mount Path
  226. description: The path inside the container to mount the storage.
  227. schema:
  228. type: path
  229. required: true
  230. - variable: host_path_config
  231. label: Host Path Configuration
  232. schema:
  233. type: dict
  234. show_if: [["type", "=", "host_path"]]
  235. attrs:
  236. - variable: acl_enable
  237. label: Enable ACL
  238. description: Enable ACL for the storage.
  239. schema:
  240. type: boolean
  241. default: false
  242. - variable: acl
  243. label: ACL Configuration
  244. schema:
  245. type: dict
  246. show_if: [["acl_enable", "=", true]]
  247. attrs: []
  248. $ref:
  249. - "normalize/acl"
  250. - variable: path
  251. label: Host Path
  252. description: The host path to use for storage.
  253. schema:
  254. type: hostpath
  255. show_if: [["acl_enable", "=", false]]
  256. required: true
  257. - variable: ix_volume_config
  258. label: ixVolume Configuration
  259. description: The configuration for the ixVolume dataset.
  260. schema:
  261. type: dict
  262. show_if: [["type", "=", "ix_volume"]]
  263. $ref:
  264. - "normalize/ix_volume"
  265. attrs:
  266. - variable: acl_enable
  267. label: Enable ACL
  268. description: Enable ACL for the storage.
  269. schema:
  270. type: boolean
  271. default: false
  272. - variable: dataset_name
  273. label: Dataset Name
  274. description: The name of the dataset to use for storage.
  275. schema:
  276. type: string
  277. required: true
  278. default: "storage_entry"
  279. - variable: acl_entries
  280. label: ACL Configuration
  281. schema:
  282. type: dict
  283. show_if: [["acl_enable", "=", true]]
  284. attrs: []
  285. $ref:
  286. - "normalize/acl"
  287. - variable: cifs_config
  288. label: SMB Configuration
  289. description: The configuration for the SMB dataset.
  290. schema:
  291. type: dict
  292. show_if: [["type", "=", "cifs"]]
  293. attrs:
  294. - variable: server
  295. label: Server
  296. description: The server to mount the SMB share.
  297. schema:
  298. type: string
  299. required: true
  300. - variable: path
  301. label: Path
  302. description: The path to mount the SMB share.
  303. schema:
  304. type: string
  305. required: true
  306. - variable: username
  307. label: Username
  308. description: The username to use for the SMB share.
  309. schema:
  310. type: string
  311. required: true
  312. - variable: password
  313. label: Password
  314. description: The password to use for the SMB share.
  315. schema:
  316. type: string
  317. required: true
  318. private: true
  319. - variable: domain
  320. label: Domain
  321. description: The domain to use for the SMB share.
  322. schema:
  323. type: string
  324. - variable: labels
  325. label: ""
  326. group: Labels Configuration
  327. schema:
  328. type: list
  329. default: []
  330. items:
  331. - variable: label
  332. label: Label
  333. schema:
  334. type: dict
  335. attrs:
  336. - variable: key
  337. label: Key
  338. schema:
  339. type: string
  340. required: true
  341. - variable: value
  342. label: Value
  343. schema:
  344. type: string
  345. required: true
  346. - variable: containers
  347. label: Containers
  348. description: Containers where the label should be applied
  349. schema:
  350. type: list
  351. items:
  352. - variable: container
  353. label: Container
  354. schema:
  355. type: string
  356. required: true
  357. enum:
  358. - value: cloudbeaver
  359. description: cloudbeaver
  360. - variable: resources
  361. label: ""
  362. group: Resources Configuration
  363. schema:
  364. type: dict
  365. attrs:
  366. - variable: limits
  367. label: Limits
  368. schema:
  369. type: dict
  370. attrs:
  371. - variable: cpus
  372. label: CPUs
  373. description: CPUs limit for CloudBeaver.
  374. schema:
  375. type: int
  376. default: 2
  377. required: true
  378. - variable: memory
  379. label: Memory (in MB)
  380. description: Memory limit for CloudBeaver.
  381. schema:
  382. type: int
  383. default: 4096
  384. required: true