questions.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. groups:
  2. - name: MinIO Credentials
  3. description: Configure Credentials for 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: MultiMode Configuration
  11. description: Configure MultiMode for MinIO
  12. - name: MinIO Logging
  13. description: Configure Logging for MinIO
  14. - name: Resources Configuration
  15. description: Configure Resources for MinIO
  16. portals:
  17. web_portal:
  18. protocols:
  19. - "$kubernetes-resource_configmap_portal_protocol"
  20. host:
  21. - "$kubernetes-resource_configmap_portal_host"
  22. ports:
  23. - "$kubernetes-resource_configmap_portal_port"
  24. path: "$kubernetes-resource_configmap_portal_path"
  25. questions:
  26. - variable: minioCreds
  27. label: ""
  28. group: MinIO Credentials
  29. schema:
  30. type: dict
  31. attrs:
  32. - variable: rootUser
  33. label: Root User
  34. description: The access key for the root user.
  35. schema:
  36. type: string
  37. min_length: 5
  38. required: true
  39. - variable: rootPass
  40. label: Root Password
  41. description: The secret key for the root user.
  42. schema:
  43. type: string
  44. required: true
  45. min_length: 8
  46. private: true
  47. - variable: minioRunAs
  48. label: ""
  49. group: User and Group Configuration
  50. schema:
  51. type: dict
  52. attrs:
  53. - variable: user
  54. label: User ID
  55. description: |
  56. The user id that MinIO will run as. <br/>
  57. Can't be changed after initial install.
  58. schema:
  59. type: int
  60. min: 1
  61. default: 568
  62. immutable: true
  63. required: true
  64. - variable: group
  65. label: Group ID
  66. description: |
  67. The group id that MinIO will run as. <br/>
  68. Can't be changed after initial install.
  69. schema:
  70. type: int
  71. min: 1
  72. default: 568
  73. immutable: true
  74. required: true
  75. - variable: minioNetwork
  76. label: ""
  77. group: Network Configuration
  78. schema:
  79. type: dict
  80. attrs:
  81. - variable: apiPort
  82. label: API Port
  83. description: The port for the MinIO API.
  84. schema:
  85. type: int
  86. default: 30000
  87. min: 9000
  88. max: 65535
  89. required: true
  90. - variable: webPort
  91. label: Web Port
  92. description: The port for the MinIO Web UI.
  93. schema:
  94. type: int
  95. default: 30001
  96. min: 9000
  97. max: 65535
  98. required: true
  99. - variable: hostNetwork
  100. label: Host Network
  101. description: |
  102. Bind to the host network. It's recommended to keep this disabled.</br>
  103. schema:
  104. type: boolean
  105. default: false
  106. - variable: certificateID
  107. label: Certificate
  108. description: The certificate to use for MinIO
  109. schema:
  110. type: int
  111. "null": true
  112. $ref:
  113. - "definitions/certificate"
  114. - variable: serverUrl
  115. label: MinIO Server URL (API)
  116. description: |
  117. The URL that console will use to reach API</br>
  118. For example https;//minio1.example.com.</br></br>
  119. This field is optional.
  120. schema:
  121. type: string
  122. - variable: consoleUrl
  123. label: MinIO Browser Redirect URL
  124. description: |
  125. The URL that console will provide as a redirect URL</br>
  126. For example https;//console.example.com.</br></br>
  127. This field is optional.
  128. schema:
  129. type: string
  130. - variable: enableMultiMode
  131. label: Enable Multi Mode (SNMD or MNMD)
  132. group: MultiMode Configuration
  133. description: |
  134. For Single Node Multi Drive (SNMD), the entry will look like this:</br>
  135. Example Entry - /data{1...4}</br></br>
  136. For Multi Node Multi Drive (MNMD), the entry will look like this:</br>
  137. Example Entry - https://minio{1...3}.example.com:30000/data{1...4}</br></br>
  138. Note that each host must use the same port number and the same number of storage items.</br>
  139. In both cases /data{1..4} is the directories to be used for MinIO.
  140. You have to add additional storage for each data entry.
  141. schema:
  142. type: boolean
  143. default: false
  144. show_subquestions_if: true
  145. subquestions:
  146. - variable: minioMultiMode
  147. label: Multi Mode (SNMD or MNMD)
  148. group: MultiMode Configuration
  149. schema:
  150. type: list
  151. default: []
  152. items:
  153. - variable: item
  154. label: ""
  155. schema:
  156. type: string
  157. required: true
  158. - variable: minioStorage
  159. label: ""
  160. group: Storage Configuration
  161. schema:
  162. type: list
  163. default: [{"type": "ixVolume", "mountPath": "/data1", "datasetName": "data1"}]
  164. empty: false
  165. required: true
  166. items:
  167. - variable: item
  168. label: Storage Item
  169. schema:
  170. type: dict
  171. attrs:
  172. - variable: type
  173. label: Type
  174. description: |
  175. ixVolume: Is dataset created automatically by the system.</br>
  176. Host Path: Is a path that already exists on the system.
  177. schema:
  178. type: string
  179. immutable: true
  180. required: true
  181. default: ixVolume
  182. enum:
  183. - value: hostPath
  184. description: Host Path (Path that already exists on the system)
  185. - value: ixVolume
  186. description: ixVolume (Dataset created automatically by the system)
  187. - variable: mountPath
  188. label: Mount Path
  189. description: The path inside the container to mount the storage.
  190. schema:
  191. type: path
  192. required: true
  193. immutable: true
  194. default: /data1
  195. - variable: hostPath
  196. label: Host Path
  197. description: The host path to use for storage.
  198. schema:
  199. type: hostpath
  200. required: true
  201. immutable: true
  202. default: ""
  203. show_if: [["type", "=", "hostPath"]]
  204. - variable: datasetName
  205. label: Dataset Name
  206. description: The name of the dataset to use for storage.
  207. schema:
  208. type: string
  209. show_if: [["type", "=", "ixVolume"]]
  210. required: true
  211. immutable: true
  212. # Can we make this dynamic, so we can hide it?!
  213. default: data1
  214. $ref:
  215. - "normalize/ixVolume"
  216. - variable: minioLogging
  217. label: ""
  218. group: MinIO Logging
  219. schema:
  220. type: dict
  221. attrs:
  222. - variable: anonymous
  223. label: Anonymous
  224. description: Hides sensitive information from logging.
  225. schema:
  226. type: boolean
  227. default: false
  228. - variable: quiet
  229. label: Quiet
  230. description: Disables startup information.
  231. schema:
  232. type: boolean
  233. default: false
  234. - variable: logsearch
  235. label: LogSearch Configuration
  236. schema:
  237. type: dict
  238. attrs:
  239. - variable: enabled
  240. label: Enable LogSearch
  241. schema:
  242. type: boolean
  243. default: false
  244. show_subquestions_if: true
  245. subquestions:
  246. - variable: diskCapacityGB
  247. label: Disk Capacity (GB)
  248. description: The disk capacity for LogSearch.
  249. schema:
  250. type: int
  251. default: 5
  252. required: true
  253. - variable: pgData
  254. label: Postgres Data Storage
  255. description: The path to store Postgres data.
  256. schema:
  257. type: dict
  258. attrs:
  259. - variable: type
  260. label: Type
  261. schema:
  262. type: string
  263. required: true
  264. immutable: true
  265. default: ixVolume
  266. enum:
  267. - value: hostPath
  268. description: Host Path
  269. - value: ixVolume
  270. description: ixVolume
  271. - variable: datasetName
  272. label: Dataset Name
  273. schema:
  274. type: string
  275. show_if: [["type", "=", "ixVolume"]]
  276. required: true
  277. hidden: true
  278. immutable: true
  279. default: postgres-data
  280. $ref:
  281. - "normalize/ixVolume"
  282. - variable: hostPath
  283. label: Host Path
  284. schema:
  285. type: hostpath
  286. show_if: [["type", "=", "hostPath"]]
  287. immutable: true
  288. required: true
  289. - variable: pgBackup
  290. label: Postgres Backup Storage
  291. description: The path to store Postgres backups.
  292. schema:
  293. type: dict
  294. attrs:
  295. - variable: type
  296. label: Type
  297. schema:
  298. type: string
  299. required: true
  300. default: ixVolume
  301. enum:
  302. - value: hostPath
  303. description: Host Path
  304. - value: ixVolume
  305. description: ixVolume
  306. - variable: datasetName
  307. label: Dataset Name
  308. schema:
  309. type: string
  310. show_if: [["type", "=", "ixVolume"]]
  311. required: true
  312. hidden: true
  313. immutable: true
  314. default: postgres-backup
  315. $ref:
  316. - "normalize/ixVolume"
  317. - variable: hostPath
  318. label: Host Path
  319. schema:
  320. type: hostpath
  321. show_if: [["type", "=", "hostPath"]]
  322. required: true
  323. - variable: resources
  324. label: ""
  325. group: Resources Configuration
  326. schema:
  327. type: dict
  328. attrs:
  329. - variable: limits
  330. label: Limits
  331. schema:
  332. type: dict
  333. attrs:
  334. - variable: cpu
  335. label: CPU
  336. description: CPU limit for MinIO.
  337. schema:
  338. type: string
  339. default: 4000m
  340. required: true
  341. - variable: memory
  342. label: Memory
  343. description: Memory limit for MinIO.
  344. schema:
  345. type: string
  346. default: 8Gi
  347. required: true