questions.yaml 36 KB

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