app_versions.json 143 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874
  1. {
  2. "1.2.12": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/sftpgo/1.2.12",
  7. "last_update": "2025-03-06 08:26:26",
  8. "required_features": [
  9. "normalize/acl",
  10. "normalize/ixVolume",
  11. "definitions/certificate"
  12. ],
  13. "human_version": "2.6.6_1.2.12",
  14. "version": "1.2.12",
  15. "chart_metadata": {
  16. "name": "sftpgo",
  17. "description": "SFTPGo is a fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob",
  18. "annotations": {
  19. "title": "SFTPGo"
  20. },
  21. "type": "application",
  22. "version": "1.2.12",
  23. "apiVersion": "v2",
  24. "appVersion": "2.6.6",
  25. "kubeVersion": ">=1.16.0-0",
  26. "maintainers": [
  27. {
  28. "name": "truenas",
  29. "url": "https://www.truenas.com/",
  30. "email": "dev@ixsystems.com"
  31. }
  32. ],
  33. "dependencies": [
  34. {
  35. "name": "common",
  36. "repository": "file://../../../common",
  37. "version": "1.2.9"
  38. }
  39. ],
  40. "home": "https://github.com/drakkan/sftpgo",
  41. "icon": "https://media.sys.truenas.net/apps/sftpgo/icons/icon.png",
  42. "sources": [
  43. "https://hub.docker.com/r/drakkan/sftpgo",
  44. "https://github.com/truenas/charts/tree/master/library/ix-dev/community/sftpgo",
  45. "https://github.com/drakkan/sftpgo"
  46. ],
  47. "keywords": [
  48. "sftpgo"
  49. ]
  50. },
  51. "app_metadata": {
  52. "runAsContext": [
  53. {
  54. "userName": "sftpgo",
  55. "groupName": "sftpgo",
  56. "gid": 568,
  57. "uid": 568,
  58. "description": "SFTPGo can run as any non-root user."
  59. }
  60. ],
  61. "capabilities": [],
  62. "hostMounts": []
  63. },
  64. "schema": {
  65. "groups": [
  66. {
  67. "name": "SFTPGo Configuration",
  68. "description": "Configure SFTPGo"
  69. },
  70. {
  71. "name": "User and Group Configuration",
  72. "description": "Configure User and Group for SFTPGo"
  73. },
  74. {
  75. "name": "Network Configuration",
  76. "description": "Configure Network for SFTPGo"
  77. },
  78. {
  79. "name": "Storage Configuration",
  80. "description": "Configure Storage for SFTPGo"
  81. },
  82. {
  83. "name": "Resources Configuration",
  84. "description": "Configure Resources for SFTPGo"
  85. }
  86. ],
  87. "portals": {
  88. "web_portal": {
  89. "protocols": [
  90. "$kubernetes-resource_configmap_portal_protocol"
  91. ],
  92. "host": [
  93. "$kubernetes-resource_configmap_portal_host"
  94. ],
  95. "ports": [
  96. "$kubernetes-resource_configmap_portal_port"
  97. ],
  98. "path": "$kubernetes-resource_configmap_portal_path"
  99. }
  100. },
  101. "questions": [
  102. {
  103. "variable": "sftpgoConfig",
  104. "label": "",
  105. "group": "SFTPGo Configuration",
  106. "schema": {
  107. "type": "dict",
  108. "attrs": [
  109. {
  110. "variable": "imageSelector",
  111. "label": "Image Selector",
  112. "description": "The image to use for SFTPGo.",
  113. "schema": {
  114. "type": "string",
  115. "default": "image",
  116. "required": true,
  117. "enum": [
  118. {
  119. "value": "image",
  120. "description": "Default Image"
  121. },
  122. {
  123. "value": "pluginsImage",
  124. "description": "Plugins Image"
  125. }
  126. ]
  127. }
  128. },
  129. {
  130. "variable": "graceTime",
  131. "label": "Grace Time",
  132. "description": "The time in seconds to wait for connections to close before shutting down.",
  133. "schema": {
  134. "type": "int",
  135. "default": 60,
  136. "min": 1,
  137. "required": true
  138. }
  139. },
  140. {
  141. "variable": "additionalEnvs",
  142. "label": "Additional Environment Variables",
  143. "description": "Configure additional environment variables for SFTPGo.",
  144. "schema": {
  145. "type": "list",
  146. "default": [],
  147. "items": [
  148. {
  149. "variable": "env",
  150. "label": "Environment Variable",
  151. "schema": {
  152. "type": "dict",
  153. "attrs": [
  154. {
  155. "variable": "name",
  156. "label": "Name",
  157. "schema": {
  158. "type": "string",
  159. "required": true
  160. }
  161. },
  162. {
  163. "variable": "value",
  164. "label": "Value",
  165. "schema": {
  166. "type": "string",
  167. "required": true
  168. }
  169. }
  170. ]
  171. }
  172. }
  173. ]
  174. }
  175. }
  176. ]
  177. }
  178. },
  179. {
  180. "variable": "sftpgoRunAs",
  181. "label": "",
  182. "group": "User and Group Configuration",
  183. "schema": {
  184. "type": "dict",
  185. "attrs": [
  186. {
  187. "variable": "user",
  188. "label": "User ID",
  189. "description": "The user id that SFTPGo will run as.",
  190. "schema": {
  191. "type": "int",
  192. "min": 2,
  193. "default": 568,
  194. "required": true
  195. }
  196. },
  197. {
  198. "variable": "group",
  199. "label": "Group ID",
  200. "description": "The group id that SFTPGo will run as.",
  201. "schema": {
  202. "type": "int",
  203. "min": 2,
  204. "default": 568,
  205. "required": true
  206. }
  207. }
  208. ]
  209. }
  210. },
  211. {
  212. "variable": "sftpgoNetwork",
  213. "label": "",
  214. "group": "Network Configuration",
  215. "schema": {
  216. "type": "dict",
  217. "attrs": [
  218. {
  219. "variable": "hostNetwork",
  220. "label": "Host Network",
  221. "description": "Bind to the host network. It's recommended to keep this disabled.</br>\n",
  222. "schema": {
  223. "type": "boolean",
  224. "default": false
  225. }
  226. },
  227. {
  228. "variable": "certificateID",
  229. "label": "Certificate",
  230. "description": "The certificate to use for SFTPGo WebUI",
  231. "schema": {
  232. "type": "int",
  233. "null": true,
  234. "$ref": [
  235. "definitions/certificate"
  236. ],
  237. "enum": [
  238. {
  239. "value": null,
  240. "description": "No Certificate"
  241. }
  242. ],
  243. "default": null
  244. }
  245. },
  246. {
  247. "variable": "webPort",
  248. "label": "Web Port",
  249. "description": "The port for the SFTPGo Web UI.",
  250. "schema": {
  251. "type": "int",
  252. "default": 30086,
  253. "min": 9000,
  254. "max": 65535,
  255. "required": true
  256. }
  257. },
  258. {
  259. "variable": "webdavdServices",
  260. "label": "WebDAVd Services",
  261. "description": "Enable one or more WebDAVd services.",
  262. "schema": {
  263. "type": "list",
  264. "default": [],
  265. "items": [
  266. {
  267. "variable": "webdavdServiceEntry",
  268. "label": "WebDAVd Service Entry",
  269. "schema": {
  270. "type": "dict",
  271. "attrs": [
  272. {
  273. "variable": "enabled",
  274. "label": "Enabled",
  275. "description": "Enable this WebDAVd service.",
  276. "schema": {
  277. "type": "boolean",
  278. "default": false
  279. }
  280. },
  281. {
  282. "variable": "port",
  283. "label": "Port",
  284. "description": "The port for WebDAVd.",
  285. "schema": {
  286. "type": "int",
  287. "default": 30089,
  288. "min": 9000,
  289. "max": 65535,
  290. "required": true
  291. }
  292. }
  293. ]
  294. }
  295. }
  296. ]
  297. }
  298. },
  299. {
  300. "variable": "sftpdServices",
  301. "label": "SFTPd Services",
  302. "description": "Enable one or more SFTPd services.",
  303. "schema": {
  304. "type": "list",
  305. "default": [],
  306. "items": [
  307. {
  308. "variable": "sftpdServiceEntry",
  309. "label": "SFTPd Service Entry",
  310. "schema": {
  311. "type": "dict",
  312. "attrs": [
  313. {
  314. "variable": "enabled",
  315. "label": "Enabled",
  316. "description": "Enable this SFTPd service.",
  317. "schema": {
  318. "type": "boolean",
  319. "default": false
  320. }
  321. },
  322. {
  323. "variable": "port",
  324. "label": "Port",
  325. "description": "The port for SFTPd.",
  326. "schema": {
  327. "type": "int",
  328. "default": 30087,
  329. "min": 9000,
  330. "max": 65535,
  331. "required": true
  332. }
  333. }
  334. ]
  335. }
  336. }
  337. ]
  338. }
  339. },
  340. {
  341. "variable": "ftpdServices",
  342. "label": "FTPd Services",
  343. "description": "Enable one or more FTPd services.",
  344. "schema": {
  345. "type": "list",
  346. "default": [],
  347. "items": [
  348. {
  349. "variable": "ftpdServiceEntry",
  350. "label": "FTPd Service Entry",
  351. "schema": {
  352. "type": "dict",
  353. "attrs": [
  354. {
  355. "variable": "enabled",
  356. "label": "Enabled",
  357. "description": "Enable this FTPd service.",
  358. "schema": {
  359. "type": "boolean",
  360. "default": false
  361. }
  362. },
  363. {
  364. "variable": "port",
  365. "label": "Port",
  366. "description": "The port for FTPd.",
  367. "schema": {
  368. "type": "int",
  369. "default": 30088,
  370. "min": 9000,
  371. "max": 65535,
  372. "required": true
  373. }
  374. }
  375. ]
  376. }
  377. }
  378. ]
  379. }
  380. },
  381. {
  382. "variable": "ftpdPassivePortRange",
  383. "label": "FTPd Passive Port Range",
  384. "description": "The port range for FTPd passive connections.",
  385. "schema": {
  386. "type": "dict",
  387. "show_if": [
  388. [
  389. "ftpdServices",
  390. "!=",
  391. []
  392. ]
  393. ],
  394. "attrs": [
  395. {
  396. "variable": "start",
  397. "label": "Start",
  398. "description": "The start of the port range.",
  399. "schema": {
  400. "type": "int",
  401. "default": 50000,
  402. "min": 9000,
  403. "max": 65535,
  404. "required": true
  405. }
  406. },
  407. {
  408. "variable": "end",
  409. "label": "End",
  410. "description": "The end of the port range.",
  411. "schema": {
  412. "type": "int",
  413. "default": 50001,
  414. "min": 9000,
  415. "max": 65535,
  416. "required": true
  417. }
  418. }
  419. ]
  420. }
  421. }
  422. ]
  423. }
  424. },
  425. {
  426. "variable": "sftpgoStorage",
  427. "label": "",
  428. "group": "Storage Configuration",
  429. "schema": {
  430. "type": "dict",
  431. "attrs": [
  432. {
  433. "variable": "config",
  434. "label": "SFTPGo Config Storage",
  435. "description": "The path to store SFTPGo Configuration.",
  436. "schema": {
  437. "type": "dict",
  438. "attrs": [
  439. {
  440. "variable": "type",
  441. "label": "Type",
  442. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  443. "schema": {
  444. "type": "string",
  445. "required": true,
  446. "immutable": true,
  447. "default": "ixVolume",
  448. "enum": [
  449. {
  450. "value": "hostPath",
  451. "description": "Host Path (Path that already exists on the system)"
  452. },
  453. {
  454. "value": "ixVolume",
  455. "description": "ixVolume (Dataset created automatically by the system)"
  456. }
  457. ]
  458. }
  459. },
  460. {
  461. "variable": "ixVolumeConfig",
  462. "label": "ixVolume Configuration",
  463. "description": "The configuration for the ixVolume dataset.",
  464. "schema": {
  465. "type": "dict",
  466. "show_if": [
  467. [
  468. "type",
  469. "=",
  470. "ixVolume"
  471. ]
  472. ],
  473. "$ref": [
  474. "normalize/ixVolume"
  475. ],
  476. "attrs": [
  477. {
  478. "variable": "aclEnable",
  479. "label": "Enable ACL",
  480. "description": "Enable ACL for the dataset.",
  481. "schema": {
  482. "type": "boolean",
  483. "default": false
  484. }
  485. },
  486. {
  487. "variable": "datasetName",
  488. "label": "Dataset Name",
  489. "description": "The name of the dataset to use for storage.",
  490. "schema": {
  491. "type": "string",
  492. "required": true,
  493. "immutable": true,
  494. "hidden": true,
  495. "default": "config"
  496. }
  497. },
  498. {
  499. "variable": "aclEntries",
  500. "label": "ACL Configuration",
  501. "schema": {
  502. "type": "dict",
  503. "show_if": [
  504. [
  505. "aclEnable",
  506. "=",
  507. true
  508. ]
  509. ],
  510. "attrs": [
  511. {
  512. "variable": "path",
  513. "label": "Path",
  514. "description": "Path to perform ACL",
  515. "schema": {
  516. "type": "string",
  517. "hidden": true
  518. }
  519. },
  520. {
  521. "variable": "entries",
  522. "label": "ACL Entries",
  523. "description": "ACL Entries",
  524. "schema": {
  525. "type": "list",
  526. "items": [
  527. {
  528. "variable": "aclEntry",
  529. "label": "ACL Entry",
  530. "schema": {
  531. "type": "dict",
  532. "attrs": [
  533. {
  534. "variable": "id_type",
  535. "label": "ID Type",
  536. "schema": {
  537. "type": "string",
  538. "enum": [
  539. {
  540. "value": "USER",
  541. "description": "Entry is for a USER"
  542. },
  543. {
  544. "value": "GROUP",
  545. "description": "Entry is for a GROUP"
  546. }
  547. ],
  548. "default": "USER"
  549. }
  550. },
  551. {
  552. "variable": "id",
  553. "label": "ID",
  554. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  555. "schema": {
  556. "type": "int",
  557. "required": true,
  558. "min": 0
  559. }
  560. },
  561. {
  562. "variable": "access",
  563. "label": "Access",
  564. "schema": {
  565. "type": "string",
  566. "enum": [
  567. {
  568. "value": "READ",
  569. "description": "Read Access"
  570. },
  571. {
  572. "value": "MODIFY",
  573. "description": "Modify Access"
  574. },
  575. {
  576. "value": "FULL_CONTROL",
  577. "description": "FULL_CONTROL Access"
  578. }
  579. ]
  580. }
  581. }
  582. ]
  583. }
  584. }
  585. ]
  586. }
  587. }
  588. ]
  589. }
  590. }
  591. ]
  592. }
  593. },
  594. {
  595. "variable": "hostPathConfig",
  596. "label": "Host Path Configuration",
  597. "schema": {
  598. "type": "dict",
  599. "show_if": [
  600. [
  601. "type",
  602. "=",
  603. "hostPath"
  604. ]
  605. ],
  606. "attrs": [
  607. {
  608. "variable": "aclEnable",
  609. "label": "Enable ACL",
  610. "description": "Enable ACL for the dataset.",
  611. "schema": {
  612. "type": "boolean",
  613. "default": false
  614. }
  615. },
  616. {
  617. "variable": "acl",
  618. "label": "ACL Configuration",
  619. "schema": {
  620. "type": "dict",
  621. "show_if": [
  622. [
  623. "aclEnable",
  624. "=",
  625. true
  626. ]
  627. ],
  628. "attrs": [
  629. {
  630. "variable": "path",
  631. "label": "Host Path",
  632. "description": "Host Path to perform ACL",
  633. "schema": {
  634. "type": "hostpath",
  635. "required": true,
  636. "empty": false
  637. }
  638. },
  639. {
  640. "variable": "entries",
  641. "label": "ACL Entries",
  642. "description": "ACL Entries",
  643. "schema": {
  644. "type": "list",
  645. "items": [
  646. {
  647. "variable": "aclEntry",
  648. "label": "ACL Entry",
  649. "schema": {
  650. "type": "dict",
  651. "attrs": [
  652. {
  653. "variable": "id_type",
  654. "label": "ID Type",
  655. "schema": {
  656. "type": "string",
  657. "enum": [
  658. {
  659. "value": "USER",
  660. "description": "Entry is for a USER"
  661. },
  662. {
  663. "value": "GROUP",
  664. "description": "Entry is for a GROUP"
  665. }
  666. ],
  667. "default": "USER"
  668. }
  669. },
  670. {
  671. "variable": "id",
  672. "label": "ID",
  673. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  674. "schema": {
  675. "type": "int",
  676. "required": true,
  677. "min": 0
  678. }
  679. },
  680. {
  681. "variable": "access",
  682. "label": "Access",
  683. "schema": {
  684. "type": "string",
  685. "enum": [
  686. {
  687. "value": "READ",
  688. "description": "Read Access"
  689. },
  690. {
  691. "value": "MODIFY",
  692. "description": "Modify Access"
  693. },
  694. {
  695. "value": "FULL_CONTROL",
  696. "description": "FULL_CONTROL Access"
  697. }
  698. ]
  699. }
  700. }
  701. ]
  702. }
  703. }
  704. ]
  705. }
  706. },
  707. {
  708. "variable": "options",
  709. "label": "ACL Options",
  710. "schema": {
  711. "type": "dict",
  712. "attrs": [
  713. {
  714. "variable": "force",
  715. "label": "Force Flag",
  716. "description": "Enabling `Force` applies ACL even if the path has existing data",
  717. "schema": {
  718. "type": "boolean",
  719. "default": false
  720. }
  721. }
  722. ]
  723. }
  724. }
  725. ],
  726. "$ref": [
  727. "normalize/acl"
  728. ]
  729. }
  730. },
  731. {
  732. "variable": "hostPath",
  733. "label": "Host Path",
  734. "description": "The host path to use for storage.",
  735. "schema": {
  736. "type": "hostpath",
  737. "show_if": [
  738. [
  739. "aclEnable",
  740. "=",
  741. false
  742. ]
  743. ],
  744. "required": true
  745. }
  746. }
  747. ]
  748. }
  749. }
  750. ]
  751. }
  752. },
  753. {
  754. "variable": "data",
  755. "label": "SFTPGo Data Storage",
  756. "description": "The path to store SFTPGo Data.",
  757. "schema": {
  758. "type": "dict",
  759. "attrs": [
  760. {
  761. "variable": "type",
  762. "label": "Type",
  763. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  764. "schema": {
  765. "type": "string",
  766. "required": true,
  767. "immutable": true,
  768. "default": "ixVolume",
  769. "enum": [
  770. {
  771. "value": "hostPath",
  772. "description": "Host Path (Path that already exists on the system)"
  773. },
  774. {
  775. "value": "ixVolume",
  776. "description": "ixVolume (Dataset created automatically by the system)"
  777. }
  778. ]
  779. }
  780. },
  781. {
  782. "variable": "ixVolumeConfig",
  783. "label": "ixVolume Configuration",
  784. "description": "The configuration for the ixVolume dataset.",
  785. "schema": {
  786. "type": "dict",
  787. "show_if": [
  788. [
  789. "type",
  790. "=",
  791. "ixVolume"
  792. ]
  793. ],
  794. "$ref": [
  795. "normalize/ixVolume"
  796. ],
  797. "attrs": [
  798. {
  799. "variable": "aclEnable",
  800. "label": "Enable ACL",
  801. "description": "Enable ACL for the dataset.",
  802. "schema": {
  803. "type": "boolean",
  804. "default": false
  805. }
  806. },
  807. {
  808. "variable": "datasetName",
  809. "label": "Dataset Name",
  810. "description": "The name of the dataset to use for storage.",
  811. "schema": {
  812. "type": "string",
  813. "required": true,
  814. "immutable": true,
  815. "hidden": true,
  816. "default": "data"
  817. }
  818. },
  819. {
  820. "variable": "aclEntries",
  821. "label": "ACL Configuration",
  822. "schema": {
  823. "type": "dict",
  824. "show_if": [
  825. [
  826. "aclEnable",
  827. "=",
  828. true
  829. ]
  830. ],
  831. "attrs": [
  832. {
  833. "variable": "path",
  834. "label": "Path",
  835. "description": "Path to perform ACL",
  836. "schema": {
  837. "type": "string",
  838. "hidden": true
  839. }
  840. },
  841. {
  842. "variable": "entries",
  843. "label": "ACL Entries",
  844. "description": "ACL Entries",
  845. "schema": {
  846. "type": "list",
  847. "items": [
  848. {
  849. "variable": "aclEntry",
  850. "label": "ACL Entry",
  851. "schema": {
  852. "type": "dict",
  853. "attrs": [
  854. {
  855. "variable": "id_type",
  856. "label": "ID Type",
  857. "schema": {
  858. "type": "string",
  859. "enum": [
  860. {
  861. "value": "USER",
  862. "description": "Entry is for a USER"
  863. },
  864. {
  865. "value": "GROUP",
  866. "description": "Entry is for a GROUP"
  867. }
  868. ],
  869. "default": "USER"
  870. }
  871. },
  872. {
  873. "variable": "id",
  874. "label": "ID",
  875. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  876. "schema": {
  877. "type": "int",
  878. "required": true,
  879. "min": 0
  880. }
  881. },
  882. {
  883. "variable": "access",
  884. "label": "Access",
  885. "schema": {
  886. "type": "string",
  887. "enum": [
  888. {
  889. "value": "READ",
  890. "description": "Read Access"
  891. },
  892. {
  893. "value": "MODIFY",
  894. "description": "Modify Access"
  895. },
  896. {
  897. "value": "FULL_CONTROL",
  898. "description": "FULL_CONTROL Access"
  899. }
  900. ]
  901. }
  902. }
  903. ]
  904. }
  905. }
  906. ]
  907. }
  908. }
  909. ]
  910. }
  911. }
  912. ]
  913. }
  914. },
  915. {
  916. "variable": "hostPathConfig",
  917. "label": "Host Path Configuration",
  918. "schema": {
  919. "type": "dict",
  920. "show_if": [
  921. [
  922. "type",
  923. "=",
  924. "hostPath"
  925. ]
  926. ],
  927. "attrs": [
  928. {
  929. "variable": "aclEnable",
  930. "label": "Enable ACL",
  931. "description": "Enable ACL for the dataset.",
  932. "schema": {
  933. "type": "boolean",
  934. "default": false
  935. }
  936. },
  937. {
  938. "variable": "acl",
  939. "label": "ACL Configuration",
  940. "schema": {
  941. "type": "dict",
  942. "show_if": [
  943. [
  944. "aclEnable",
  945. "=",
  946. true
  947. ]
  948. ],
  949. "attrs": [
  950. {
  951. "variable": "path",
  952. "label": "Host Path",
  953. "description": "Host Path to perform ACL",
  954. "schema": {
  955. "type": "hostpath",
  956. "required": true,
  957. "empty": false
  958. }
  959. },
  960. {
  961. "variable": "entries",
  962. "label": "ACL Entries",
  963. "description": "ACL Entries",
  964. "schema": {
  965. "type": "list",
  966. "items": [
  967. {
  968. "variable": "aclEntry",
  969. "label": "ACL Entry",
  970. "schema": {
  971. "type": "dict",
  972. "attrs": [
  973. {
  974. "variable": "id_type",
  975. "label": "ID Type",
  976. "schema": {
  977. "type": "string",
  978. "enum": [
  979. {
  980. "value": "USER",
  981. "description": "Entry is for a USER"
  982. },
  983. {
  984. "value": "GROUP",
  985. "description": "Entry is for a GROUP"
  986. }
  987. ],
  988. "default": "USER"
  989. }
  990. },
  991. {
  992. "variable": "id",
  993. "label": "ID",
  994. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  995. "schema": {
  996. "type": "int",
  997. "required": true,
  998. "min": 0
  999. }
  1000. },
  1001. {
  1002. "variable": "access",
  1003. "label": "Access",
  1004. "schema": {
  1005. "type": "string",
  1006. "enum": [
  1007. {
  1008. "value": "READ",
  1009. "description": "Read Access"
  1010. },
  1011. {
  1012. "value": "MODIFY",
  1013. "description": "Modify Access"
  1014. },
  1015. {
  1016. "value": "FULL_CONTROL",
  1017. "description": "FULL_CONTROL Access"
  1018. }
  1019. ]
  1020. }
  1021. }
  1022. ]
  1023. }
  1024. }
  1025. ]
  1026. }
  1027. },
  1028. {
  1029. "variable": "options",
  1030. "label": "ACL Options",
  1031. "schema": {
  1032. "type": "dict",
  1033. "attrs": [
  1034. {
  1035. "variable": "force",
  1036. "label": "Force Flag",
  1037. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1038. "schema": {
  1039. "type": "boolean",
  1040. "default": false
  1041. }
  1042. }
  1043. ]
  1044. }
  1045. }
  1046. ],
  1047. "$ref": [
  1048. "normalize/acl"
  1049. ]
  1050. }
  1051. },
  1052. {
  1053. "variable": "hostPath",
  1054. "label": "Host Path",
  1055. "description": "The host path to use for storage.",
  1056. "schema": {
  1057. "type": "hostpath",
  1058. "show_if": [
  1059. [
  1060. "aclEnable",
  1061. "=",
  1062. false
  1063. ]
  1064. ],
  1065. "required": true
  1066. }
  1067. }
  1068. ]
  1069. }
  1070. }
  1071. ]
  1072. }
  1073. },
  1074. {
  1075. "variable": "backups",
  1076. "label": "SFTPGo Backups Storage",
  1077. "description": "The path to store SFTPGo Backups.",
  1078. "schema": {
  1079. "type": "dict",
  1080. "attrs": [
  1081. {
  1082. "variable": "type",
  1083. "label": "Type",
  1084. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  1085. "schema": {
  1086. "type": "string",
  1087. "required": true,
  1088. "immutable": true,
  1089. "default": "ixVolume",
  1090. "enum": [
  1091. {
  1092. "value": "hostPath",
  1093. "description": "Host Path (Path that already exists on the system)"
  1094. },
  1095. {
  1096. "value": "ixVolume",
  1097. "description": "ixVolume (Dataset created automatically by the system)"
  1098. }
  1099. ]
  1100. }
  1101. },
  1102. {
  1103. "variable": "ixVolumeConfig",
  1104. "label": "ixVolume Configuration",
  1105. "description": "The configuration for the ixVolume dataset.",
  1106. "schema": {
  1107. "type": "dict",
  1108. "show_if": [
  1109. [
  1110. "type",
  1111. "=",
  1112. "ixVolume"
  1113. ]
  1114. ],
  1115. "$ref": [
  1116. "normalize/ixVolume"
  1117. ],
  1118. "attrs": [
  1119. {
  1120. "variable": "aclEnable",
  1121. "label": "Enable ACL",
  1122. "description": "Enable ACL for the dataset.",
  1123. "schema": {
  1124. "type": "boolean",
  1125. "default": false
  1126. }
  1127. },
  1128. {
  1129. "variable": "datasetName",
  1130. "label": "Dataset Name",
  1131. "description": "The name of the dataset to use for storage.",
  1132. "schema": {
  1133. "type": "string",
  1134. "required": true,
  1135. "immutable": true,
  1136. "hidden": true,
  1137. "default": "backups"
  1138. }
  1139. },
  1140. {
  1141. "variable": "aclEntries",
  1142. "label": "ACL Configuration",
  1143. "schema": {
  1144. "type": "dict",
  1145. "show_if": [
  1146. [
  1147. "aclEnable",
  1148. "=",
  1149. true
  1150. ]
  1151. ],
  1152. "attrs": [
  1153. {
  1154. "variable": "path",
  1155. "label": "Path",
  1156. "description": "Path to perform ACL",
  1157. "schema": {
  1158. "type": "string",
  1159. "hidden": true
  1160. }
  1161. },
  1162. {
  1163. "variable": "entries",
  1164. "label": "ACL Entries",
  1165. "description": "ACL Entries",
  1166. "schema": {
  1167. "type": "list",
  1168. "items": [
  1169. {
  1170. "variable": "aclEntry",
  1171. "label": "ACL Entry",
  1172. "schema": {
  1173. "type": "dict",
  1174. "attrs": [
  1175. {
  1176. "variable": "id_type",
  1177. "label": "ID Type",
  1178. "schema": {
  1179. "type": "string",
  1180. "enum": [
  1181. {
  1182. "value": "USER",
  1183. "description": "Entry is for a USER"
  1184. },
  1185. {
  1186. "value": "GROUP",
  1187. "description": "Entry is for a GROUP"
  1188. }
  1189. ],
  1190. "default": "USER"
  1191. }
  1192. },
  1193. {
  1194. "variable": "id",
  1195. "label": "ID",
  1196. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1197. "schema": {
  1198. "type": "int",
  1199. "required": true,
  1200. "min": 0
  1201. }
  1202. },
  1203. {
  1204. "variable": "access",
  1205. "label": "Access",
  1206. "schema": {
  1207. "type": "string",
  1208. "enum": [
  1209. {
  1210. "value": "READ",
  1211. "description": "Read Access"
  1212. },
  1213. {
  1214. "value": "MODIFY",
  1215. "description": "Modify Access"
  1216. },
  1217. {
  1218. "value": "FULL_CONTROL",
  1219. "description": "FULL_CONTROL Access"
  1220. }
  1221. ]
  1222. }
  1223. }
  1224. ]
  1225. }
  1226. }
  1227. ]
  1228. }
  1229. }
  1230. ]
  1231. }
  1232. }
  1233. ]
  1234. }
  1235. },
  1236. {
  1237. "variable": "hostPathConfig",
  1238. "label": "Host Path Configuration",
  1239. "schema": {
  1240. "type": "dict",
  1241. "show_if": [
  1242. [
  1243. "type",
  1244. "=",
  1245. "hostPath"
  1246. ]
  1247. ],
  1248. "attrs": [
  1249. {
  1250. "variable": "aclEnable",
  1251. "label": "Enable ACL",
  1252. "description": "Enable ACL for the dataset.",
  1253. "schema": {
  1254. "type": "boolean",
  1255. "default": false
  1256. }
  1257. },
  1258. {
  1259. "variable": "acl",
  1260. "label": "ACL Configuration",
  1261. "schema": {
  1262. "type": "dict",
  1263. "show_if": [
  1264. [
  1265. "aclEnable",
  1266. "=",
  1267. true
  1268. ]
  1269. ],
  1270. "attrs": [
  1271. {
  1272. "variable": "path",
  1273. "label": "Host Path",
  1274. "description": "Host Path to perform ACL",
  1275. "schema": {
  1276. "type": "hostpath",
  1277. "required": true,
  1278. "empty": false
  1279. }
  1280. },
  1281. {
  1282. "variable": "entries",
  1283. "label": "ACL Entries",
  1284. "description": "ACL Entries",
  1285. "schema": {
  1286. "type": "list",
  1287. "items": [
  1288. {
  1289. "variable": "aclEntry",
  1290. "label": "ACL Entry",
  1291. "schema": {
  1292. "type": "dict",
  1293. "attrs": [
  1294. {
  1295. "variable": "id_type",
  1296. "label": "ID Type",
  1297. "schema": {
  1298. "type": "string",
  1299. "enum": [
  1300. {
  1301. "value": "USER",
  1302. "description": "Entry is for a USER"
  1303. },
  1304. {
  1305. "value": "GROUP",
  1306. "description": "Entry is for a GROUP"
  1307. }
  1308. ],
  1309. "default": "USER"
  1310. }
  1311. },
  1312. {
  1313. "variable": "id",
  1314. "label": "ID",
  1315. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1316. "schema": {
  1317. "type": "int",
  1318. "required": true,
  1319. "min": 0
  1320. }
  1321. },
  1322. {
  1323. "variable": "access",
  1324. "label": "Access",
  1325. "schema": {
  1326. "type": "string",
  1327. "enum": [
  1328. {
  1329. "value": "READ",
  1330. "description": "Read Access"
  1331. },
  1332. {
  1333. "value": "MODIFY",
  1334. "description": "Modify Access"
  1335. },
  1336. {
  1337. "value": "FULL_CONTROL",
  1338. "description": "FULL_CONTROL Access"
  1339. }
  1340. ]
  1341. }
  1342. }
  1343. ]
  1344. }
  1345. }
  1346. ]
  1347. }
  1348. },
  1349. {
  1350. "variable": "options",
  1351. "label": "ACL Options",
  1352. "schema": {
  1353. "type": "dict",
  1354. "attrs": [
  1355. {
  1356. "variable": "force",
  1357. "label": "Force Flag",
  1358. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1359. "schema": {
  1360. "type": "boolean",
  1361. "default": false
  1362. }
  1363. }
  1364. ]
  1365. }
  1366. }
  1367. ],
  1368. "$ref": [
  1369. "normalize/acl"
  1370. ]
  1371. }
  1372. },
  1373. {
  1374. "variable": "hostPath",
  1375. "label": "Host Path",
  1376. "description": "The host path to use for storage.",
  1377. "schema": {
  1378. "type": "hostpath",
  1379. "show_if": [
  1380. [
  1381. "aclEnable",
  1382. "=",
  1383. false
  1384. ]
  1385. ],
  1386. "required": true
  1387. }
  1388. }
  1389. ]
  1390. }
  1391. }
  1392. ]
  1393. }
  1394. },
  1395. {
  1396. "variable": "additionalStorages",
  1397. "label": "Additional Storage",
  1398. "description": "Additional storage for SFTPGo.",
  1399. "schema": {
  1400. "type": "list",
  1401. "default": [],
  1402. "items": [
  1403. {
  1404. "variable": "storageEntry",
  1405. "label": "Storage Entry",
  1406. "schema": {
  1407. "type": "dict",
  1408. "attrs": [
  1409. {
  1410. "variable": "type",
  1411. "label": "Type",
  1412. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.</br>\nSMB Share: Is a SMB share that is mounted to a persistent volume claim.\n",
  1413. "schema": {
  1414. "type": "string",
  1415. "required": true,
  1416. "default": "ixVolume",
  1417. "immutable": true,
  1418. "enum": [
  1419. {
  1420. "value": "hostPath",
  1421. "description": "Host Path (Path that already exists on the system)"
  1422. },
  1423. {
  1424. "value": "ixVolume",
  1425. "description": "ixVolume (Dataset created automatically by the system)"
  1426. },
  1427. {
  1428. "value": "smb-pv-pvc",
  1429. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1430. }
  1431. ]
  1432. }
  1433. },
  1434. {
  1435. "variable": "readOnly",
  1436. "label": "Read Only",
  1437. "description": "Mount the volume as read only.",
  1438. "schema": {
  1439. "type": "boolean",
  1440. "default": false
  1441. }
  1442. },
  1443. {
  1444. "variable": "mountPath",
  1445. "label": "Mount Path",
  1446. "description": "The path inside the container to mount the storage.",
  1447. "schema": {
  1448. "type": "path",
  1449. "required": true
  1450. }
  1451. },
  1452. {
  1453. "variable": "hostPathConfig",
  1454. "label": "Host Path Configuration",
  1455. "schema": {
  1456. "type": "dict",
  1457. "show_if": [
  1458. [
  1459. "type",
  1460. "=",
  1461. "hostPath"
  1462. ]
  1463. ],
  1464. "attrs": [
  1465. {
  1466. "variable": "aclEnable",
  1467. "label": "Enable ACL",
  1468. "description": "Enable ACL for the dataset.",
  1469. "schema": {
  1470. "type": "boolean",
  1471. "default": false
  1472. }
  1473. },
  1474. {
  1475. "variable": "acl",
  1476. "label": "ACL Configuration",
  1477. "schema": {
  1478. "type": "dict",
  1479. "show_if": [
  1480. [
  1481. "aclEnable",
  1482. "=",
  1483. true
  1484. ]
  1485. ],
  1486. "attrs": [
  1487. {
  1488. "variable": "path",
  1489. "label": "Host Path",
  1490. "description": "Host Path to perform ACL",
  1491. "schema": {
  1492. "type": "hostpath",
  1493. "required": true,
  1494. "empty": false
  1495. }
  1496. },
  1497. {
  1498. "variable": "entries",
  1499. "label": "ACL Entries",
  1500. "description": "ACL Entries",
  1501. "schema": {
  1502. "type": "list",
  1503. "items": [
  1504. {
  1505. "variable": "aclEntry",
  1506. "label": "ACL Entry",
  1507. "schema": {
  1508. "type": "dict",
  1509. "attrs": [
  1510. {
  1511. "variable": "id_type",
  1512. "label": "ID Type",
  1513. "schema": {
  1514. "type": "string",
  1515. "enum": [
  1516. {
  1517. "value": "USER",
  1518. "description": "Entry is for a USER"
  1519. },
  1520. {
  1521. "value": "GROUP",
  1522. "description": "Entry is for a GROUP"
  1523. }
  1524. ],
  1525. "default": "USER"
  1526. }
  1527. },
  1528. {
  1529. "variable": "id",
  1530. "label": "ID",
  1531. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1532. "schema": {
  1533. "type": "int",
  1534. "required": true,
  1535. "min": 0
  1536. }
  1537. },
  1538. {
  1539. "variable": "access",
  1540. "label": "Access",
  1541. "schema": {
  1542. "type": "string",
  1543. "enum": [
  1544. {
  1545. "value": "READ",
  1546. "description": "Read Access"
  1547. },
  1548. {
  1549. "value": "MODIFY",
  1550. "description": "Modify Access"
  1551. },
  1552. {
  1553. "value": "FULL_CONTROL",
  1554. "description": "FULL_CONTROL Access"
  1555. }
  1556. ]
  1557. }
  1558. }
  1559. ]
  1560. }
  1561. }
  1562. ]
  1563. }
  1564. },
  1565. {
  1566. "variable": "options",
  1567. "label": "ACL Options",
  1568. "schema": {
  1569. "type": "dict",
  1570. "attrs": [
  1571. {
  1572. "variable": "force",
  1573. "label": "Force Flag",
  1574. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1575. "schema": {
  1576. "type": "boolean",
  1577. "default": false
  1578. }
  1579. }
  1580. ]
  1581. }
  1582. }
  1583. ],
  1584. "$ref": [
  1585. "normalize/acl"
  1586. ]
  1587. }
  1588. },
  1589. {
  1590. "variable": "hostPath",
  1591. "label": "Host Path",
  1592. "description": "The host path to use for storage.",
  1593. "schema": {
  1594. "type": "hostpath",
  1595. "show_if": [
  1596. [
  1597. "aclEnable",
  1598. "=",
  1599. false
  1600. ]
  1601. ],
  1602. "required": true
  1603. }
  1604. }
  1605. ]
  1606. }
  1607. },
  1608. {
  1609. "variable": "ixVolumeConfig",
  1610. "label": "ixVolume Configuration",
  1611. "description": "The configuration for the ixVolume dataset.",
  1612. "schema": {
  1613. "type": "dict",
  1614. "show_if": [
  1615. [
  1616. "type",
  1617. "=",
  1618. "ixVolume"
  1619. ]
  1620. ],
  1621. "$ref": [
  1622. "normalize/ixVolume"
  1623. ],
  1624. "attrs": [
  1625. {
  1626. "variable": "aclEnable",
  1627. "label": "Enable ACL",
  1628. "description": "Enable ACL for the dataset.",
  1629. "schema": {
  1630. "type": "boolean",
  1631. "default": false
  1632. }
  1633. },
  1634. {
  1635. "variable": "datasetName",
  1636. "label": "Dataset Name",
  1637. "description": "The name of the dataset to use for storage.",
  1638. "schema": {
  1639. "type": "string",
  1640. "required": true,
  1641. "immutable": true,
  1642. "default": "storage_entry"
  1643. }
  1644. },
  1645. {
  1646. "variable": "aclEntries",
  1647. "label": "ACL Configuration",
  1648. "schema": {
  1649. "type": "dict",
  1650. "show_if": [
  1651. [
  1652. "aclEnable",
  1653. "=",
  1654. true
  1655. ]
  1656. ],
  1657. "attrs": [
  1658. {
  1659. "variable": "path",
  1660. "label": "Path",
  1661. "description": "Path to perform ACL",
  1662. "schema": {
  1663. "type": "string",
  1664. "hidden": true
  1665. }
  1666. },
  1667. {
  1668. "variable": "entries",
  1669. "label": "ACL Entries",
  1670. "description": "ACL Entries",
  1671. "schema": {
  1672. "type": "list",
  1673. "items": [
  1674. {
  1675. "variable": "aclEntry",
  1676. "label": "ACL Entry",
  1677. "schema": {
  1678. "type": "dict",
  1679. "attrs": [
  1680. {
  1681. "variable": "id_type",
  1682. "label": "ID Type",
  1683. "schema": {
  1684. "type": "string",
  1685. "enum": [
  1686. {
  1687. "value": "USER",
  1688. "description": "Entry is for a USER"
  1689. },
  1690. {
  1691. "value": "GROUP",
  1692. "description": "Entry is for a GROUP"
  1693. }
  1694. ],
  1695. "default": "USER"
  1696. }
  1697. },
  1698. {
  1699. "variable": "id",
  1700. "label": "ID",
  1701. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1702. "schema": {
  1703. "type": "int",
  1704. "required": true,
  1705. "min": 0
  1706. }
  1707. },
  1708. {
  1709. "variable": "access",
  1710. "label": "Access",
  1711. "schema": {
  1712. "type": "string",
  1713. "enum": [
  1714. {
  1715. "value": "READ",
  1716. "description": "Read Access"
  1717. },
  1718. {
  1719. "value": "MODIFY",
  1720. "description": "Modify Access"
  1721. },
  1722. {
  1723. "value": "FULL_CONTROL",
  1724. "description": "FULL_CONTROL Access"
  1725. }
  1726. ]
  1727. }
  1728. }
  1729. ]
  1730. }
  1731. }
  1732. ]
  1733. }
  1734. }
  1735. ]
  1736. }
  1737. }
  1738. ]
  1739. }
  1740. },
  1741. {
  1742. "variable": "smbConfig",
  1743. "label": "SMB Share Configuration",
  1744. "description": "The configuration for the SMB Share.",
  1745. "schema": {
  1746. "type": "dict",
  1747. "show_if": [
  1748. [
  1749. "type",
  1750. "=",
  1751. "smb-pv-pvc"
  1752. ]
  1753. ],
  1754. "attrs": [
  1755. {
  1756. "variable": "server",
  1757. "label": "Server",
  1758. "description": "The server for the SMB share.",
  1759. "schema": {
  1760. "type": "string",
  1761. "required": true
  1762. }
  1763. },
  1764. {
  1765. "variable": "share",
  1766. "label": "Share",
  1767. "description": "The share name for the SMB share.",
  1768. "schema": {
  1769. "type": "string",
  1770. "required": true
  1771. }
  1772. },
  1773. {
  1774. "variable": "domain",
  1775. "label": "Domain (Optional)",
  1776. "description": "The domain for the SMB share.",
  1777. "schema": {
  1778. "type": "string"
  1779. }
  1780. },
  1781. {
  1782. "variable": "username",
  1783. "label": "Username",
  1784. "description": "The username for the SMB share.",
  1785. "schema": {
  1786. "type": "string",
  1787. "required": true
  1788. }
  1789. },
  1790. {
  1791. "variable": "password",
  1792. "label": "Password",
  1793. "description": "The password for the SMB share.",
  1794. "schema": {
  1795. "type": "string",
  1796. "required": true,
  1797. "private": true
  1798. }
  1799. },
  1800. {
  1801. "variable": "size",
  1802. "label": "Size (in Gi)",
  1803. "description": "The size of the volume quota.",
  1804. "schema": {
  1805. "type": "int",
  1806. "required": true,
  1807. "min": 1,
  1808. "default": 1
  1809. }
  1810. }
  1811. ]
  1812. }
  1813. }
  1814. ]
  1815. }
  1816. }
  1817. ]
  1818. }
  1819. }
  1820. ]
  1821. }
  1822. },
  1823. {
  1824. "variable": "resources",
  1825. "group": "Resources Configuration",
  1826. "label": "",
  1827. "schema": {
  1828. "type": "dict",
  1829. "attrs": [
  1830. {
  1831. "variable": "limits",
  1832. "label": "Limits",
  1833. "schema": {
  1834. "type": "dict",
  1835. "attrs": [
  1836. {
  1837. "variable": "cpu",
  1838. "label": "CPU",
  1839. "description": "CPU limit for SFTPGo.",
  1840. "schema": {
  1841. "type": "string",
  1842. "max_length": 6,
  1843. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1844. "valid_chars_error": "Valid CPU limit formats are</br>\n- Plain Integer - eg. 1</br>\n- Float - eg. 0.5</br>\n- Milicpu - eg. 500m\n",
  1845. "default": "4000m",
  1846. "required": true
  1847. }
  1848. },
  1849. {
  1850. "variable": "memory",
  1851. "label": "Memory",
  1852. "description": "Memory limit for SFTPGo.",
  1853. "schema": {
  1854. "type": "string",
  1855. "max_length": 12,
  1856. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1857. "valid_chars_error": "Valid Memory limit formats are</br>\n- Suffixed with E/P/T/G/M/K - eg. 1G</br>\n- Suffixed with Ei/Pi/Ti/Gi/Mi/Ki - eg. 1Gi</br>\n- Plain Integer in bytes - eg. 1024</br>\n- Exponent - eg. 134e6\n",
  1858. "default": "8Gi",
  1859. "required": true
  1860. }
  1861. }
  1862. ]
  1863. }
  1864. }
  1865. ]
  1866. }
  1867. }
  1868. ]
  1869. },
  1870. "app_readme": "<h1>SFTPGo</h1>\n<p><a href=\"https://github.com/drakkan/sftpgo\">SFTPGo</a> is a fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>SFTPGo</code> directories.\nAfterward, the <code>SFTPGo</code> container will run as a <strong>non</strong>-root user (Default: <code>568</code>).\nAll mounted storage(s) will be <code>chown</code>ed only if the parent directory does not match the configured user.</p>\n</blockquote>",
  1871. "detailed_readme": "<h1>SFTPGo</h1>\n<p><a href=\"https://github.com/drakkan/sftpgo\">SFTPGo</a> is a fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support - S3, Google Cloud Storage, Azure Blob</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>SFTPGo</code> directories.\nAfterward, the <code>SFTPGo</code> container will run as a <strong>non</strong>-root user (Default: <code>568</code>).\nAll mounted storage(s) will be <code>chown</code>ed only if the parent directory does not match the configured user.</p>\n</blockquote>",
  1872. "changelog": null
  1873. }
  1874. }