app_versions.json 110 KB

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