app_versions.json 80 KB

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