questions.yaml 15 KB

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