questions.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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: []
  164. items:
  165. - variable: item
  166. label: Storage Item
  167. schema:
  168. type: dict
  169. attrs:
  170. - variable: type
  171. label: Type
  172. schema:
  173. type: string
  174. immutable: true
  175. required: true
  176. default: ixVolume
  177. enum:
  178. - value: hostPath
  179. description: Host Path
  180. - value: ixVolume
  181. description: ixVolume
  182. - variable: mountPath
  183. label: Mount Path
  184. description: The path inside the container to mount the storage.
  185. schema:
  186. type: path
  187. required: true
  188. immutable: true
  189. default: /data1
  190. - variable: hostPath
  191. label: Host Path
  192. description: The host path to use for storage.
  193. schema:
  194. type: hostpath
  195. required: true
  196. immutable: true
  197. default: ""
  198. show_if: [["type", "=", "hostPath"]]
  199. - variable: datasetName
  200. label: Dataset Name
  201. description: The name of the dataset to use for storage.
  202. schema:
  203. type: string
  204. show_if: [["type", "=", "ixVolume"]]
  205. required: true
  206. immutable: true
  207. # Can we make this dynamic, so we can hide it?!
  208. default: data1
  209. $ref:
  210. - "normalize/ixVolume"
  211. - variable: minioLogging
  212. label: ""
  213. group: MinIO Logging
  214. schema:
  215. type: dict
  216. attrs:
  217. - variable: anonymous
  218. label: Anonymous
  219. description: Hides sensitive information from logging.
  220. schema:
  221. type: boolean
  222. default: false
  223. - variable: quiet
  224. label: Quiet
  225. description: Disables startup information.
  226. schema:
  227. type: boolean
  228. default: false
  229. - variable: logsearch
  230. label: LogSearch Configuration
  231. schema:
  232. type: dict
  233. attrs:
  234. - variable: enabled
  235. label: Enable LogSearch
  236. schema:
  237. type: boolean
  238. default: false
  239. show_subquestions_if: true
  240. subquestions:
  241. - variable: diskCapacityGB
  242. label: Disk Capacity (GB)
  243. description: The disk capacity for LogSearch.
  244. schema:
  245. type: int
  246. default: 5
  247. required: true
  248. - variable: pgData
  249. label: Postgres Data Storage
  250. description: The path to store Postgres data.
  251. schema:
  252. type: dict
  253. attrs:
  254. - variable: type
  255. label: Type
  256. schema:
  257. type: string
  258. required: true
  259. immutable: true
  260. default: ixVolume
  261. enum:
  262. - value: hostPath
  263. description: Host Path
  264. - value: ixVolume
  265. description: ixVolume
  266. - variable: datasetName
  267. label: Dataset Name
  268. schema:
  269. type: string
  270. show_if: [["type", "=", "ixVolume"]]
  271. required: true
  272. hidden: true
  273. immutable: true
  274. default: postgres-data
  275. $ref:
  276. - "normalize/ixVolume"
  277. - variable: hostPath
  278. label: Host Path
  279. schema:
  280. type: hostpath
  281. show_if: [["type", "=", "hostPath"]]
  282. immutable: true
  283. required: true
  284. - variable: pgBackup
  285. label: Postgres Backup Storage
  286. description: The path to store Postgres backups.
  287. schema:
  288. type: dict
  289. attrs:
  290. - variable: type
  291. label: Type
  292. schema:
  293. type: string
  294. required: true
  295. default: ixVolume
  296. enum:
  297. - value: hostPath
  298. description: Host Path
  299. - value: ixVolume
  300. description: ixVolume
  301. - variable: datasetName
  302. label: Dataset Name
  303. schema:
  304. type: string
  305. show_if: [["type", "=", "ixVolume"]]
  306. required: true
  307. hidden: true
  308. immutable: true
  309. default: postgres-backup
  310. $ref:
  311. - "normalize/ixVolume"
  312. - variable: hostPath
  313. label: Host Path
  314. schema:
  315. type: hostpath
  316. show_if: [["type", "=", "hostPath"]]
  317. required: true
  318. - variable: resources
  319. label: ""
  320. group: Resources Configuration
  321. schema:
  322. type: dict
  323. attrs:
  324. - variable: limits
  325. label: Limits
  326. schema:
  327. type: dict
  328. attrs:
  329. - variable: cpu
  330. label: CPU
  331. description: CPU limit for MinIO.
  332. schema:
  333. type: string
  334. default: 4000m
  335. required: true
  336. - variable: memory
  337. label: Memory
  338. description: Memory limit for MinIO.
  339. schema:
  340. type: string
  341. default: 8Gi
  342. required: true