app_versions.json 111 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747
  1. {
  2. "1.2.3": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/test/syncthing/1.2.3",
  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.27.6_1.2.3",
  15. "version": "1.2.3",
  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.3",
  24. "apiVersion": "v2",
  25. "appVersion": "1.27.6",
  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": "Enabling 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. "1.1.5": {
  1071. "healthy": true,
  1072. "supported": true,
  1073. "healthy_error": null,
  1074. "location": "/__w/charts/charts/test/syncthing/1.1.5",
  1075. "last_update": "2025-03-06 08:26:26",
  1076. "required_features": [
  1077. "definitions/timezone",
  1078. "normalize/ixVolume",
  1079. "definitions/certificate"
  1080. ],
  1081. "human_version": "1.27.0_1.1.5",
  1082. "version": "1.1.5",
  1083. "chart_metadata": {
  1084. "name": "syncthing",
  1085. "description": "Syncthing is a continuous file synchronization program.",
  1086. "annotations": {
  1087. "title": "Syncthing"
  1088. },
  1089. "type": "application",
  1090. "version": "1.1.5",
  1091. "apiVersion": "v2",
  1092. "appVersion": "1.27.0",
  1093. "kubeVersion": ">=1.16.0-0",
  1094. "maintainers": [
  1095. {
  1096. "name": "truenas",
  1097. "url": "https://www.truenas.com/",
  1098. "email": "dev@ixsystems.com"
  1099. }
  1100. ],
  1101. "dependencies": [
  1102. {
  1103. "name": "common",
  1104. "repository": "file://../../../common",
  1105. "version": "1.2.6"
  1106. }
  1107. ],
  1108. "home": "https://syncthing.net/",
  1109. "icon": "https://media.sys.truenas.net/apps/syncthing/icons/icon.svg",
  1110. "sources": [
  1111. "https://syncthing.net/",
  1112. "https://github.com/syncthing/syncthing",
  1113. "https://hub.docker.com/r/syncthing/syncthing",
  1114. "https://github.com/truenas/charts/tree/master/enterprise/syncthing"
  1115. ],
  1116. "keywords": [
  1117. "sync",
  1118. "file-sharing"
  1119. ]
  1120. },
  1121. "app_metadata": {
  1122. "runAsContext": [
  1123. {
  1124. "userName": "root",
  1125. "groupName": "root",
  1126. "gid": 0,
  1127. "uid": 0,
  1128. "description": "Syncthing runs as root and starts the syncthing process as a non-root user."
  1129. }
  1130. ],
  1131. "capabilities": [
  1132. {
  1133. "name": "CHOWN",
  1134. "description": "Syncthing is able to chown files."
  1135. },
  1136. {
  1137. "name": "DAC_OVERRIDE",
  1138. "description": "Syncthing is able to bypass permission checks."
  1139. },
  1140. {
  1141. "name": "FOWNER",
  1142. "description": "Syncthing is able bypass permission checks for it's sub-processes."
  1143. },
  1144. {
  1145. "name": "SETUID",
  1146. "description": "Syncthing is able to set user ID for it's sub-processes."
  1147. },
  1148. {
  1149. "name": "SETGID",
  1150. "description": "Syncthing is able to set group ID for it's sub-processes."
  1151. },
  1152. {
  1153. "name": "SETPCAP",
  1154. "description": "Syncthing is able to set process capabilities."
  1155. },
  1156. {
  1157. "name": "SETFCAP",
  1158. "description": "Syncthing is able to set file capabilities."
  1159. }
  1160. ],
  1161. "hostMounts": []
  1162. },
  1163. "schema": {
  1164. "groups": [
  1165. {
  1166. "name": "Syncthing Configuration",
  1167. "description": "Configure Syncthing"
  1168. },
  1169. {
  1170. "name": "User and Group Configuration",
  1171. "description": "Configure User and Group for Syncthing"
  1172. },
  1173. {
  1174. "name": "Network Configuration",
  1175. "description": "Configure Network for Syncthing"
  1176. },
  1177. {
  1178. "name": "Storage Configuration",
  1179. "description": "Configure Storage for Syncthing"
  1180. },
  1181. {
  1182. "name": "Resources Configuration",
  1183. "description": "Configure Resources for Syncthing"
  1184. }
  1185. ],
  1186. "portals": {
  1187. "web_portal": {
  1188. "protocols": [
  1189. "$kubernetes-resource_configmap_portal_protocol"
  1190. ],
  1191. "host": [
  1192. "$kubernetes-resource_configmap_portal_host"
  1193. ],
  1194. "ports": [
  1195. "$kubernetes-resource_configmap_portal_port"
  1196. ],
  1197. "path": "$kubernetes-resource_configmap_portal_path"
  1198. }
  1199. },
  1200. "questions": [
  1201. {
  1202. "variable": "TZ",
  1203. "group": "Syncthing Configuration",
  1204. "label": "Timezone",
  1205. "schema": {
  1206. "type": "string",
  1207. "default": "America/Los_Angeles",
  1208. "required": true,
  1209. "$ref": [
  1210. "definitions/timezone"
  1211. ],
  1212. "enum": [
  1213. {
  1214. "value": "Asia/Damascus",
  1215. "description": "'Asia/Damascus' timezone"
  1216. },
  1217. {
  1218. "value": "Asia/Saigon",
  1219. "description": "'Asia/Saigon' timezone"
  1220. }
  1221. ]
  1222. }
  1223. },
  1224. {
  1225. "variable": "syncthingConfig",
  1226. "label": "",
  1227. "group": "Syncthing Configuration",
  1228. "schema": {
  1229. "type": "dict",
  1230. "attrs": [
  1231. {
  1232. "variable": "natTraversal",
  1233. "label": "NAT Traversal",
  1234. "schema": {
  1235. "type": "boolean",
  1236. "default": false,
  1237. "hidden": true
  1238. }
  1239. },
  1240. {
  1241. "variable": "localDiscovery",
  1242. "label": "Local Discovery",
  1243. "schema": {
  1244. "type": "boolean",
  1245. "default": false,
  1246. "hidden": true
  1247. }
  1248. },
  1249. {
  1250. "variable": "globalDiscovery",
  1251. "label": "Global Discovery",
  1252. "schema": {
  1253. "type": "boolean",
  1254. "default": false,
  1255. "hidden": true
  1256. }
  1257. },
  1258. {
  1259. "variable": "telemetry",
  1260. "label": "Telemetry",
  1261. "schema": {
  1262. "type": "boolean",
  1263. "default": false,
  1264. "hidden": true
  1265. }
  1266. },
  1267. {
  1268. "variable": "relaying",
  1269. "label": "Relaying",
  1270. "schema": {
  1271. "type": "boolean",
  1272. "default": false,
  1273. "hidden": true
  1274. }
  1275. },
  1276. {
  1277. "variable": "announceLANAddresses",
  1278. "label": "Announce LAN Addresses",
  1279. "schema": {
  1280. "type": "boolean",
  1281. "default": false,
  1282. "hidden": true
  1283. }
  1284. },
  1285. {
  1286. "variable": "additionalEnvs",
  1287. "label": "Additional Environment Variables",
  1288. "description": "Configure additional environment variables for Syncthing.",
  1289. "schema": {
  1290. "type": "list",
  1291. "default": [],
  1292. "items": [
  1293. {
  1294. "variable": "env",
  1295. "label": "Environment Variable",
  1296. "schema": {
  1297. "type": "dict",
  1298. "attrs": [
  1299. {
  1300. "variable": "name",
  1301. "label": "Name",
  1302. "schema": {
  1303. "type": "string",
  1304. "required": true
  1305. }
  1306. },
  1307. {
  1308. "variable": "value",
  1309. "label": "Value",
  1310. "schema": {
  1311. "type": "string",
  1312. "required": true
  1313. }
  1314. }
  1315. ]
  1316. }
  1317. }
  1318. ]
  1319. }
  1320. }
  1321. ]
  1322. }
  1323. },
  1324. {
  1325. "variable": "syncthingID",
  1326. "label": "",
  1327. "group": "User and Group Configuration",
  1328. "schema": {
  1329. "type": "dict",
  1330. "attrs": [
  1331. {
  1332. "variable": "user",
  1333. "label": "User ID",
  1334. "description": "The user id that Syncthing files will be owned by.",
  1335. "schema": {
  1336. "type": "int",
  1337. "min": 568,
  1338. "default": 568,
  1339. "immutable": true,
  1340. "required": true
  1341. }
  1342. },
  1343. {
  1344. "variable": "group",
  1345. "label": "Group ID",
  1346. "description": "The group id that Syncthing files will be owned by.",
  1347. "schema": {
  1348. "type": "int",
  1349. "min": 568,
  1350. "default": 568,
  1351. "immutable": true,
  1352. "required": true
  1353. }
  1354. }
  1355. ]
  1356. }
  1357. },
  1358. {
  1359. "variable": "syncthingNetwork",
  1360. "label": "",
  1361. "group": "Network Configuration",
  1362. "schema": {
  1363. "type": "dict",
  1364. "attrs": [
  1365. {
  1366. "variable": "hostNetwork",
  1367. "label": "Host Network",
  1368. "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",
  1369. "schema": {
  1370. "type": "boolean",
  1371. "default": true
  1372. }
  1373. },
  1374. {
  1375. "variable": "webPort",
  1376. "label": "Web Port",
  1377. "description": "The port for the Syncthing WebUI.",
  1378. "schema": {
  1379. "type": "int",
  1380. "default": 31000,
  1381. "min": 9000,
  1382. "max": 65535,
  1383. "required": true
  1384. }
  1385. },
  1386. {
  1387. "variable": "tcpPort",
  1388. "label": "TCP Port (File Transfers)",
  1389. "description": "The TCP port for Syncthing transfers.",
  1390. "schema": {
  1391. "type": "int",
  1392. "show_if": [
  1393. [
  1394. "hostNetwork",
  1395. "=",
  1396. false
  1397. ]
  1398. ],
  1399. "default": 22000,
  1400. "min": 9000,
  1401. "max": 65535,
  1402. "required": true
  1403. }
  1404. },
  1405. {
  1406. "variable": "quicPort",
  1407. "label": "QUIC (UDP) Port (File Transfers)",
  1408. "description": "The QUIC (UDP) port for Syncthing transfers.",
  1409. "schema": {
  1410. "type": "int",
  1411. "show_if": [
  1412. [
  1413. "hostNetwork",
  1414. "=",
  1415. false
  1416. ]
  1417. ],
  1418. "default": 22000,
  1419. "min": 9000,
  1420. "max": 65535,
  1421. "required": true
  1422. }
  1423. },
  1424. {
  1425. "variable": "certificateID",
  1426. "label": "Certificate",
  1427. "description": "The certificate to use for Syncthing GUI.",
  1428. "schema": {
  1429. "type": "int",
  1430. "null": true,
  1431. "$ref": [
  1432. "definitions/certificate"
  1433. ],
  1434. "enum": [
  1435. {
  1436. "value": null,
  1437. "description": "No Certificate"
  1438. }
  1439. ],
  1440. "default": null
  1441. }
  1442. }
  1443. ]
  1444. }
  1445. },
  1446. {
  1447. "variable": "syncthingStorage",
  1448. "label": "",
  1449. "group": "Storage Configuration",
  1450. "schema": {
  1451. "type": "dict",
  1452. "attrs": [
  1453. {
  1454. "variable": "home",
  1455. "label": "Syncthing Home Storage",
  1456. "description": "The path to store Syncthing Home Directory.",
  1457. "schema": {
  1458. "type": "dict",
  1459. "attrs": [
  1460. {
  1461. "variable": "type",
  1462. "label": "Type",
  1463. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  1464. "schema": {
  1465. "type": "string",
  1466. "required": true,
  1467. "immutable": true,
  1468. "default": "ixVolume",
  1469. "enum": [
  1470. {
  1471. "value": "hostPath",
  1472. "description": "Host Path (Path that already exists on the system)"
  1473. },
  1474. {
  1475. "value": "ixVolume",
  1476. "description": "ixVolume (Dataset created automatically by the system)"
  1477. }
  1478. ]
  1479. }
  1480. },
  1481. {
  1482. "variable": "datasetName",
  1483. "label": "Dataset Name",
  1484. "schema": {
  1485. "type": "string",
  1486. "show_if": [
  1487. [
  1488. "type",
  1489. "=",
  1490. "ixVolume"
  1491. ]
  1492. ],
  1493. "required": true,
  1494. "hidden": true,
  1495. "immutable": true,
  1496. "default": "home",
  1497. "$ref": [
  1498. "normalize/ixVolume"
  1499. ]
  1500. }
  1501. },
  1502. {
  1503. "variable": "hostPath",
  1504. "label": "Host Path",
  1505. "schema": {
  1506. "type": "hostpath",
  1507. "show_if": [
  1508. [
  1509. "type",
  1510. "=",
  1511. "hostPath"
  1512. ]
  1513. ],
  1514. "immutable": true,
  1515. "required": true
  1516. }
  1517. }
  1518. ]
  1519. }
  1520. },
  1521. {
  1522. "variable": "additionalStorages",
  1523. "label": "Additional Storage",
  1524. "description": "Additional storage for Syncthing.",
  1525. "schema": {
  1526. "type": "list",
  1527. "required": true,
  1528. "empty": false,
  1529. "default": [
  1530. {
  1531. "type": "hostPath",
  1532. "mountPath": "/data1",
  1533. "hostPath\"": ""
  1534. }
  1535. ],
  1536. "items": [
  1537. {
  1538. "variable": "storageEntry",
  1539. "label": "Storage Entry",
  1540. "schema": {
  1541. "type": "dict",
  1542. "attrs": [
  1543. {
  1544. "variable": "type",
  1545. "label": "Type",
  1546. "description": "Host Path: Is a path that already exists on the system.</br>\nSMB Share: Mounts a persistent volume claim to a SMB share.\n",
  1547. "schema": {
  1548. "type": "string",
  1549. "required": true,
  1550. "default": "hostPath",
  1551. "immutable": true,
  1552. "enum": [
  1553. {
  1554. "value": "hostPath",
  1555. "description": "Host Path (Path that already exists on the system)"
  1556. },
  1557. {
  1558. "value": "smb-pv-pvc",
  1559. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1560. }
  1561. ]
  1562. }
  1563. },
  1564. {
  1565. "variable": "mountPath",
  1566. "label": "Mount Path",
  1567. "description": "The path inside the container to mount the storage.",
  1568. "schema": {
  1569. "type": "path",
  1570. "required": true
  1571. }
  1572. },
  1573. {
  1574. "variable": "hostPath",
  1575. "label": "Host Path",
  1576. "description": "The host path to use for storage.",
  1577. "schema": {
  1578. "type": "hostpath",
  1579. "show_if": [
  1580. [
  1581. "type",
  1582. "=",
  1583. "hostPath"
  1584. ]
  1585. ],
  1586. "required": true
  1587. }
  1588. },
  1589. {
  1590. "variable": "server",
  1591. "label": "Server",
  1592. "description": "The server for the SMB share.",
  1593. "schema": {
  1594. "type": "string",
  1595. "show_if": [
  1596. [
  1597. "type",
  1598. "=",
  1599. "smb-pv-pvc"
  1600. ]
  1601. ],
  1602. "required": true
  1603. }
  1604. },
  1605. {
  1606. "variable": "share",
  1607. "label": "Share",
  1608. "description": "The share name for the SMB share.",
  1609. "schema": {
  1610. "type": "string",
  1611. "show_if": [
  1612. [
  1613. "type",
  1614. "=",
  1615. "smb-pv-pvc"
  1616. ]
  1617. ],
  1618. "required": true
  1619. }
  1620. },
  1621. {
  1622. "variable": "domain",
  1623. "label": "Domain (Optional)",
  1624. "description": "The domain for the SMB share.",
  1625. "schema": {
  1626. "type": "string",
  1627. "show_if": [
  1628. [
  1629. "type",
  1630. "=",
  1631. "smb-pv-pvc"
  1632. ]
  1633. ]
  1634. }
  1635. },
  1636. {
  1637. "variable": "username",
  1638. "label": "Username",
  1639. "description": "The username for the SMB share.",
  1640. "schema": {
  1641. "type": "string",
  1642. "show_if": [
  1643. [
  1644. "type",
  1645. "=",
  1646. "smb-pv-pvc"
  1647. ]
  1648. ],
  1649. "required": true
  1650. }
  1651. },
  1652. {
  1653. "variable": "password",
  1654. "label": "Password",
  1655. "description": "The password for the SMB share.",
  1656. "schema": {
  1657. "type": "string",
  1658. "show_if": [
  1659. [
  1660. "type",
  1661. "=",
  1662. "smb-pv-pvc"
  1663. ]
  1664. ],
  1665. "required": true,
  1666. "private": true
  1667. }
  1668. },
  1669. {
  1670. "variable": "size",
  1671. "label": "Size (in Gi)",
  1672. "description": "The size of the volume quota.",
  1673. "schema": {
  1674. "type": "int",
  1675. "show_if": [
  1676. [
  1677. "type",
  1678. "=",
  1679. "smb-pv-pvc"
  1680. ]
  1681. ],
  1682. "required": true,
  1683. "min": 1,
  1684. "default": 1
  1685. }
  1686. }
  1687. ]
  1688. }
  1689. }
  1690. ]
  1691. }
  1692. }
  1693. ]
  1694. }
  1695. },
  1696. {
  1697. "variable": "resources",
  1698. "group": "Resources Configuration",
  1699. "label": "",
  1700. "schema": {
  1701. "type": "dict",
  1702. "attrs": [
  1703. {
  1704. "variable": "limits",
  1705. "label": "Limits",
  1706. "schema": {
  1707. "type": "dict",
  1708. "attrs": [
  1709. {
  1710. "variable": "cpu",
  1711. "label": "CPU",
  1712. "description": "CPU limit for Syncthing.",
  1713. "schema": {
  1714. "type": "string",
  1715. "max_length": 6,
  1716. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1717. "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",
  1718. "default": "4000m",
  1719. "required": true
  1720. }
  1721. },
  1722. {
  1723. "variable": "memory",
  1724. "label": "Memory",
  1725. "description": "Memory limit for Syncthing.",
  1726. "schema": {
  1727. "type": "string",
  1728. "max_length": 12,
  1729. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1730. "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",
  1731. "default": "8Gi",
  1732. "required": true
  1733. }
  1734. }
  1735. ]
  1736. }
  1737. }
  1738. ]
  1739. }
  1740. }
  1741. ]
  1742. },
  1743. "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>",
  1744. "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>",
  1745. "changelog": null
  1746. }
  1747. }