app_versions.json 158 KB

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