questions.yaml 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930
  1. groups:
  2. - name: Mattermost Configuration
  3. description: Configure Mattermost
  4. - name: Network Configuration
  5. description: Configure Network for Mattermost
  6. - name: Storage Configuration
  7. description: Configure Storage for Mattermost
  8. - name: Labels Configuration
  9. description: Configure Labels for Mattermost
  10. - name: Resources Configuration
  11. description: Configure Resources for Mattermost
  12. questions:
  13. - variable: TZ
  14. group: Mattermost Configuration
  15. label: Timezone
  16. schema:
  17. type: string
  18. default: Etc/UTC
  19. required: true
  20. $ref:
  21. - definitions/timezone
  22. - variable: mattermost
  23. label: ""
  24. group: Mattermost Configuration
  25. schema:
  26. type: dict
  27. attrs:
  28. - variable: postgres_image_selector
  29. label: Postgres Image (CAUTION)
  30. description: |
  31. If you are changing this after the postgres directory has been initialized,</br>
  32. STOP! and make sure you have a backup of your data.</br>
  33. Changing this will trigger an one way database upgrade.</br>
  34. You can only select newer versions of postgres.</br>
  35. Selecting an older version will refuse to start.</br>
  36. If something goes wrong, you will have to restore from backup.
  37. schema:
  38. type: string
  39. default: postgres_17_image
  40. required: true
  41. enum:
  42. - value: postgres_17_image
  43. description: Postgres 17
  44. - variable: db_password
  45. label: Database Password
  46. schema:
  47. type: string
  48. default: ""
  49. required: true
  50. private: true
  51. - variable: site_url
  52. label: Site URL
  53. description: |
  54. The URL that Mattermost will be accessible at.</br>
  55. Examples: </br>
  56. - http://192.168.1.100:30252</br>
  57. - http://mm.example.com</br>
  58. schema:
  59. type: uri
  60. default: ""
  61. required: true
  62. - variable: additional_envs
  63. label: Additional Environment Variables
  64. schema:
  65. type: list
  66. default: []
  67. items:
  68. - variable: env
  69. label: Environment Variable
  70. schema:
  71. type: dict
  72. attrs:
  73. - variable: name
  74. label: Name
  75. schema:
  76. type: string
  77. required: true
  78. - variable: value
  79. label: Value
  80. schema:
  81. type: string
  82. - variable: network
  83. label: ""
  84. group: Network Configuration
  85. schema:
  86. type: dict
  87. attrs:
  88. - variable: web_port
  89. label: WebUI Port
  90. schema:
  91. type: dict
  92. attrs:
  93. - variable: bind_mode
  94. label: Port Bind Mode
  95. description: |
  96. The port bind mode.</br>
  97. - Publish: The port will be published on the host for external access.</br>
  98. - Expose: The port will be exposed for inter-container communication.</br>
  99. - None: The port will not be exposed or published.</br>
  100. Note: If the Dockerfile defines an EXPOSE directive,
  101. the port will still be exposed for inter-container communication regardless of this setting.
  102. schema:
  103. type: string
  104. default: "published"
  105. enum:
  106. - value: "published"
  107. description: Publish port on the host for external access
  108. - value: "exposed"
  109. description: Expose port for inter-container communication
  110. - value: ""
  111. description: None
  112. - variable: port_number
  113. label: Port Number
  114. schema:
  115. type: int
  116. default: 30252
  117. min: 1
  118. max: 65535
  119. required: true
  120. - variable: host_ips
  121. label: Host IPs
  122. description: IPs on the host to bind this port
  123. schema:
  124. type: list
  125. show_if: [["bind_mode", "=", "published"]]
  126. default: []
  127. items:
  128. - variable: host_ip
  129. label: Host IP
  130. schema:
  131. type: string
  132. required: true
  133. $ref:
  134. - definitions/node_bind_ip
  135. - variable: calls_port
  136. label: Calls Port
  137. schema:
  138. type: dict
  139. attrs:
  140. - variable: bind_mode
  141. label: Port Bind Mode
  142. description: |
  143. The port bind mode.</br>
  144. - Publish: The port will be published on the host for external access.</br>
  145. - Expose: The port will be exposed for inter-container communication.</br>
  146. - None: The port will not be exposed or published.</br>
  147. Note: If the Dockerfile defines an EXPOSE directive,
  148. the port will still be exposed for inter-container communication regardless of this setting.
  149. schema:
  150. type: string
  151. default: "published"
  152. enum:
  153. - value: "published"
  154. description: Publish port on the host for external access
  155. - value: "exposed"
  156. description: Expose port for inter-container communication
  157. - value: ""
  158. description: None
  159. - variable: port_number
  160. label: Port Number
  161. schema:
  162. type: int
  163. default: 30253
  164. min: 1
  165. max: 65535
  166. required: true
  167. - variable: host_ips
  168. label: Host IPs
  169. description: IPs on the host to bind this port
  170. schema:
  171. type: list
  172. show_if: [["bind_mode", "=", "published"]]
  173. default: []
  174. items:
  175. - variable: host_ip
  176. label: Host IP
  177. schema:
  178. type: string
  179. required: true
  180. $ref:
  181. - definitions/node_bind_ip
  182. - variable: certificate_id
  183. label: Certificate
  184. schema:
  185. type: int
  186. "null": true
  187. $ref:
  188. - "definitions/certificate"
  189. - variable: storage
  190. label: ""
  191. group: Storage Configuration
  192. schema:
  193. type: dict
  194. attrs:
  195. - variable: config
  196. label: Config Storage
  197. schema:
  198. type: dict
  199. attrs:
  200. - variable: type
  201. label: Type
  202. description: |
  203. ixVolume: Is dataset created automatically by the system.</br>
  204. Host Path: Is a path that already exists on the system.
  205. schema:
  206. type: string
  207. required: true
  208. default: "ix_volume"
  209. enum:
  210. - value: "host_path"
  211. description: Host Path (Path that already exists on the system)
  212. - value: "ix_volume"
  213. description: ixVolume (Dataset created automatically by the system)
  214. - variable: ix_volume_config
  215. label: ixVolume Configuration
  216. description: The configuration for the ixVolume dataset.
  217. schema:
  218. type: dict
  219. show_if: [["type", "=", "ix_volume"]]
  220. $ref:
  221. - "normalize/ix_volume"
  222. attrs:
  223. - variable: acl_enable
  224. label: Enable ACL
  225. description: Enable ACL for the storage.
  226. schema:
  227. type: boolean
  228. default: false
  229. - variable: dataset_name
  230. label: Dataset Name
  231. description: The name of the dataset to use for storage.
  232. schema:
  233. type: string
  234. required: true
  235. hidden: true
  236. default: "config"
  237. - variable: acl_entries
  238. label: ACL Configuration
  239. schema:
  240. type: dict
  241. show_if: [["acl_enable", "=", true]]
  242. attrs: []
  243. - variable: host_path_config
  244. label: Host Path Configuration
  245. schema:
  246. type: dict
  247. show_if: [["type", "=", "host_path"]]
  248. attrs:
  249. - variable: acl_enable
  250. label: Enable ACL
  251. description: Enable ACL for the storage.
  252. schema:
  253. type: boolean
  254. default: false
  255. - variable: acl
  256. label: ACL Configuration
  257. schema:
  258. type: dict
  259. show_if: [["acl_enable", "=", true]]
  260. attrs: []
  261. $ref:
  262. - "normalize/acl"
  263. - variable: path
  264. label: Host Path
  265. description: The host path to use for storage.
  266. schema:
  267. type: hostpath
  268. show_if: [["acl_enable", "=", false]]
  269. required: true
  270. - variable: data
  271. label: Data Storage
  272. schema:
  273. type: dict
  274. attrs:
  275. - variable: type
  276. label: Type
  277. description: |
  278. ixVolume: Is dataset created automatically by the system.</br>
  279. Host Path: Is a path that already exists on the system.
  280. schema:
  281. type: string
  282. required: true
  283. default: "ix_volume"
  284. enum:
  285. - value: "host_path"
  286. description: Host Path (Path that already exists on the system)
  287. - value: "ix_volume"
  288. description: ixVolume (Dataset created automatically by the system)
  289. - variable: ix_volume_config
  290. label: ixVolume Configuration
  291. description: The configuration for the ixVolume dataset.
  292. schema:
  293. type: dict
  294. show_if: [["type", "=", "ix_volume"]]
  295. $ref:
  296. - "normalize/ix_volume"
  297. attrs:
  298. - variable: acl_enable
  299. label: Enable ACL
  300. description: Enable ACL for the storage.
  301. schema:
  302. type: boolean
  303. default: false
  304. - variable: dataset_name
  305. label: Dataset Name
  306. description: The name of the dataset to use for storage.
  307. schema:
  308. type: string
  309. required: true
  310. hidden: true
  311. default: "data"
  312. - variable: acl_entries
  313. label: ACL Configuration
  314. schema:
  315. type: dict
  316. show_if: [["acl_enable", "=", true]]
  317. attrs: []
  318. - variable: host_path_config
  319. label: Host Path Configuration
  320. schema:
  321. type: dict
  322. show_if: [["type", "=", "host_path"]]
  323. attrs:
  324. - variable: acl_enable
  325. label: Enable ACL
  326. description: Enable ACL for the storage.
  327. schema:
  328. type: boolean
  329. default: false
  330. - variable: acl
  331. label: ACL Configuration
  332. schema:
  333. type: dict
  334. show_if: [["acl_enable", "=", true]]
  335. attrs: []
  336. $ref:
  337. - "normalize/acl"
  338. - variable: path
  339. label: Host Path
  340. description: The host path to use for storage.
  341. schema:
  342. type: hostpath
  343. show_if: [["acl_enable", "=", false]]
  344. required: true
  345. - variable: logs
  346. label: Logs Storage
  347. schema:
  348. type: dict
  349. attrs:
  350. - variable: type
  351. label: Type
  352. description: |
  353. ixVolume: Is dataset created automatically by the system.</br>
  354. Host Path: Is a path that already exists on the system.
  355. schema:
  356. type: string
  357. required: true
  358. default: "ix_volume"
  359. enum:
  360. - value: "host_path"
  361. description: Host Path (Path that already exists on the system)
  362. - value: "ix_volume"
  363. description: ixVolume (Dataset created automatically by the system)
  364. - variable: ix_volume_config
  365. label: ixVolume Configuration
  366. description: The configuration for the ixVolume dataset.
  367. schema:
  368. type: dict
  369. show_if: [["type", "=", "ix_volume"]]
  370. $ref:
  371. - "normalize/ix_volume"
  372. attrs:
  373. - variable: acl_enable
  374. label: Enable ACL
  375. description: Enable ACL for the storage.
  376. schema:
  377. type: boolean
  378. default: false
  379. - variable: dataset_name
  380. label: Dataset Name
  381. description: The name of the dataset to use for storage.
  382. schema:
  383. type: string
  384. required: true
  385. hidden: true
  386. default: "logs"
  387. - variable: acl_entries
  388. label: ACL Configuration
  389. schema:
  390. type: dict
  391. show_if: [["acl_enable", "=", true]]
  392. attrs: []
  393. - variable: host_path_config
  394. label: Host Path Configuration
  395. schema:
  396. type: dict
  397. show_if: [["type", "=", "host_path"]]
  398. attrs:
  399. - variable: acl_enable
  400. label: Enable ACL
  401. description: Enable ACL for the storage.
  402. schema:
  403. type: boolean
  404. default: false
  405. - variable: acl
  406. label: ACL Configuration
  407. schema:
  408. type: dict
  409. show_if: [["acl_enable", "=", true]]
  410. attrs: []
  411. $ref:
  412. - "normalize/acl"
  413. - variable: path
  414. label: Host Path
  415. description: The host path to use for storage.
  416. schema:
  417. type: hostpath
  418. show_if: [["acl_enable", "=", false]]
  419. required: true
  420. - variable: plugins
  421. label: Plugins Storage
  422. schema:
  423. type: dict
  424. attrs:
  425. - variable: type
  426. label: Type
  427. description: |
  428. ixVolume: Is dataset created automatically by the system.</br>
  429. Host Path: Is a path that already exists on the system.
  430. schema:
  431. type: string
  432. required: true
  433. default: "ix_volume"
  434. enum:
  435. - value: "host_path"
  436. description: Host Path (Path that already exists on the system)
  437. - value: "ix_volume"
  438. description: ixVolume (Dataset created automatically by the system)
  439. - variable: ix_volume_config
  440. label: ixVolume Configuration
  441. description: The configuration for the ixVolume dataset.
  442. schema:
  443. type: dict
  444. show_if: [["type", "=", "ix_volume"]]
  445. $ref:
  446. - "normalize/ix_volume"
  447. attrs:
  448. - variable: acl_enable
  449. label: Enable ACL
  450. description: Enable ACL for the storage.
  451. schema:
  452. type: boolean
  453. default: false
  454. - variable: dataset_name
  455. label: Dataset Name
  456. description: The name of the dataset to use for storage.
  457. schema:
  458. type: string
  459. required: true
  460. hidden: true
  461. default: "plugins"
  462. - variable: acl_entries
  463. label: ACL Configuration
  464. schema:
  465. type: dict
  466. show_if: [["acl_enable", "=", true]]
  467. attrs: []
  468. - variable: host_path_config
  469. label: Host Path Configuration
  470. schema:
  471. type: dict
  472. show_if: [["type", "=", "host_path"]]
  473. attrs:
  474. - variable: acl_enable
  475. label: Enable ACL
  476. description: Enable ACL for the storage.
  477. schema:
  478. type: boolean
  479. default: false
  480. - variable: acl
  481. label: ACL Configuration
  482. schema:
  483. type: dict
  484. show_if: [["acl_enable", "=", true]]
  485. attrs: []
  486. $ref:
  487. - "normalize/acl"
  488. - variable: path
  489. label: Host Path
  490. description: The host path to use for storage.
  491. schema:
  492. type: hostpath
  493. show_if: [["acl_enable", "=", false]]
  494. required: true
  495. - variable: client_plugins
  496. label: Client Plugins Storage
  497. schema:
  498. type: dict
  499. attrs:
  500. - variable: type
  501. label: Type
  502. description: |
  503. ixVolume: Is dataset created automatically by the system.</br>
  504. Host Path: Is a path that already exists on the system.
  505. schema:
  506. type: string
  507. required: true
  508. default: "ix_volume"
  509. enum:
  510. - value: "host_path"
  511. description: Host Path (Path that already exists on the system)
  512. - value: "ix_volume"
  513. description: ixVolume (Dataset created automatically by the system)
  514. - variable: ix_volume_config
  515. label: ixVolume Configuration
  516. description: The configuration for the ixVolume dataset.
  517. schema:
  518. type: dict
  519. show_if: [["type", "=", "ix_volume"]]
  520. $ref:
  521. - "normalize/ix_volume"
  522. attrs:
  523. - variable: acl_enable
  524. label: Enable ACL
  525. description: Enable ACL for the storage.
  526. schema:
  527. type: boolean
  528. default: false
  529. - variable: dataset_name
  530. label: Dataset Name
  531. description: The name of the dataset to use for storage.
  532. schema:
  533. type: string
  534. required: true
  535. hidden: true
  536. default: "client_plugins"
  537. - variable: acl_entries
  538. label: ACL Configuration
  539. schema:
  540. type: dict
  541. show_if: [["acl_enable", "=", true]]
  542. attrs: []
  543. - variable: host_path_config
  544. label: Host Path Configuration
  545. schema:
  546. type: dict
  547. show_if: [["type", "=", "host_path"]]
  548. attrs:
  549. - variable: acl_enable
  550. label: Enable ACL
  551. description: Enable ACL for the storage.
  552. schema:
  553. type: boolean
  554. default: false
  555. - variable: acl
  556. label: ACL Configuration
  557. schema:
  558. type: dict
  559. show_if: [["acl_enable", "=", true]]
  560. attrs: []
  561. $ref:
  562. - "normalize/acl"
  563. - variable: path
  564. label: Host Path
  565. description: The host path to use for storage.
  566. schema:
  567. type: hostpath
  568. show_if: [["acl_enable", "=", false]]
  569. required: true
  570. - variable: bleve_indexes
  571. label: Bleve Indexes Storage
  572. schema:
  573. type: dict
  574. attrs:
  575. - variable: type
  576. label: Type
  577. description: |
  578. ixVolume: Is dataset created automatically by the system.</br>
  579. Host Path: Is a path that already exists on the system.
  580. schema:
  581. type: string
  582. required: true
  583. default: "ix_volume"
  584. enum:
  585. - value: "host_path"
  586. description: Host Path (Path that already exists on the system)
  587. - value: "ix_volume"
  588. description: ixVolume (Dataset created automatically by the system)
  589. - variable: ix_volume_config
  590. label: ixVolume Configuration
  591. description: The configuration for the ixVolume dataset.
  592. schema:
  593. type: dict
  594. show_if: [["type", "=", "ix_volume"]]
  595. $ref:
  596. - "normalize/ix_volume"
  597. attrs:
  598. - variable: acl_enable
  599. label: Enable ACL
  600. description: Enable ACL for the storage.
  601. schema:
  602. type: boolean
  603. default: false
  604. - variable: dataset_name
  605. label: Dataset Name
  606. description: The name of the dataset to use for storage.
  607. schema:
  608. type: string
  609. required: true
  610. hidden: true
  611. default: "bleve_indexes"
  612. - variable: acl_entries
  613. label: ACL Configuration
  614. schema:
  615. type: dict
  616. show_if: [["acl_enable", "=", true]]
  617. attrs: []
  618. - variable: host_path_config
  619. label: Host Path Configuration
  620. schema:
  621. type: dict
  622. show_if: [["type", "=", "host_path"]]
  623. attrs:
  624. - variable: acl_enable
  625. label: Enable ACL
  626. description: Enable ACL for the storage.
  627. schema:
  628. type: boolean
  629. default: false
  630. - variable: acl
  631. label: ACL Configuration
  632. schema:
  633. type: dict
  634. show_if: [["acl_enable", "=", true]]
  635. attrs: []
  636. $ref:
  637. - "normalize/acl"
  638. - variable: path
  639. label: Host Path
  640. description: The host path to use for storage.
  641. schema:
  642. type: hostpath
  643. show_if: [["acl_enable", "=", false]]
  644. required: true
  645. - variable: postgres_data
  646. label: Postgres Data Storage
  647. schema:
  648. type: dict
  649. attrs:
  650. - variable: type
  651. label: Type
  652. description: |
  653. ixVolume: Is dataset created automatically by the system.</br>
  654. Host Path: Is a path that already exists on the system.
  655. schema:
  656. type: string
  657. required: true
  658. default: "ix_volume"
  659. enum:
  660. - value: "host_path"
  661. description: Host Path (Path that already exists on the system)
  662. - value: "ix_volume"
  663. description: ixVolume (Dataset created automatically by the system)
  664. - variable: ix_volume_config
  665. label: ixVolume Configuration
  666. description: The configuration for the ixVolume dataset.
  667. schema:
  668. type: dict
  669. show_if: [["type", "=", "ix_volume"]]
  670. $ref:
  671. - "normalize/ix_volume"
  672. attrs:
  673. - variable: acl_enable
  674. label: Enable ACL
  675. description: Enable ACL for the storage.
  676. schema:
  677. type: boolean
  678. default: false
  679. - variable: dataset_name
  680. label: Dataset Name
  681. description: The name of the dataset to use for storage.
  682. schema:
  683. type: string
  684. required: true
  685. hidden: true
  686. default: "pg_data"
  687. - variable: acl_entries
  688. label: ACL Configuration
  689. schema:
  690. type: dict
  691. show_if: [["acl_enable", "=", true]]
  692. attrs: []
  693. - variable: host_path_config
  694. label: Host Path Configuration
  695. schema:
  696. type: dict
  697. show_if: [["type", "=", "host_path"]]
  698. attrs:
  699. - variable: acl_enable
  700. label: Enable ACL
  701. description: Enable ACL for the storage.
  702. schema:
  703. type: boolean
  704. default: false
  705. - variable: acl
  706. label: ACL Configuration
  707. schema:
  708. type: dict
  709. show_if: [["acl_enable", "=", true]]
  710. attrs: []
  711. $ref:
  712. - "normalize/acl"
  713. - variable: path
  714. label: Host Path
  715. description: The host path to use for storage.
  716. schema:
  717. type: hostpath
  718. show_if: [["acl_enable", "=", false]]
  719. required: true
  720. - variable: auto_permissions
  721. label: Automatic Permissions
  722. description: |
  723. Automatically set permissions for the host path.
  724. Enabling this, will check the top level directory,</br>
  725. If it finds incorrect permissions, it will `chown` the
  726. host path to the user and group required for the
  727. postgres container.
  728. schema:
  729. type: boolean
  730. default: false
  731. show_if: [["acl_enable", "=", false]]
  732. - variable: additional_storage
  733. label: Additional Storage
  734. schema:
  735. type: list
  736. default: []
  737. items:
  738. - variable: storageEntry
  739. label: Storage Entry
  740. schema:
  741. type: dict
  742. attrs:
  743. - variable: type
  744. label: Type
  745. description: |
  746. ixVolume: Is dataset created automatically by the system.</br>
  747. Host Path: Is a path that already exists on the system.</br>
  748. SMB Share: Is a SMB share that is mounted to as a volume.
  749. schema:
  750. type: string
  751. required: true
  752. default: "ix_volume"
  753. enum:
  754. - value: "host_path"
  755. description: Host Path (Path that already exists on the system)
  756. - value: "ix_volume"
  757. description: ixVolume (Dataset created automatically by the system)
  758. - value: "cifs"
  759. description: SMB/CIFS Share (Mounts a volume to a SMB share)
  760. - variable: read_only
  761. label: Read Only
  762. description: Mount the volume as read only.
  763. schema:
  764. type: boolean
  765. default: false
  766. - variable: mount_path
  767. label: Mount Path
  768. description: The path inside the container to mount the storage.
  769. schema:
  770. type: path
  771. required: true
  772. - variable: host_path_config
  773. label: Host Path Configuration
  774. schema:
  775. type: dict
  776. show_if: [["type", "=", "host_path"]]
  777. attrs:
  778. - variable: acl_enable
  779. label: Enable ACL
  780. description: Enable ACL for the storage.
  781. schema:
  782. type: boolean
  783. default: false
  784. - variable: acl
  785. label: ACL Configuration
  786. schema:
  787. type: dict
  788. show_if: [["acl_enable", "=", true]]
  789. attrs: []
  790. $ref:
  791. - "normalize/acl"
  792. - variable: path
  793. label: Host Path
  794. description: The host path to use for storage.
  795. schema:
  796. type: hostpath
  797. show_if: [["acl_enable", "=", false]]
  798. required: true
  799. - variable: ix_volume_config
  800. label: ixVolume Configuration
  801. description: The configuration for the ixVolume dataset.
  802. schema:
  803. type: dict
  804. show_if: [["type", "=", "ix_volume"]]
  805. $ref:
  806. - "normalize/ix_volume"
  807. attrs:
  808. - variable: acl_enable
  809. label: Enable ACL
  810. description: Enable ACL for the storage.
  811. schema:
  812. type: boolean
  813. default: false
  814. - variable: dataset_name
  815. label: Dataset Name
  816. description: The name of the dataset to use for storage.
  817. schema:
  818. type: string
  819. required: true
  820. default: "storage_entry"
  821. - variable: acl_entries
  822. label: ACL Configuration
  823. schema:
  824. type: dict
  825. show_if: [["acl_enable", "=", true]]
  826. attrs: []
  827. $ref:
  828. - "normalize/acl"
  829. - variable: cifs_config
  830. label: SMB Configuration
  831. description: The configuration for the SMB dataset.
  832. schema:
  833. type: dict
  834. show_if: [["type", "=", "cifs"]]
  835. attrs:
  836. - variable: server
  837. label: Server
  838. description: The server to mount the SMB share.
  839. schema:
  840. type: string
  841. required: true
  842. - variable: path
  843. label: Path
  844. description: The path to mount the SMB share.
  845. schema:
  846. type: string
  847. required: true
  848. - variable: username
  849. label: Username
  850. description: The username to use for the SMB share.
  851. schema:
  852. type: string
  853. required: true
  854. - variable: password
  855. label: Password
  856. description: The password to use for the SMB share.
  857. schema:
  858. type: string
  859. required: true
  860. private: true
  861. - variable: domain
  862. label: Domain
  863. description: The domain to use for the SMB share.
  864. schema:
  865. type: string
  866. - variable: labels
  867. label: ""
  868. group: Labels Configuration
  869. schema:
  870. type: list
  871. default: []
  872. items:
  873. - variable: label
  874. label: Label
  875. schema:
  876. type: dict
  877. attrs:
  878. - variable: key
  879. label: Key
  880. schema:
  881. type: string
  882. required: true
  883. - variable: value
  884. label: Value
  885. schema:
  886. type: string
  887. required: true
  888. - variable: containers
  889. label: Containers
  890. description: Containers where the label should be applied
  891. schema:
  892. type: list
  893. items:
  894. - variable: container
  895. label: Container
  896. schema:
  897. type: string
  898. required: true
  899. enum:
  900. - value: mattermost
  901. description: mattermost
  902. - value: postgres
  903. description: postgres
  904. - variable: resources
  905. label: ""
  906. group: Resources Configuration
  907. schema:
  908. type: dict
  909. attrs:
  910. - variable: limits
  911. label: Limits
  912. schema:
  913. type: dict
  914. attrs:
  915. - variable: cpus
  916. label: CPUs
  917. description: CPUs limit for Mattermost.
  918. schema:
  919. type: int
  920. default: 2
  921. required: true
  922. - variable: memory
  923. label: Memory (in MB)
  924. description: Memory limit for Mattermost.
  925. schema:
  926. type: int
  927. default: 4096
  928. required: true