questions.yaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  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: root_user
  22. label: MinIO Root User
  23. description: |
  24. Root user with access to all actions and resources on the deployment. </br>
  25. It doubles as the "access key" for the MinIO deployment.
  26. schema:
  27. type: string
  28. default: ""
  29. private: true
  30. required: true
  31. min_length: 5
  32. max_length: 20
  33. - variable: root_password
  34. label: MinIO Root Password
  35. description: |
  36. Root password for the MinIO root user.</br>
  37. It doubles as the "secret key" for the MinIO deployment.
  38. schema:
  39. type: string
  40. default: ""
  41. private: true
  42. required: true
  43. min_length: 8
  44. max_length: 40
  45. - variable: extra_args
  46. label: Extra Arguments
  47. description: Extra arguments for Minio.
  48. schema:
  49. type: list
  50. default: []
  51. items:
  52. - variable: arg
  53. label: Argument
  54. schema:
  55. type: string
  56. required: true
  57. - variable: additional_envs
  58. label: Additional Environment Variables
  59. description: Configure additional environment variables for MinIO.
  60. schema:
  61. type: list
  62. default: []
  63. items:
  64. - variable: env
  65. label: Environment Variable
  66. schema:
  67. type: dict
  68. attrs:
  69. - variable: name
  70. label: Name
  71. schema:
  72. type: string
  73. required: true
  74. - variable: value
  75. label: Value
  76. schema:
  77. type: string
  78. required: true
  79. - variable: run_as
  80. label: ""
  81. group: User and Group Configuration
  82. schema:
  83. type: dict
  84. attrs:
  85. - variable: user
  86. label: User ID
  87. description: The user id that MinIO files will be owned by.
  88. schema:
  89. type: int
  90. min: 2
  91. default: 473
  92. required: true
  93. - variable: group
  94. label: Group ID
  95. description: The group id that MinIO files will be owned by.
  96. schema:
  97. type: int
  98. min: 2
  99. default: 473
  100. required: true
  101. - variable: network
  102. label: ""
  103. group: Network Configuration
  104. schema:
  105. type: dict
  106. attrs:
  107. - variable: api_port
  108. label: API Port
  109. description: The port for the MinIO API.
  110. schema:
  111. type: int
  112. default: 9000
  113. required: true
  114. $ref:
  115. - definitions/port
  116. - variable: console_port
  117. label: Console Port (Web UI)
  118. description: The port for the MinIO Web UI.
  119. schema:
  120. type: int
  121. default: 9002
  122. required: true
  123. $ref:
  124. - definitions/port
  125. - variable: domain
  126. label: Domain (Optional)
  127. description: |
  128. Depending on your setup/environment, you may need to leave this blank.
  129. Check MinIO documentation for more information.
  130. schema:
  131. type: string
  132. - variable: certificate_id
  133. label: Certificate
  134. description: The certificate to use for MinIO
  135. schema:
  136. type: int
  137. "null": true
  138. $ref:
  139. - "definitions/certificate"
  140. - variable: dns_opts
  141. label: DNS Options
  142. description: |
  143. DNS options for the container.</br>
  144. Format: key:value</br>
  145. Example: attempts:3
  146. schema:
  147. type: list
  148. default: []
  149. items:
  150. - variable: option
  151. label: Option
  152. schema:
  153. type: string
  154. required: true
  155. - variable: storage
  156. label: ""
  157. group: Storage Configuration
  158. schema:
  159. type: dict
  160. attrs:
  161. - variable: distributed_mode
  162. label: Enable Distributed Mode
  163. schema:
  164. type: boolean
  165. default: false
  166. - variable: distributed_uris
  167. label: Distributed Minio Instance URI(s)
  168. schema:
  169. type: list
  170. show_if: [["distributed_mode", "=", true]]
  171. required: true
  172. default: []
  173. items:
  174. - variable: uri
  175. label: Distributed Minio Instance URI
  176. schema:
  177. type: string
  178. required: true
  179. - variable: export
  180. label: MinIO Export Storage (Data)
  181. description: The path to store MinIO Export (Data).
  182. schema:
  183. type: dict
  184. show_if: [["distributed_mode", "=", false]]
  185. attrs:
  186. - variable: type
  187. label: Type
  188. description: |
  189. ixVolume: Is dataset created automatically by the system.</br>
  190. Host Path: Is a path that already exists on the system.
  191. schema:
  192. type: string
  193. required: true
  194. immutable: true
  195. default: "ix_volume"
  196. enum:
  197. - value: "host_path"
  198. description: Host Path (Path that already exists on the system)
  199. - value: "ix_volume"
  200. description: ixVolume (Dataset created automatically by the system)
  201. - variable: mount_path
  202. label: Mount Path
  203. description: The path inside the container to mount the storage.
  204. schema:
  205. type: path
  206. required: true
  207. default: /export
  208. - variable: ix_volume_config
  209. label: ixVolume Configuration
  210. description: The configuration for the ixVolume dataset.
  211. schema:
  212. type: dict
  213. show_if: [["type", "=", "ix_volume"]]
  214. $ref:
  215. - "normalize/ix_volume"
  216. attrs:
  217. - variable: acl_enable
  218. label: Enable ACL
  219. description: Enable ACL for the storage.
  220. schema:
  221. type: boolean
  222. default: false
  223. - variable: dataset_name
  224. label: Dataset Name
  225. description: The name of the dataset to use for storage.
  226. schema:
  227. type: string
  228. required: true
  229. immutable: true
  230. hidden: true
  231. default: "export"
  232. - variable: acl_entries
  233. label: ACL Configuration
  234. schema:
  235. type: dict
  236. show_if: [["acl_enable", "=", true]]
  237. attrs: []
  238. - variable: host_path_config
  239. label: Host Path Configuration
  240. schema:
  241. type: dict
  242. show_if: [["type", "=", "host_path"]]
  243. attrs:
  244. - variable: acl_enable
  245. label: Enable ACL
  246. description: Enable ACL for the storage.
  247. schema:
  248. type: boolean
  249. default: false
  250. - variable: acl
  251. label: ACL Configuration
  252. schema:
  253. type: dict
  254. show_if: [["acl_enable", "=", true]]
  255. attrs: []
  256. $ref:
  257. - "normalize/acl"
  258. - variable: path
  259. label: Host Path
  260. description: The host path to use for storage.
  261. schema:
  262. type: hostpath
  263. show_if: [["acl_enable", "=", false]]
  264. required: true
  265. - variable: additional_storage
  266. label: Additional Storage
  267. description: Additional storage for MinIO.
  268. schema:
  269. type: list
  270. default: []
  271. items:
  272. - variable: storageEntry
  273. label: Storage Entry
  274. schema:
  275. type: dict
  276. attrs:
  277. - variable: type
  278. label: Type
  279. description: |
  280. ixVolume: Is dataset created automatically by the system.</br>
  281. Host Path: Is a path that already exists on the system.</br>
  282. SMB Share: Is a SMB share that is mounted to as a volume.
  283. schema:
  284. type: string
  285. required: true
  286. default: "ix_volume"
  287. immutable: true
  288. enum:
  289. - value: "host_path"
  290. description: Host Path (Path that already exists on the system)
  291. - value: "ix_volume"
  292. description: ixVolume (Dataset created automatically by the system)
  293. - value: "cifs"
  294. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  295. - variable: read_only
  296. label: Read Only
  297. description: Mount the volume as read only.
  298. schema:
  299. type: boolean
  300. default: false
  301. - variable: mount_path
  302. label: Mount Path
  303. description: The path inside the container to mount the storage.
  304. schema:
  305. type: path
  306. required: true
  307. - variable: host_path_config
  308. label: Host Path Configuration
  309. schema:
  310. type: dict
  311. show_if: [["type", "=", "host_path"]]
  312. attrs:
  313. - variable: acl_enable
  314. label: Enable ACL
  315. description: Enable ACL for the storage.
  316. schema:
  317. type: boolean
  318. default: false
  319. - variable: acl
  320. label: ACL Configuration
  321. schema:
  322. type: dict
  323. show_if: [["acl_enable", "=", true]]
  324. attrs: []
  325. $ref:
  326. - "normalize/acl"
  327. - variable: path
  328. label: Host Path
  329. description: The host path to use for storage.
  330. schema:
  331. type: hostpath
  332. show_if: [["acl_enable", "=", false]]
  333. required: true
  334. - variable: ix_volume_config
  335. label: ixVolume Configuration
  336. description: The configuration for the ixVolume dataset.
  337. schema:
  338. type: dict
  339. show_if: [["type", "=", "ix_volume"]]
  340. $ref:
  341. - "normalize/ix_volume"
  342. attrs:
  343. - variable: acl_enable
  344. label: Enable ACL
  345. description: Enable ACL for the storage.
  346. schema:
  347. type: boolean
  348. default: false
  349. - variable: dataset_name
  350. label: Dataset Name
  351. description: The name of the dataset to use for storage.
  352. schema:
  353. type: string
  354. required: true
  355. immutable: true
  356. default: "storage_entry"
  357. - variable: acl_entries
  358. label: ACL Configuration
  359. schema:
  360. type: dict
  361. show_if: [["acl_enable", "=", true]]
  362. attrs: []
  363. $ref:
  364. - "normalize/acl"
  365. - variable: cifs_config
  366. label: SMB Configuration
  367. description: The configuration for the SMB dataset.
  368. schema:
  369. type: dict
  370. show_if: [["type", "=", "cifs"]]
  371. attrs:
  372. - variable: server
  373. label: Server
  374. description: The server to mount the SMB share.
  375. schema:
  376. type: string
  377. required: true
  378. - variable: path
  379. label: Path
  380. description: The path to mount the SMB share.
  381. schema:
  382. type: string
  383. required: true
  384. - variable: username
  385. label: Username
  386. description: The username to use for the SMB share.
  387. schema:
  388. type: string
  389. required: true
  390. - variable: password
  391. label: Password
  392. description: The password to use for the SMB share.
  393. schema:
  394. type: string
  395. required: true
  396. private: true
  397. - variable: domain
  398. label: Domain
  399. description: The domain to use for the SMB share.
  400. schema:
  401. type: string
  402. - variable: labels
  403. label: ""
  404. group: Labels Configuration
  405. schema:
  406. type: list
  407. default: []
  408. items:
  409. - variable: label
  410. label: Label
  411. schema:
  412. type: dict
  413. attrs:
  414. - variable: key
  415. label: Key
  416. schema:
  417. type: string
  418. required: true
  419. - variable: value
  420. label: Value
  421. schema:
  422. type: string
  423. required: true
  424. - variable: containers
  425. label: Containers
  426. description: Containers where the label should be applied
  427. schema:
  428. type: list
  429. items:
  430. - variable: container
  431. label: Container
  432. schema:
  433. type: string
  434. required: true
  435. enum:
  436. - value: minio
  437. description: minio
  438. - variable: resources
  439. label: ""
  440. group: Resources Configuration
  441. schema:
  442. type: dict
  443. attrs:
  444. - variable: limits
  445. label: Limits
  446. schema:
  447. type: dict
  448. attrs:
  449. - variable: cpus
  450. label: CPUs
  451. description: CPUs limit for MinIO.
  452. schema:
  453. type: int
  454. default: 2
  455. required: true
  456. - variable: memory
  457. label: Memory (in MB)
  458. description: Memory limit for MinIO.
  459. schema:
  460. type: int
  461. default: 4096
  462. required: true