questions.yaml 36 KB

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