questions.yaml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512
  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: 568
  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: 568
  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: true
  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. schema:
  120. type: string
  121. required: true
  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. schema:
  128. type: string
  129. required: true
  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: ixVolumeConfig
  196. label: ixVolume Configuration
  197. description: The configuration for the ixVolume dataset.
  198. schema:
  199. type: dict
  200. show_if: [["type", "=", "ixVolume"]]
  201. $ref:
  202. - "normalize/ixVolume"
  203. attrs:
  204. - variable: aclEnable
  205. label: Enable ACL
  206. description: Enable ACL for the dataset.
  207. schema:
  208. type: boolean
  209. # Hide ACL for now
  210. hidden: true
  211. default: false
  212. - variable: datasetName
  213. label: Dataset Name
  214. description: The name of the dataset to use for storage.
  215. schema:
  216. type: string
  217. required: true
  218. immutable: true
  219. default: "data1"
  220. - variable: aclEntries
  221. label: ACL Configuration
  222. schema:
  223. type: dict
  224. show_if: [["aclEnable", "=", true]]
  225. attrs: []
  226. - variable: hostPathConfig
  227. label: Host Path Configuration
  228. schema:
  229. type: dict
  230. show_if: [["type", "=", "hostPath"]]
  231. attrs:
  232. - variable: aclEnable
  233. label: Enable ACL
  234. description: Enable ACL for the dataset.
  235. schema:
  236. type: boolean
  237. # Hide ACL for now
  238. hidden: true
  239. default: false
  240. - variable: acl
  241. label: ACL Configuration
  242. schema:
  243. type: dict
  244. show_if: [["aclEnable", "=", true]]
  245. attrs: []
  246. $ref:
  247. - "normalize/acl"
  248. - variable: hostPath
  249. label: Host Path
  250. description: The host path to use for storage.
  251. schema:
  252. type: hostpath
  253. show_if: [["aclEnable", "=", false]]
  254. required: true
  255. - variable: minioLogging
  256. label: ""
  257. group: MinIO Logging
  258. schema:
  259. type: dict
  260. attrs:
  261. - variable: anonymous
  262. label: Anonymous
  263. description: Hides sensitive information from logging.
  264. schema:
  265. type: boolean
  266. default: false
  267. - variable: quiet
  268. label: Quiet
  269. description: Disables startup information.
  270. schema:
  271. type: boolean
  272. default: false
  273. - variable: logsearch
  274. label: LogSearch Configuration
  275. schema:
  276. type: dict
  277. attrs:
  278. - variable: enabled
  279. label: Enable LogSearch
  280. schema:
  281. type: boolean
  282. default: false
  283. show_subquestions_if: true
  284. subquestions:
  285. - variable: diskCapacityGB
  286. label: Disk Capacity (GB)
  287. description: The disk capacity for LogSearch.
  288. schema:
  289. type: int
  290. default: 5
  291. required: true
  292. - variable: pgData
  293. label: Postgres Data Storage
  294. description: The path to store Postgres data.
  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. immutable: true
  307. default: ixVolume
  308. enum:
  309. - value: hostPath
  310. description: Host Path (Path that already exists on the system)
  311. - value: ixVolume
  312. description: ixVolume (Dataset created automatically by the system)
  313. - variable: ixVolumeConfig
  314. label: ixVolume Configuration
  315. description: The configuration for the ixVolume dataset.
  316. schema:
  317. type: dict
  318. # Nothing to show for the user
  319. hidden: true
  320. show_if: [["type", "=", "ixVolume"]]
  321. $ref:
  322. - "normalize/ixVolume"
  323. attrs:
  324. - variable: aclEnable
  325. label: Enable ACL
  326. description: Enable ACL for the dataset.
  327. schema:
  328. type: boolean
  329. # Postgres does a CHMOD at startup
  330. # Which fails with ACL
  331. hidden: true
  332. default: false
  333. - variable: datasetName
  334. label: Dataset Name
  335. description: The name of the dataset to use for storage.
  336. schema:
  337. type: string
  338. required: true
  339. immutable: true
  340. hidden: true
  341. default: postgres-data
  342. - variable: aclEntries
  343. label: ACL Configuration
  344. schema:
  345. type: dict
  346. show_if: [["aclEnable", "=", true]]
  347. attrs: []
  348. - variable: hostPathConfig
  349. label: Host Path Configuration
  350. schema:
  351. type: dict
  352. show_if: [["type", "=", "hostPath"]]
  353. attrs:
  354. - variable: aclEnable
  355. label: Enable ACL
  356. description: Enable ACL for the dataset.
  357. schema:
  358. type: boolean
  359. # Postgres does a CHMOD at startup
  360. # Which fails with ACL
  361. hidden: true
  362. default: false
  363. - variable: acl
  364. label: ACL Configuration
  365. schema:
  366. type: dict
  367. show_if: [["aclEnable", "=", true]]
  368. attrs: []
  369. $ref:
  370. - "normalize/acl"
  371. - variable: hostPath
  372. label: Host Path
  373. description: The host path to use for storage.
  374. schema:
  375. type: hostpath
  376. show_if: [["aclEnable", "=", false]]
  377. required: true
  378. - variable: pgBackup
  379. label: Postgres Backup Storage
  380. description: The path to store Postgres backups.
  381. schema:
  382. type: dict
  383. attrs:
  384. - variable: type
  385. label: Type
  386. description: |
  387. ixVolume: Is dataset created automatically by the system.</br>
  388. Host Path: Is a path that already exists on the system.
  389. schema:
  390. type: string
  391. required: true
  392. immutable: true
  393. default: ixVolume
  394. enum:
  395. - value: hostPath
  396. description: Host Path (Path that already exists on the system)
  397. - value: ixVolume
  398. description: ixVolume (Dataset created automatically by the system)
  399. - variable: ixVolumeConfig
  400. label: ixVolume Configuration
  401. description: The configuration for the ixVolume dataset.
  402. schema:
  403. type: dict
  404. # Nothing to show for the user
  405. hidden: true
  406. show_if: [["type", "=", "ixVolume"]]
  407. $ref:
  408. - "normalize/ixVolume"
  409. attrs:
  410. - variable: aclEnable
  411. label: Enable ACL
  412. description: Enable ACL for the dataset.
  413. schema:
  414. type: boolean
  415. # Postgres does a CHMOD at startup
  416. # Which fails with ACL
  417. hidden: true
  418. default: false
  419. - variable: datasetName
  420. label: Dataset Name
  421. description: The name of the dataset to use for storage.
  422. schema:
  423. type: string
  424. required: true
  425. immutable: true
  426. hidden: true
  427. default: "postgres-backup"
  428. - variable: aclEntries
  429. label: ACL Configuration
  430. schema:
  431. type: dict
  432. show_if: [["aclEnable", "=", true]]
  433. attrs: []
  434. - variable: hostPathConfig
  435. label: Host Path Configuration
  436. schema:
  437. type: dict
  438. show_if: [["type", "=", "hostPath"]]
  439. attrs:
  440. - variable: aclEnable
  441. label: Enable ACL
  442. description: Enable ACL for the dataset.
  443. schema:
  444. type: boolean
  445. # Postgres does a CHMOD at startup
  446. # Which fails with ACL
  447. hidden: true
  448. default: false
  449. - variable: acl
  450. label: ACL Configuration
  451. schema:
  452. type: dict
  453. show_if: [["aclEnable", "=", true]]
  454. attrs: []
  455. $ref:
  456. - "normalize/acl"
  457. - variable: hostPath
  458. label: Host Path
  459. description: The host path to use for storage.
  460. schema:
  461. type: hostpath
  462. show_if: [["aclEnable", "=", false]]
  463. required: true
  464. - variable: resources
  465. label: ""
  466. group: Resources Configuration
  467. schema:
  468. type: dict
  469. attrs:
  470. - variable: limits
  471. label: Limits
  472. schema:
  473. type: dict
  474. attrs:
  475. - variable: cpu
  476. label: CPU
  477. description: CPU limit for MinIO.
  478. schema:
  479. type: string
  480. max_length: 6
  481. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  482. valid_chars_error: |
  483. Valid CPU limit formats are</br>
  484. - Plain Integer - eg. 1</br>
  485. - Float - eg. 0.5</br>
  486. - Milicpu - eg. 500m
  487. default: "4000m"
  488. required: true
  489. - variable: memory
  490. label: Memory
  491. description: Memory limit for MinIO.
  492. schema:
  493. type: string
  494. max_length: 12
  495. valid_chars: '^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$'
  496. valid_chars_error: |
  497. Valid Memory limit formats are</br>
  498. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  499. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  500. - Plain Integer in bytes - eg. 1024</br>
  501. - Exponent - eg. 134e6
  502. default: "8Gi"
  503. required: true