questions.yaml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
  1. groups:
  2. - name: MinIO Configuration
  3. description: Configure MinIO
  4. - name: User and Group Configuration
  5. description: Configure User and Group for MinIO
  6. - name: Network Configuration
  7. description: Configure Network for MinIO
  8. - name: Storage Configuration
  9. description: Configure Storage for MinIO
  10. - name: Labels Configuration
  11. description: Configure Labels for MinIO
  12. - name: Resources Configuration
  13. description: Configure Resources for MinIO
  14. questions:
  15. - variable: minio
  16. label: ""
  17. group: MinIO Configuration
  18. schema:
  19. type: dict
  20. attrs:
  21. - variable: credentials
  22. label: Credentials
  23. description: The credentials for the root user.
  24. schema:
  25. type: dict
  26. attrs:
  27. - variable: access_key
  28. label: MinIO Root User
  29. description: |
  30. Root user with access to all actions and resources on the deployment. </br>
  31. It doubles as the "access key" for the MinIO deployment.
  32. schema:
  33. type: string
  34. min_length: 5
  35. required: true
  36. private: true
  37. - variable: secret_key
  38. label: MinIO Root Password
  39. description: |
  40. Root password for the MinIO root user.</br>
  41. It doubles as the "secret key" for the MinIO deployment.
  42. schema:
  43. type: string
  44. min_length: 8
  45. required: true
  46. private: true
  47. - variable: multi_mode
  48. label: Multi Mode (SNMD or MNMD) Configuration
  49. description: |
  50. For Single Node Multi Drive (SNMD), the entry will look like this:</br>
  51. Example Entry - /data{1...4}</br></br>
  52. For Multi Node Multi Drive (MNMD), the entry will look like this:</br>
  53. Example Entry - https://minio{1...3}.example.com:30000/data{1...4}</br></br>
  54. Note that each host must use the same port number and the same number of storage items.</br>
  55. In both cases /data{1...4} is the directories to be used for MinIO.
  56. You have to add additional storage for each data entry.
  57. schema:
  58. type: dict
  59. attrs:
  60. - variable: enabled
  61. label: Enabled
  62. description: Enable Multi Mode
  63. schema:
  64. type: boolean
  65. default: false
  66. - variable: entries
  67. label: Multi Mode (SNMD or MNMD) Entries
  68. schema:
  69. type: list
  70. show_if: [["enabled", "=", true]]
  71. default: []
  72. items:
  73. - variable: item
  74. label: ""
  75. schema:
  76. type: string
  77. required: true
  78. - variable: logging
  79. label: ""
  80. description: Logging configuration
  81. schema:
  82. type: dict
  83. attrs:
  84. - variable: quiet
  85. label: Quiet
  86. description: Disables startup information.
  87. schema:
  88. type: boolean
  89. default: false
  90. - variable: anonymous
  91. label: Anonymous
  92. description: Hides sensitive information from logging.
  93. schema:
  94. type: boolean
  95. default: false
  96. - variable: additional_envs
  97. label: Additional Environment Variables
  98. schema:
  99. type: list
  100. default: []
  101. items:
  102. - variable: env
  103. label: Environment Variable
  104. schema:
  105. type: dict
  106. attrs:
  107. - variable: name
  108. label: Name
  109. schema:
  110. type: string
  111. required: true
  112. - variable: value
  113. label: Value
  114. schema:
  115. type: string
  116. - variable: run_as
  117. label: ""
  118. group: User and Group Configuration
  119. schema:
  120. type: dict
  121. attrs:
  122. - variable: user
  123. label: User ID
  124. description: The user id that MinIO will run as.
  125. schema:
  126. type: int
  127. min: 568
  128. default: 568
  129. required: true
  130. - variable: group
  131. label: Group ID
  132. description: The group id that MinIO will run as.
  133. schema:
  134. type: int
  135. min: 568
  136. default: 568
  137. required: true
  138. - variable: network
  139. label: ""
  140. group: Network Configuration
  141. schema:
  142. type: dict
  143. attrs:
  144. - variable: api_port
  145. label: API Port
  146. description: The port for the MinIO API.
  147. schema:
  148. type: dict
  149. attrs:
  150. - variable: bind_mode
  151. label: Port Bind Mode
  152. description: |
  153. The port bind mode.</br>
  154. - Publish: The port will be published on the host for external access.</br>
  155. - Expose: The port will be exposed for inter-container communication.</br>
  156. - None: The port will not be exposed or published.</br>
  157. Note: If the Dockerfile defines an EXPOSE directive,
  158. the port will still be exposed for inter-container communication regardless of this setting.
  159. schema:
  160. type: string
  161. default: "published"
  162. enum:
  163. - value: "published"
  164. description: Publish port on the host for external access
  165. - value: "exposed"
  166. description: Expose port for inter-container communication
  167. - value: ""
  168. description: None
  169. - variable: port_number
  170. label: Port Number
  171. schema:
  172. type: int
  173. default: 30000
  174. min: 1
  175. max: 65535
  176. required: true
  177. - variable: host_ips
  178. label: Host IPs
  179. description: IPs on the host to bind this port
  180. schema:
  181. type: list
  182. show_if: [["bind_mode", "=", "published"]]
  183. default: []
  184. items:
  185. - variable: host_ip
  186. label: Host IP
  187. schema:
  188. type: string
  189. required: true
  190. $ref:
  191. - definitions/node_bind_ip
  192. - variable: console_port
  193. label: Console Port (Web UI)
  194. description: The port for the MinIO Web UI.
  195. schema:
  196. type: dict
  197. attrs:
  198. - variable: bind_mode
  199. label: Port Bind Mode
  200. description: |
  201. The port bind mode.</br>
  202. - Publish: The port will be published on the host for external access.</br>
  203. - Expose: The port will be exposed for inter-container communication.</br>
  204. - None: The port will not be exposed or published.</br>
  205. Note: If the Dockerfile defines an EXPOSE directive,
  206. the port will still be exposed for inter-container communication regardless of this setting.
  207. schema:
  208. type: string
  209. default: "published"
  210. enum:
  211. - value: "published"
  212. description: Publish port on the host for external access
  213. - value: "exposed"
  214. description: Expose port for inter-container communication
  215. - value: ""
  216. description: None
  217. - variable: port_number
  218. label: Port Number
  219. schema:
  220. type: int
  221. default: 30001
  222. min: 1
  223. max: 65535
  224. required: true
  225. - variable: host_ips
  226. label: Host IPs
  227. description: IPs on the host to bind this port
  228. schema:
  229. type: list
  230. show_if: [["bind_mode", "=", "published"]]
  231. default: []
  232. items:
  233. - variable: host_ip
  234. label: Host IP
  235. schema:
  236. type: string
  237. required: true
  238. $ref:
  239. - definitions/node_bind_ip
  240. - variable: server_url
  241. label: Server URL
  242. description: |
  243. The URL that console will use to reach API</br>
  244. Usually the port is needed, unless you have a reverse proxy in front of MinIO.</br>
  245. For example: </br>
  246. - https://minio1.example.com</br>
  247. - https://minio1.example.com:30000
  248. schema:
  249. type: uri
  250. required: true
  251. - variable: console_url
  252. label: Console URL
  253. description: |
  254. The URL that console will provide as a redirect URL</br>
  255. Usually the port is needed, unless you have a reverse proxy in front of MinIO.</br>
  256. For example: </br>
  257. - https://console.example.com.</br>
  258. - https://minio1.example.com:30001
  259. schema:
  260. type: uri
  261. required: true
  262. - variable: host_network
  263. label: Host Network
  264. description: |
  265. Bind to the host network. It's recommended to keep this disabled.
  266. schema:
  267. type: boolean
  268. default: false
  269. - variable: certificate_id
  270. label: Certificate
  271. description: The certificate to use for MinIO
  272. schema:
  273. type: int
  274. "null": true
  275. $ref:
  276. - "definitions/certificate"
  277. - variable: storage
  278. label: ""
  279. group: Storage Configuration
  280. schema:
  281. type: dict
  282. attrs:
  283. - variable: data_dirs
  284. label: Data Directories
  285. schema:
  286. type: list
  287. default:
  288. - type: ix_volume
  289. mount_path: /data1
  290. ix_volume_config:
  291. dataset_name: data1
  292. items:
  293. - variable: item
  294. label: ""
  295. schema:
  296. type: dict
  297. attrs:
  298. - variable: type
  299. label: Type
  300. description: |
  301. ixVolume: Is dataset created automatically by the system.</br>
  302. Host Path: Is a path that already exists on the system.
  303. schema:
  304. type: string
  305. required: true
  306. default: host_path
  307. enum:
  308. - value: host_path
  309. description: Host Path (Path that already exists on the system)
  310. - value: ix_volume
  311. description: ixVolume (Dataset created automatically by the system)
  312. - variable: mount_path
  313. label: Mount Path
  314. description: The path inside the container to mount the storage.
  315. schema:
  316. type: path
  317. required: true
  318. default: /data1
  319. - variable: host_path_config
  320. label: Host Path Configuration
  321. schema:
  322. type: dict
  323. show_if: [["type", "=", "host_path"]]
  324. attrs:
  325. - variable: acl_enable
  326. label: Enable ACL
  327. description: Enable ACL for the storage.
  328. schema:
  329. type: boolean
  330. default: false
  331. - variable: acl
  332. label: ACL Configuration
  333. schema:
  334. type: dict
  335. show_if: [["acl_enable", "=", true]]
  336. attrs: []
  337. $ref:
  338. - "normalize/acl"
  339. - variable: path
  340. label: Host Path
  341. description: The host path to use for storage.
  342. schema:
  343. type: hostpath
  344. show_if: [["acl_enable", "=", false]]
  345. required: true
  346. - variable: ix_volume_config
  347. label: ixVolume Configuration
  348. description: The configuration for the ixVolume dataset.
  349. schema:
  350. type: dict
  351. show_if: [["type", "=", "ix_volume"]]
  352. $ref:
  353. - "normalize/ix_volume"
  354. attrs:
  355. - variable: acl_enable
  356. label: Enable ACL
  357. description: Enable ACL for the storage.
  358. schema:
  359. type: boolean
  360. default: false
  361. - variable: dataset_name
  362. label: Dataset Name
  363. description: The name of the dataset to use for storage.
  364. schema:
  365. type: string
  366. required: true
  367. default: "data1"
  368. - variable: acl_entries
  369. label: ACL Configuration
  370. schema:
  371. type: dict
  372. show_if: [["acl_enable", "=", true]]
  373. attrs: []
  374. $ref:
  375. - "normalize/acl"
  376. - variable: labels
  377. label: ""
  378. group: Labels Configuration
  379. schema:
  380. type: list
  381. default: []
  382. items:
  383. - variable: label
  384. label: Label
  385. schema:
  386. type: dict
  387. attrs:
  388. - variable: key
  389. label: Key
  390. schema:
  391. type: string
  392. required: true
  393. - variable: value
  394. label: Value
  395. schema:
  396. type: string
  397. required: true
  398. - variable: containers
  399. label: Containers
  400. description: Containers where the label should be applied
  401. schema:
  402. type: list
  403. items:
  404. - variable: container
  405. label: Container
  406. schema:
  407. type: string
  408. required: true
  409. enum:
  410. - value: minio
  411. description: minio
  412. - variable: resources
  413. label: ""
  414. group: Resources Configuration
  415. schema:
  416. type: dict
  417. attrs:
  418. - variable: limits
  419. label: Limits
  420. schema:
  421. type: dict
  422. attrs:
  423. - variable: cpus
  424. label: CPUs
  425. description: CPUs limit for MinIO.
  426. schema:
  427. type: int
  428. default: 2
  429. required: true
  430. - variable: memory
  431. label: Memory (in MB)
  432. description: Memory limit for MinIO.
  433. schema:
  434. type: int
  435. default: 4096
  436. required: true