questions.yaml 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. groups:
  2. - name: Minio Configuration
  3. description: Configure Minio
  4. - name: Advanced Pod Configuration
  5. description: Configure Advanced Pod Options for Minio
  6. - name: Network Configuration
  7. description: Configure Network for Minio
  8. - name: Storage Configuration
  9. description: Configure Storage for Minio
  10. - name: Resources Configuration
  11. description: Configure Resources for Minio
  12. portals:
  13. web_portal:
  14. protocols:
  15. - "$kubernetes-resource_configmap_portal_protocol"
  16. host:
  17. - "$kubernetes-resource_configmap_portal_host"
  18. ports:
  19. - "$kubernetes-resource_configmap_portal_port"
  20. path: "$kubernetes-resource_configmap_portal_path"
  21. questions:
  22. - variable: minioConfig
  23. label: ""
  24. group: Minio Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: rootUser
  29. label: Root User
  30. description: The root user for Minio.
  31. schema:
  32. type: string
  33. private: true
  34. required: true
  35. min_length: 5
  36. max_length: 20
  37. - variable: rootPassword
  38. label: Root Password
  39. description: The root password for Minio.
  40. schema:
  41. type: string
  42. private: true
  43. required: true
  44. min_length: 8
  45. max_length: 40
  46. - variable: domain
  47. label: Domain (Optional)
  48. description: |
  49. Depending on your setup/environment, you may need to leave this blank.
  50. Check MinIO documentation for more information.
  51. schema:
  52. type: string
  53. - variable: extraArgs
  54. label: Extra Arguments
  55. description: Extra arguments for Minio.
  56. schema:
  57. type: list
  58. default: []
  59. items:
  60. - variable: arg
  61. label: Argument
  62. schema:
  63. type: string
  64. required: true
  65. - variable: additionalEnvs
  66. label: Additional Environment Variables
  67. description: Configure additional environment variables for Netdata.
  68. schema:
  69. type: list
  70. default: []
  71. items:
  72. - variable: env
  73. label: Environment Variable
  74. schema:
  75. type: dict
  76. attrs:
  77. - variable: name
  78. label: Name
  79. schema:
  80. type: string
  81. required: true
  82. - variable: value
  83. label: Value
  84. schema:
  85. type: string
  86. required: true
  87. - variable: podOptions
  88. label: ""
  89. group: Advanced Pod Configuration
  90. schema:
  91. type: dict
  92. attrs:
  93. - variable: dnsConfig
  94. label: Advanced DNS Configuration
  95. schema:
  96. type: dict
  97. attrs:
  98. - variable: options
  99. label: DNS Options
  100. schema:
  101. type: list
  102. items:
  103. - variable: optionsEntry
  104. label: DNS Option Entry
  105. schema:
  106. type: dict
  107. attrs:
  108. - variable: name
  109. label: Option Name
  110. schema:
  111. type: string
  112. required: true
  113. - variable: value
  114. label: Option Value
  115. schema:
  116. type: string
  117. required: true
  118. - variable: minioNetwork
  119. label: ""
  120. group: Network Configuration
  121. schema:
  122. type: dict
  123. attrs:
  124. - variable: apiPort
  125. label: API Port
  126. description: The port for the Minio API.
  127. schema:
  128. type: int
  129. default: 9000
  130. min: 9000
  131. max: 65535
  132. required: true
  133. - variable: consolePort
  134. label: Console Port
  135. description: The port for the Minio WebUI.
  136. schema:
  137. type: int
  138. default: 9002
  139. min: 9000
  140. max: 65535
  141. required: true
  142. - variable: certificateID
  143. label: Certificate
  144. description: The certificate to use for Minio.
  145. schema:
  146. type: int
  147. "null": true
  148. $ref:
  149. - "definitions/certificate"
  150. - variable: minioStorage
  151. label: ""
  152. group: Storage Configuration
  153. schema:
  154. type: dict
  155. attrs:
  156. - variable: distributedMode
  157. label: Enable Distributed Mode
  158. schema:
  159. type: boolean
  160. default: false
  161. - variable: distributedIps
  162. label: Distributed Minio Instance URI(s)
  163. schema:
  164. type: list
  165. show_if: [["distributedMode", "=", true]]
  166. required: true
  167. default: []
  168. items:
  169. - variable: ip
  170. label: Distributed Minio Instance URI
  171. schema:
  172. type: string
  173. required: true
  174. - variable: export
  175. label: Minio Export Storage
  176. description: The path to store Minio Export.
  177. schema:
  178. type: dict
  179. show_if: [["distributedMode", "=", false]]
  180. attrs:
  181. - variable: type
  182. label: Type
  183. description: |
  184. ixVolume: Is dataset created automatically by the system.</br>
  185. Host Path: Is a path that already exists on the system.
  186. schema:
  187. type: string
  188. required: true
  189. default: ixVolume
  190. enum:
  191. - value: hostPath
  192. description: Host Path (Path that already exists on the system)
  193. - value: ixVolume
  194. description: ixVolume (Dataset created automatically by the system)
  195. - variable: mountPath
  196. label: Mount Path
  197. description: The path inside the container to mount the storage.
  198. schema:
  199. type: path
  200. default: /export
  201. required: true
  202. immutable: true
  203. - variable: ixVolumeConfig
  204. label: ixVolume Configuration
  205. description: The configuration for the ixVolume dataset.
  206. schema:
  207. type: dict
  208. show_if: [["type", "=", "ixVolume"]]
  209. $ref:
  210. - "normalize/ixVolume"
  211. attrs:
  212. - variable: aclEnable
  213. label: Enable ACL
  214. description: Enable ACL for the dataset.
  215. schema:
  216. type: boolean
  217. default: false
  218. - variable: datasetName
  219. label: Dataset Name
  220. description: The name of the dataset to use for storage.
  221. schema:
  222. type: string
  223. required: true
  224. immutable: true
  225. hidden: true
  226. default: "export"
  227. - variable: aclEntries
  228. label: ACL Configuration
  229. schema:
  230. type: dict
  231. show_if: [["aclEnable", "=", true]]
  232. attrs: []
  233. - variable: hostPathConfig
  234. label: Host Path Configuration
  235. schema:
  236. type: dict
  237. show_if: [["type", "=", "hostPath"]]
  238. attrs:
  239. - variable: aclEnable
  240. label: Enable ACL
  241. description: Enable ACL for the dataset.
  242. schema:
  243. type: boolean
  244. default: false
  245. - variable: acl
  246. label: ACL Configuration
  247. schema:
  248. type: dict
  249. show_if: [["aclEnable", "=", true]]
  250. attrs: []
  251. $ref:
  252. - "normalize/acl"
  253. - variable: hostPath
  254. label: Host Path
  255. description: The host path to use for storage.
  256. schema:
  257. type: hostpath
  258. show_if: [["aclEnable", "=", false]]
  259. required: true
  260. - variable: logSearchApi
  261. label: Enable Log Search API
  262. schema:
  263. type: boolean
  264. default: false
  265. - variable: logSearchDiskCapacityGB
  266. label: Log Search Disk Capacity
  267. schema:
  268. type: int
  269. show_if: [["logSearchApi", "=", true]]
  270. default: 5
  271. - variable: pgData
  272. label: Minio Postgres Data Storage
  273. description: The path to store Minio Postgres Data.
  274. schema:
  275. type: dict
  276. show_if: [["logSearchApi", "=", true]]
  277. attrs:
  278. - variable: type
  279. label: Type
  280. description: |
  281. ixVolume: Is dataset created automatically by the system.</br>
  282. Host Path: Is a path that already exists on the system.
  283. schema:
  284. type: string
  285. required: true
  286. default: ixVolume
  287. enum:
  288. - value: hostPath
  289. description: Host Path (Path that already exists on the system)
  290. - value: ixVolume
  291. description: ixVolume (Dataset created automatically by the system)
  292. - variable: ixVolumeConfig
  293. label: ixVolume Configuration
  294. description: The configuration for the ixVolume dataset.
  295. schema:
  296. type: dict
  297. # Nothing to show for the user
  298. hidden: true
  299. show_if: [["type", "=", "ixVolume"]]
  300. $ref:
  301. - "normalize/ixVolume"
  302. attrs:
  303. - variable: aclEnable
  304. label: Enable ACL
  305. description: Enable ACL for the dataset.
  306. schema:
  307. type: boolean
  308. # Postgres does a CHMOD at startup
  309. # Which fails with ACL
  310. hidden: true
  311. default: false
  312. - variable: datasetName
  313. label: Dataset Name
  314. description: The name of the dataset to use for storage.
  315. schema:
  316. type: string
  317. required: true
  318. immutable: true
  319. hidden: true
  320. default: "pgData"
  321. - variable: aclEntries
  322. label: ACL Configuration
  323. schema:
  324. type: dict
  325. show_if: [["aclEnable", "=", true]]
  326. attrs: []
  327. - variable: hostPathConfig
  328. label: Host Path Configuration
  329. schema:
  330. type: dict
  331. show_if: [["type", "=", "hostPath"]]
  332. attrs:
  333. - variable: aclEnable
  334. label: Enable ACL
  335. description: Enable ACL for the dataset.
  336. schema:
  337. type: boolean
  338. # Postgres does a CHMOD at startup
  339. # Which fails with ACL
  340. hidden: true
  341. default: false
  342. - variable: acl
  343. label: ACL Configuration
  344. schema:
  345. type: dict
  346. show_if: [["aclEnable", "=", true]]
  347. attrs: []
  348. $ref:
  349. - "normalize/acl"
  350. - variable: hostPath
  351. label: Host Path
  352. description: The host path to use for storage.
  353. schema:
  354. type: hostpath
  355. show_if: [["aclEnable", "=", false]]
  356. required: true
  357. - variable: pgBackup
  358. label: Minio Postgres Backup Storage
  359. description: The path to store Minio Postgres Backup.
  360. schema:
  361. type: dict
  362. show_if: [["logSearchApi", "=", true]]
  363. attrs:
  364. - variable: type
  365. label: Type
  366. description: |
  367. ixVolume: Is dataset created automatically by the system.</br>
  368. Host Path: Is a path that already exists on the system.
  369. schema:
  370. type: string
  371. required: true
  372. immutable: true
  373. default: ixVolume
  374. enum:
  375. - value: hostPath
  376. description: Host Path (Path that already exists on the system)
  377. - value: ixVolume
  378. description: ixVolume (Dataset created automatically by the system)
  379. - variable: ixVolumeConfig
  380. label: ixVolume Configuration
  381. description: The configuration for the ixVolume dataset.
  382. schema:
  383. type: dict
  384. # Nothing to show for the user
  385. hidden: true
  386. show_if: [["type", "=", "ixVolume"]]
  387. $ref:
  388. - "normalize/ixVolume"
  389. attrs:
  390. - variable: aclEnable
  391. label: Enable ACL
  392. description: Enable ACL for the dataset.
  393. schema:
  394. type: boolean
  395. # Postgres does a CHMOD at startup
  396. # Which fails with ACL
  397. hidden: true
  398. default: false
  399. - variable: datasetName
  400. label: Dataset Name
  401. description: The name of the dataset to use for storage.
  402. schema:
  403. type: string
  404. required: true
  405. immutable: true
  406. hidden: true
  407. default: "pgBackup"
  408. - variable: aclEntries
  409. label: ACL Configuration
  410. schema:
  411. type: dict
  412. show_if: [["aclEnable", "=", true]]
  413. attrs: []
  414. - variable: hostPathConfig
  415. label: Host Path Configuration
  416. schema:
  417. type: dict
  418. show_if: [["type", "=", "hostPath"]]
  419. attrs:
  420. - variable: aclEnable
  421. label: Enable ACL
  422. description: Enable ACL for the dataset.
  423. schema:
  424. type: boolean
  425. # Postgres does a CHMOD at startup
  426. # Which fails with ACL
  427. hidden: true
  428. default: false
  429. - variable: acl
  430. label: ACL Configuration
  431. schema:
  432. type: dict
  433. show_if: [["aclEnable", "=", true]]
  434. attrs: []
  435. $ref:
  436. - "normalize/acl"
  437. - variable: hostPath
  438. label: Host Path
  439. description: The host path to use for storage.
  440. schema:
  441. type: hostpath
  442. show_if: [["aclEnable", "=", false]]
  443. required: true
  444. - variable: additionalStorages
  445. label: Additional Storage
  446. description: Additional storage for Minio.
  447. schema:
  448. type: list
  449. default: []
  450. items:
  451. - variable: storageEntry
  452. label: Storage Entry
  453. schema:
  454. type: dict
  455. attrs:
  456. - variable: type
  457. label: Type
  458. description: |
  459. ixVolume: Is dataset created automatically by the system.</br>
  460. Host Path: Is a path that already exists on the system.</br>
  461. SMB Share: Is a SMB share that is mounted to a persistent volume claim.
  462. schema:
  463. type: string
  464. required: true
  465. default: "ixVolume"
  466. enum:
  467. - value: "hostPath"
  468. description: Host Path (Path that already exists on the system)
  469. - value: "ixVolume"
  470. description: ixVolume (Dataset created automatically by the system)
  471. - value: "smb-pv-pvc"
  472. description: SMB Share (Mounts a persistent volume claim to a SMB share)
  473. - variable: readOnly
  474. label: Read Only
  475. description: Mount the volume as read only.
  476. schema:
  477. type: boolean
  478. default: false
  479. - variable: mountPath
  480. label: Mount Path
  481. description: The path inside the container to mount the storage.
  482. schema:
  483. type: path
  484. required: true
  485. - variable: hostPathConfig
  486. label: Host Path Configuration
  487. schema:
  488. type: dict
  489. show_if: [["type", "=", "hostPath"]]
  490. attrs:
  491. - variable: aclEnable
  492. label: Enable ACL
  493. description: Enable ACL for the dataset.
  494. schema:
  495. type: boolean
  496. default: false
  497. - variable: acl
  498. label: ACL Configuration
  499. schema:
  500. type: dict
  501. show_if: [["aclEnable", "=", true]]
  502. attrs: []
  503. $ref:
  504. - "normalize/acl"
  505. - variable: hostPath
  506. label: Host Path
  507. description: The host path to use for storage.
  508. schema:
  509. type: hostpath
  510. show_if: [["aclEnable", "=", false]]
  511. required: true
  512. - variable: ixVolumeConfig
  513. label: ixVolume Configuration
  514. description: The configuration for the ixVolume dataset.
  515. schema:
  516. type: dict
  517. show_if: [["type", "=", "ixVolume"]]
  518. $ref:
  519. - "normalize/ixVolume"
  520. attrs:
  521. - variable: aclEnable
  522. label: Enable ACL
  523. description: Enable ACL for the dataset.
  524. schema:
  525. type: boolean
  526. default: false
  527. - variable: datasetName
  528. label: Dataset Name
  529. description: The name of the dataset to use for storage.
  530. schema:
  531. type: string
  532. required: true
  533. immutable: true
  534. default: "storage_entry"
  535. - variable: aclEntries
  536. label: ACL Configuration
  537. schema:
  538. type: dict
  539. show_if: [["aclEnable", "=", true]]
  540. attrs: []
  541. - variable: smbConfig
  542. label: SMB Share Configuration
  543. description: The configuration for the SMB Share.
  544. schema:
  545. type: dict
  546. show_if: [["type", "=", "smb-pv-pvc"]]
  547. attrs:
  548. - variable: server
  549. label: Server
  550. description: The server for the SMB share.
  551. schema:
  552. type: string
  553. required: true
  554. - variable: share
  555. label: Share
  556. description: The share name for the SMB share.
  557. schema:
  558. type: string
  559. required: true
  560. - variable: domain
  561. label: Domain (Optional)
  562. description: The domain for the SMB share.
  563. schema:
  564. type: string
  565. - variable: username
  566. label: Username
  567. description: The username for the SMB share.
  568. schema:
  569. type: string
  570. required: true
  571. - variable: password
  572. label: Password
  573. description: The password for the SMB share.
  574. schema:
  575. type: string
  576. required: true
  577. private: true
  578. - variable: size
  579. label: Size (in Gi)
  580. description: The size of the volume quota.
  581. schema:
  582. type: int
  583. required: true
  584. min: 1
  585. default: 1
  586. - variable: resources
  587. group: Resources Configuration
  588. label: ""
  589. schema:
  590. type: dict
  591. attrs:
  592. - variable: limits
  593. label: Limits
  594. schema:
  595. type: dict
  596. attrs:
  597. - variable: cpu
  598. label: CPU
  599. description: CPU limit for WG-Easy.
  600. schema:
  601. type: string
  602. max_length: 6
  603. valid_chars: '^(0\.[1-9]|[1-9][0-9]*)(\.[0-9]|m?)$'
  604. valid_chars_error: |
  605. Valid CPU limit formats are</br>
  606. - Plain Integer - eg. 1</br>
  607. - Float - eg. 0.5</br>
  608. - Milicpu - eg. 500m
  609. default: "4000m"
  610. required: true
  611. - variable: memory
  612. label: Memory
  613. description: Memory limit for WG-Easy.
  614. schema:
  615. type: string
  616. max_length: 12
  617. valid_chars: "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$"
  618. valid_chars_error: |
  619. Valid Memory limit formats are</br>
  620. - Suffixed with E/P/T/G/M/K - eg. 1G</br>
  621. - Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>
  622. - Plain Integer in bytes - eg. 1024</br>
  623. - Exponent - eg. 134e6
  624. default: "8Gi"
  625. required: true