app_versions.json 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070
  1. {
  2. "1.2.4": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/enterprise/syncthing/1.2.4",
  7. "last_update": "2025-03-06 08:26:26",
  8. "required_features": [
  9. "normalize/acl",
  10. "definitions/timezone",
  11. "normalize/ixVolume",
  12. "definitions/certificate"
  13. ],
  14. "human_version": "1.28.0_1.2.4",
  15. "version": "1.2.4",
  16. "chart_metadata": {
  17. "name": "syncthing",
  18. "description": "Syncthing is a continuous file synchronization program.",
  19. "annotations": {
  20. "title": "Syncthing"
  21. },
  22. "type": "application",
  23. "version": "1.2.4",
  24. "apiVersion": "v2",
  25. "appVersion": "1.28.0",
  26. "kubeVersion": ">=1.16.0-0",
  27. "maintainers": [
  28. {
  29. "name": "truenas",
  30. "url": "https://www.truenas.com/",
  31. "email": "dev@ixsystems.com"
  32. }
  33. ],
  34. "dependencies": [
  35. {
  36. "name": "common",
  37. "repository": "file://../../../common",
  38. "version": "1.2.9"
  39. }
  40. ],
  41. "home": "https://syncthing.net/",
  42. "icon": "https://media.sys.truenas.net/apps/syncthing/icons/icon.svg",
  43. "sources": [
  44. "https://syncthing.net/",
  45. "https://github.com/syncthing/syncthing",
  46. "https://hub.docker.com/r/syncthing/syncthing",
  47. "https://github.com/truenas/charts/tree/master/enterprise/syncthing"
  48. ],
  49. "keywords": [
  50. "sync",
  51. "file-sharing"
  52. ]
  53. },
  54. "app_metadata": {
  55. "runAsContext": [
  56. {
  57. "userName": "root",
  58. "groupName": "root",
  59. "gid": 0,
  60. "uid": 0,
  61. "description": "Syncthing runs as root and starts the syncthing process as a non-root user."
  62. }
  63. ],
  64. "capabilities": [
  65. {
  66. "name": "CHOWN",
  67. "description": "Syncthing is able to chown files."
  68. },
  69. {
  70. "name": "DAC_OVERRIDE",
  71. "description": "Syncthing is able to bypass permission checks."
  72. },
  73. {
  74. "name": "FOWNER",
  75. "description": "Syncthing is able bypass permission checks for it's sub-processes."
  76. },
  77. {
  78. "name": "SETUID",
  79. "description": "Syncthing is able to set user ID for it's sub-processes."
  80. },
  81. {
  82. "name": "SETGID",
  83. "description": "Syncthing is able to set group ID for it's sub-processes."
  84. },
  85. {
  86. "name": "SETPCAP",
  87. "description": "Syncthing is able to set process capabilities."
  88. },
  89. {
  90. "name": "SETFCAP",
  91. "description": "Syncthing is able to set file capabilities."
  92. }
  93. ],
  94. "hostMounts": []
  95. },
  96. "schema": {
  97. "groups": [
  98. {
  99. "name": "Syncthing Configuration",
  100. "description": "Configure Syncthing"
  101. },
  102. {
  103. "name": "User and Group Configuration",
  104. "description": "Configure User and Group for Syncthing"
  105. },
  106. {
  107. "name": "Network Configuration",
  108. "description": "Configure Network for Syncthing"
  109. },
  110. {
  111. "name": "Storage Configuration",
  112. "description": "Configure Storage for Syncthing"
  113. },
  114. {
  115. "name": "Resources Configuration",
  116. "description": "Configure Resources for Syncthing"
  117. }
  118. ],
  119. "portals": {
  120. "web_portal": {
  121. "protocols": [
  122. "$kubernetes-resource_configmap_portal_protocol"
  123. ],
  124. "host": [
  125. "$kubernetes-resource_configmap_portal_host"
  126. ],
  127. "ports": [
  128. "$kubernetes-resource_configmap_portal_port"
  129. ],
  130. "path": "$kubernetes-resource_configmap_portal_path"
  131. }
  132. },
  133. "questions": [
  134. {
  135. "variable": "TZ",
  136. "group": "Syncthing Configuration",
  137. "label": "Timezone",
  138. "schema": {
  139. "type": "string",
  140. "default": "America/Los_Angeles",
  141. "required": true,
  142. "$ref": [
  143. "definitions/timezone"
  144. ],
  145. "enum": [
  146. {
  147. "value": "Asia/Damascus",
  148. "description": "'Asia/Damascus' timezone"
  149. },
  150. {
  151. "value": "Asia/Saigon",
  152. "description": "'Asia/Saigon' timezone"
  153. }
  154. ]
  155. }
  156. },
  157. {
  158. "variable": "syncthingConfig",
  159. "label": "",
  160. "group": "Syncthing Configuration",
  161. "schema": {
  162. "type": "dict",
  163. "attrs": [
  164. {
  165. "variable": "natTraversal",
  166. "label": "NAT Traversal",
  167. "schema": {
  168. "type": "boolean",
  169. "default": false,
  170. "hidden": true
  171. }
  172. },
  173. {
  174. "variable": "localDiscovery",
  175. "label": "Local Discovery",
  176. "schema": {
  177. "type": "boolean",
  178. "default": false,
  179. "hidden": true
  180. }
  181. },
  182. {
  183. "variable": "globalDiscovery",
  184. "label": "Global Discovery",
  185. "schema": {
  186. "type": "boolean",
  187. "default": false,
  188. "hidden": true
  189. }
  190. },
  191. {
  192. "variable": "telemetry",
  193. "label": "Telemetry",
  194. "schema": {
  195. "type": "boolean",
  196. "default": false,
  197. "hidden": true
  198. }
  199. },
  200. {
  201. "variable": "relaying",
  202. "label": "Relaying",
  203. "schema": {
  204. "type": "boolean",
  205. "default": false,
  206. "hidden": true
  207. }
  208. },
  209. {
  210. "variable": "announceLANAddresses",
  211. "label": "Announce LAN Addresses",
  212. "schema": {
  213. "type": "boolean",
  214. "default": false,
  215. "hidden": true
  216. }
  217. },
  218. {
  219. "variable": "additionalEnvs",
  220. "label": "Additional Environment Variables",
  221. "description": "Configure additional environment variables for Syncthing.",
  222. "schema": {
  223. "type": "list",
  224. "default": [],
  225. "items": [
  226. {
  227. "variable": "env",
  228. "label": "Environment Variable",
  229. "schema": {
  230. "type": "dict",
  231. "attrs": [
  232. {
  233. "variable": "name",
  234. "label": "Name",
  235. "schema": {
  236. "type": "string",
  237. "required": true
  238. }
  239. },
  240. {
  241. "variable": "value",
  242. "label": "Value",
  243. "schema": {
  244. "type": "string",
  245. "required": true
  246. }
  247. }
  248. ]
  249. }
  250. }
  251. ]
  252. }
  253. }
  254. ]
  255. }
  256. },
  257. {
  258. "variable": "syncthingID",
  259. "label": "",
  260. "group": "User and Group Configuration",
  261. "schema": {
  262. "type": "dict",
  263. "attrs": [
  264. {
  265. "variable": "user",
  266. "label": "User ID",
  267. "description": "The user id that Syncthing files will be owned by.",
  268. "schema": {
  269. "type": "int",
  270. "min": 568,
  271. "default": 568,
  272. "immutable": true,
  273. "required": true
  274. }
  275. },
  276. {
  277. "variable": "group",
  278. "label": "Group ID",
  279. "description": "The group id that Syncthing files will be owned by.",
  280. "schema": {
  281. "type": "int",
  282. "min": 568,
  283. "default": 568,
  284. "immutable": true,
  285. "required": true
  286. }
  287. }
  288. ]
  289. }
  290. },
  291. {
  292. "variable": "syncthingNetwork",
  293. "label": "",
  294. "group": "Network Configuration",
  295. "schema": {
  296. "type": "dict",
  297. "attrs": [
  298. {
  299. "variable": "hostNetwork",
  300. "label": "Host Network",
  301. "description": "Bind to the host network.</br></br>\nIf this is disabled, you will need to add your local networks in CIDR format to the Syncthing WebUI.</br>\nIn the Syncthing WebUI, go to Advanced Settings > Options > Always Local Nets</br>\nSeparate each CIDR network with a comma.</br>\nExample: 192.168.0.0/24,192.168.1.0/24\n",
  302. "schema": {
  303. "type": "boolean",
  304. "default": true
  305. }
  306. },
  307. {
  308. "variable": "webPort",
  309. "label": "Web Port",
  310. "description": "The port for the Syncthing WebUI.",
  311. "schema": {
  312. "type": "int",
  313. "default": 31000,
  314. "min": 9000,
  315. "max": 65535,
  316. "required": true
  317. }
  318. },
  319. {
  320. "variable": "tcpPort",
  321. "label": "TCP Port (File Transfers)",
  322. "description": "The TCP port for Syncthing transfers.",
  323. "schema": {
  324. "type": "int",
  325. "show_if": [
  326. [
  327. "hostNetwork",
  328. "=",
  329. false
  330. ]
  331. ],
  332. "default": 22000,
  333. "min": 9000,
  334. "max": 65535,
  335. "required": true
  336. }
  337. },
  338. {
  339. "variable": "quicPort",
  340. "label": "QUIC (UDP) Port (File Transfers)",
  341. "description": "The QUIC (UDP) port for Syncthing transfers.",
  342. "schema": {
  343. "type": "int",
  344. "show_if": [
  345. [
  346. "hostNetwork",
  347. "=",
  348. false
  349. ]
  350. ],
  351. "default": 22000,
  352. "min": 9000,
  353. "max": 65535,
  354. "required": true
  355. }
  356. },
  357. {
  358. "variable": "certificateID",
  359. "label": "Certificate",
  360. "description": "The certificate to use for Syncthing GUI.",
  361. "schema": {
  362. "type": "int",
  363. "null": true,
  364. "$ref": [
  365. "definitions/certificate"
  366. ],
  367. "enum": [
  368. {
  369. "value": null,
  370. "description": "No Certificate"
  371. }
  372. ],
  373. "default": null
  374. }
  375. }
  376. ]
  377. }
  378. },
  379. {
  380. "variable": "syncthingStorage",
  381. "label": "",
  382. "group": "Storage Configuration",
  383. "schema": {
  384. "type": "dict",
  385. "attrs": [
  386. {
  387. "variable": "home",
  388. "label": "Syncthing Home Storage",
  389. "description": "The path to store Syncthing Home Directory.",
  390. "schema": {
  391. "type": "dict",
  392. "attrs": [
  393. {
  394. "variable": "type",
  395. "label": "Type",
  396. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  397. "schema": {
  398. "type": "string",
  399. "required": true,
  400. "immutable": true,
  401. "default": "ixVolume",
  402. "enum": [
  403. {
  404. "value": "hostPath",
  405. "description": "Host Path (Path that already exists on the system)"
  406. },
  407. {
  408. "value": "ixVolume",
  409. "description": "ixVolume (Dataset created automatically by the system)"
  410. }
  411. ]
  412. }
  413. },
  414. {
  415. "variable": "ixVolumeConfig",
  416. "label": "ixVolume Configuration",
  417. "description": "The configuration for the ixVolume dataset.",
  418. "schema": {
  419. "type": "dict",
  420. "show_if": [
  421. [
  422. "type",
  423. "=",
  424. "ixVolume"
  425. ]
  426. ],
  427. "$ref": [
  428. "normalize/ixVolume"
  429. ],
  430. "attrs": [
  431. {
  432. "variable": "aclEnable",
  433. "label": "Enable ACL",
  434. "description": "Enable ACL for the dataset.",
  435. "schema": {
  436. "type": "boolean",
  437. "hidden": true,
  438. "default": false
  439. }
  440. },
  441. {
  442. "variable": "datasetName",
  443. "label": "Dataset Name",
  444. "description": "The name of the dataset to use for storage.",
  445. "schema": {
  446. "type": "string",
  447. "required": true,
  448. "immutable": true,
  449. "hidden": true,
  450. "default": "home"
  451. }
  452. },
  453. {
  454. "variable": "aclEntries",
  455. "label": "ACL Configuration",
  456. "schema": {
  457. "type": "dict",
  458. "show_if": [
  459. [
  460. "aclEnable",
  461. "=",
  462. true
  463. ]
  464. ],
  465. "attrs": [
  466. {
  467. "variable": "path",
  468. "label": "Path",
  469. "description": "Path to perform ACL",
  470. "schema": {
  471. "type": "string",
  472. "hidden": true
  473. }
  474. },
  475. {
  476. "variable": "entries",
  477. "label": "ACL Entries",
  478. "description": "ACL Entries",
  479. "schema": {
  480. "type": "list",
  481. "items": [
  482. {
  483. "variable": "aclEntry",
  484. "label": "ACL Entry",
  485. "schema": {
  486. "type": "dict",
  487. "attrs": [
  488. {
  489. "variable": "id_type",
  490. "label": "ID Type",
  491. "schema": {
  492. "type": "string",
  493. "enum": [
  494. {
  495. "value": "USER",
  496. "description": "Entry is for a USER"
  497. },
  498. {
  499. "value": "GROUP",
  500. "description": "Entry is for a GROUP"
  501. }
  502. ],
  503. "default": "USER"
  504. }
  505. },
  506. {
  507. "variable": "id",
  508. "label": "ID",
  509. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  510. "schema": {
  511. "type": "int",
  512. "required": true,
  513. "min": 0
  514. }
  515. },
  516. {
  517. "variable": "access",
  518. "label": "Access",
  519. "schema": {
  520. "type": "string",
  521. "enum": [
  522. {
  523. "value": "READ",
  524. "description": "Read Access"
  525. },
  526. {
  527. "value": "MODIFY",
  528. "description": "Modify Access"
  529. },
  530. {
  531. "value": "FULL_CONTROL",
  532. "description": "FULL_CONTROL Access"
  533. }
  534. ]
  535. }
  536. }
  537. ]
  538. }
  539. }
  540. ]
  541. }
  542. }
  543. ]
  544. }
  545. }
  546. ]
  547. }
  548. },
  549. {
  550. "variable": "hostPathConfig",
  551. "label": "Host Path Configuration",
  552. "schema": {
  553. "type": "dict",
  554. "show_if": [
  555. [
  556. "type",
  557. "=",
  558. "hostPath"
  559. ]
  560. ],
  561. "attrs": [
  562. {
  563. "variable": "aclEnable",
  564. "label": "Enable ACL",
  565. "description": "Enable ACL for the dataset.",
  566. "schema": {
  567. "type": "boolean",
  568. "hidden": true,
  569. "default": false
  570. }
  571. },
  572. {
  573. "variable": "acl",
  574. "label": "ACL Configuration",
  575. "schema": {
  576. "type": "dict",
  577. "show_if": [
  578. [
  579. "aclEnable",
  580. "=",
  581. true
  582. ]
  583. ],
  584. "attrs": [
  585. {
  586. "variable": "path",
  587. "label": "Host Path",
  588. "description": "Host Path to perform ACL",
  589. "schema": {
  590. "type": "hostpath",
  591. "required": true,
  592. "empty": false
  593. }
  594. },
  595. {
  596. "variable": "entries",
  597. "label": "ACL Entries",
  598. "description": "ACL Entries",
  599. "schema": {
  600. "type": "list",
  601. "items": [
  602. {
  603. "variable": "aclEntry",
  604. "label": "ACL Entry",
  605. "schema": {
  606. "type": "dict",
  607. "attrs": [
  608. {
  609. "variable": "id_type",
  610. "label": "ID Type",
  611. "schema": {
  612. "type": "string",
  613. "enum": [
  614. {
  615. "value": "USER",
  616. "description": "Entry is for a USER"
  617. },
  618. {
  619. "value": "GROUP",
  620. "description": "Entry is for a GROUP"
  621. }
  622. ],
  623. "default": "USER"
  624. }
  625. },
  626. {
  627. "variable": "id",
  628. "label": "ID",
  629. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  630. "schema": {
  631. "type": "int",
  632. "required": true,
  633. "min": 0
  634. }
  635. },
  636. {
  637. "variable": "access",
  638. "label": "Access",
  639. "schema": {
  640. "type": "string",
  641. "enum": [
  642. {
  643. "value": "READ",
  644. "description": "Read Access"
  645. },
  646. {
  647. "value": "MODIFY",
  648. "description": "Modify Access"
  649. },
  650. {
  651. "value": "FULL_CONTROL",
  652. "description": "FULL_CONTROL Access"
  653. }
  654. ]
  655. }
  656. }
  657. ]
  658. }
  659. }
  660. ]
  661. }
  662. },
  663. {
  664. "variable": "options",
  665. "label": "ACL Options",
  666. "schema": {
  667. "type": "dict",
  668. "attrs": [
  669. {
  670. "variable": "force",
  671. "label": "Force Flag",
  672. "description": "Enabling `Force` applies ACL even if the path has existing data",
  673. "schema": {
  674. "type": "boolean",
  675. "default": false
  676. }
  677. }
  678. ]
  679. }
  680. }
  681. ],
  682. "$ref": [
  683. "normalize/acl"
  684. ]
  685. }
  686. },
  687. {
  688. "variable": "hostPath",
  689. "label": "Host Path",
  690. "description": "The host path to use for storage.",
  691. "schema": {
  692. "type": "hostpath",
  693. "show_if": [
  694. [
  695. "aclEnable",
  696. "=",
  697. false
  698. ]
  699. ],
  700. "required": true
  701. }
  702. }
  703. ]
  704. }
  705. }
  706. ]
  707. }
  708. },
  709. {
  710. "variable": "additionalStorages",
  711. "label": "Additional Storage",
  712. "description": "Additional storage for Syncthing.",
  713. "schema": {
  714. "type": "list",
  715. "required": true,
  716. "empty": false,
  717. "default": [
  718. {
  719. "type": "hostPath",
  720. "mountPath": "/data1",
  721. "hostPath\"": ""
  722. }
  723. ],
  724. "items": [
  725. {
  726. "variable": "storageEntry",
  727. "label": "Storage Entry",
  728. "schema": {
  729. "type": "dict",
  730. "attrs": [
  731. {
  732. "variable": "type",
  733. "label": "Type",
  734. "description": "Host 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",
  735. "schema": {
  736. "type": "string",
  737. "required": true,
  738. "default": "hostPath",
  739. "immutable": true,
  740. "enum": [
  741. {
  742. "value": "hostPath",
  743. "description": "Host Path (Path that already exists on the system)"
  744. },
  745. {
  746. "value": "smb-pv-pvc",
  747. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  748. }
  749. ]
  750. }
  751. },
  752. {
  753. "variable": "readOnly",
  754. "label": "Read Only",
  755. "description": "Mount the volume as read only.",
  756. "schema": {
  757. "type": "boolean",
  758. "hidden": true,
  759. "default": false
  760. }
  761. },
  762. {
  763. "variable": "mountPath",
  764. "label": "Mount Path",
  765. "description": "The path inside the container to mount the storage.",
  766. "schema": {
  767. "type": "path",
  768. "required": true
  769. }
  770. },
  771. {
  772. "variable": "hostPathConfig",
  773. "label": "Host Path Configuration",
  774. "schema": {
  775. "type": "dict",
  776. "show_if": [
  777. [
  778. "type",
  779. "=",
  780. "hostPath"
  781. ]
  782. ],
  783. "attrs": [
  784. {
  785. "variable": "aclEnable",
  786. "label": "Enable ACL",
  787. "description": "Enable ACL for the dataset.",
  788. "schema": {
  789. "type": "boolean",
  790. "hidden": true,
  791. "default": false
  792. }
  793. },
  794. {
  795. "variable": "acl",
  796. "label": "ACL Configuration",
  797. "schema": {
  798. "type": "dict",
  799. "show_if": [
  800. [
  801. "aclEnable",
  802. "=",
  803. true
  804. ]
  805. ],
  806. "attrs": [
  807. {
  808. "variable": "path",
  809. "label": "Host Path",
  810. "description": "Host Path to perform ACL",
  811. "schema": {
  812. "type": "hostpath",
  813. "required": true,
  814. "empty": false
  815. }
  816. },
  817. {
  818. "variable": "entries",
  819. "label": "ACL Entries",
  820. "description": "ACL Entries",
  821. "schema": {
  822. "type": "list",
  823. "items": [
  824. {
  825. "variable": "aclEntry",
  826. "label": "ACL Entry",
  827. "schema": {
  828. "type": "dict",
  829. "attrs": [
  830. {
  831. "variable": "id_type",
  832. "label": "ID Type",
  833. "schema": {
  834. "type": "string",
  835. "enum": [
  836. {
  837. "value": "USER",
  838. "description": "Entry is for a USER"
  839. },
  840. {
  841. "value": "GROUP",
  842. "description": "Entry is for a GROUP"
  843. }
  844. ],
  845. "default": "USER"
  846. }
  847. },
  848. {
  849. "variable": "id",
  850. "label": "ID",
  851. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  852. "schema": {
  853. "type": "int",
  854. "required": true,
  855. "min": 0
  856. }
  857. },
  858. {
  859. "variable": "access",
  860. "label": "Access",
  861. "schema": {
  862. "type": "string",
  863. "enum": [
  864. {
  865. "value": "READ",
  866. "description": "Read Access"
  867. },
  868. {
  869. "value": "MODIFY",
  870. "description": "Modify Access"
  871. },
  872. {
  873. "value": "FULL_CONTROL",
  874. "description": "FULL_CONTROL Access"
  875. }
  876. ]
  877. }
  878. }
  879. ]
  880. }
  881. }
  882. ]
  883. }
  884. },
  885. {
  886. "variable": "options",
  887. "label": "ACL Options",
  888. "schema": {
  889. "type": "dict",
  890. "attrs": [
  891. {
  892. "variable": "force",
  893. "label": "Force Flag",
  894. "description": "Enabling `Force` applies ACL even if the path has existing data",
  895. "schema": {
  896. "type": "boolean",
  897. "default": false
  898. }
  899. }
  900. ]
  901. }
  902. }
  903. ],
  904. "$ref": [
  905. "normalize/acl"
  906. ]
  907. }
  908. },
  909. {
  910. "variable": "hostPath",
  911. "label": "Host Path",
  912. "description": "The host path to use for storage.",
  913. "schema": {
  914. "type": "hostpath",
  915. "show_if": [
  916. [
  917. "aclEnable",
  918. "=",
  919. false
  920. ]
  921. ],
  922. "required": true
  923. }
  924. }
  925. ]
  926. }
  927. },
  928. {
  929. "variable": "smbConfig",
  930. "label": "SMB Share Configuration",
  931. "description": "The configuration for the SMB Share.",
  932. "schema": {
  933. "type": "dict",
  934. "show_if": [
  935. [
  936. "type",
  937. "=",
  938. "smb-pv-pvc"
  939. ]
  940. ],
  941. "attrs": [
  942. {
  943. "variable": "migrationMode",
  944. "label": "Migration Mode",
  945. "description": "NOTE: This only works properly with TrueNAS SCALE 24.04.0 or newer.<br/>\n\nEnabling this will force the following:</br>\n- Read Only Mount, regardless of the value of the Read Only checkbox.</br>\n- SMB Mount Options will be set to \"vers=3.0\", \"cifsacl\", \"noperm\"</br>\n\nThis option is used to migrate data from third party</br>\nNAS platforms onto TrueNAS SCALE.</br>\n\nKeep in mind that the ACL preservation is not guaranteed when:</br>\n- Non-AD environment</br>\n- ACL or remote server contains local users</br>\n",
  946. "schema": {
  947. "type": "boolean",
  948. "default": false
  949. }
  950. },
  951. {
  952. "variable": "server",
  953. "label": "Server",
  954. "description": "The server for the SMB share.",
  955. "schema": {
  956. "type": "string",
  957. "required": true
  958. }
  959. },
  960. {
  961. "variable": "share",
  962. "label": "Share",
  963. "description": "The share name for the SMB share.",
  964. "schema": {
  965. "type": "string",
  966. "required": true
  967. }
  968. },
  969. {
  970. "variable": "domain",
  971. "label": "Domain (Optional)",
  972. "description": "The domain for the SMB share.",
  973. "schema": {
  974. "type": "string"
  975. }
  976. },
  977. {
  978. "variable": "username",
  979. "label": "Username",
  980. "description": "The username for the SMB share.",
  981. "schema": {
  982. "type": "string",
  983. "required": true
  984. }
  985. },
  986. {
  987. "variable": "password",
  988. "label": "Password",
  989. "description": "The password for the SMB share.",
  990. "schema": {
  991. "type": "string",
  992. "required": true,
  993. "private": true
  994. }
  995. },
  996. {
  997. "variable": "size",
  998. "label": "Size (in Gi)",
  999. "description": "The size of the volume quota.",
  1000. "schema": {
  1001. "type": "int",
  1002. "required": true,
  1003. "min": 1,
  1004. "default": 1
  1005. }
  1006. }
  1007. ]
  1008. }
  1009. }
  1010. ]
  1011. }
  1012. }
  1013. ]
  1014. }
  1015. }
  1016. ]
  1017. }
  1018. },
  1019. {
  1020. "variable": "resources",
  1021. "group": "Resources Configuration",
  1022. "label": "",
  1023. "schema": {
  1024. "type": "dict",
  1025. "attrs": [
  1026. {
  1027. "variable": "limits",
  1028. "label": "Limits",
  1029. "schema": {
  1030. "type": "dict",
  1031. "attrs": [
  1032. {
  1033. "variable": "cpu",
  1034. "label": "CPU",
  1035. "description": "CPU limit for Syncthing.",
  1036. "schema": {
  1037. "type": "string",
  1038. "max_length": 6,
  1039. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1040. "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",
  1041. "default": "4000m",
  1042. "required": true
  1043. }
  1044. },
  1045. {
  1046. "variable": "memory",
  1047. "label": "Memory",
  1048. "description": "Memory limit for Syncthing.",
  1049. "schema": {
  1050. "type": "string",
  1051. "max_length": 12,
  1052. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1053. "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",
  1054. "default": "8Gi",
  1055. "required": true
  1056. }
  1057. }
  1058. ]
  1059. }
  1060. }
  1061. ]
  1062. }
  1063. }
  1064. ]
  1065. },
  1066. "app_readme": "<h1>Syncthing</h1>\n<p><a href=\"https://syncthing.net/\">Syncthing</a> is a file synchronization program.</p>\n<p>At each startup of the application, the following settings are applied:</p>\n<ul>\n<li>Disable automatic upgrades</li>\n<li>Disable anonymous usage reporting</li>\n<li>Disable NAT traversal</li>\n<li>Disable global discovery</li>\n<li>Disable local discovery</li>\n<li>Disable relaying</li>\n<li>Disable announcing LAN addresses</li>\n</ul>\n<p>Additionally, the following defaults are set for new synthing \"folders\":</p>\n<ul>\n<li>Max total size of <code>xattr</code>: 10 MiB</li>\n<li>Max size per <code>xattr</code>: 2 MiB</li>\n<li>Enable <code>send</code> and <code>sync</code> of <code>xattr</code></li>\n<li>Enable <code>send</code> and <code>sync</code> of <code>ownership</code></li>\n</ul>",
  1067. "detailed_readme": "<h1>Syncthing</h1>\n<p><a href=\"https://syncthing.net/\">Syncthing</a> is a file synchronization program.</p>\n<p>At each startup of the application, the following settings are applied:</p>\n<ul>\n<li>Disable automatic upgrades</li>\n<li>Disable anonymous usage reporting</li>\n<li>Disable NAT traversal</li>\n<li>Disable global discovery</li>\n<li>Disable local discovery</li>\n<li>Disable relaying</li>\n<li>Disable announcing LAN addresses</li>\n</ul>\n<p>Additionally, the following defaults are set for new synthing \"folders\":</p>\n<ul>\n<li>Max total size of <code>xattr</code>: 10 MiB</li>\n<li>Max size per <code>xattr</code>: 2 MiB</li>\n<li>Enable <code>send</code> and <code>sync</code> of <code>xattr</code></li>\n<li>Enable <code>send</code> and <code>sync</code> of <code>ownership</code></li>\n</ul>",
  1068. "changelog": null
  1069. }
  1070. }