app_versions.json 159 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000
  1. {
  2. "1.2.4": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/pigallery2/1.2.4",
  7. "last_update": "2025-03-05 14:27:33",
  8. "required_features": [
  9. "normalize/ixVolume",
  10. "normalize/acl"
  11. ],
  12. "human_version": "2.0.0_1.2.4",
  13. "version": "1.2.4",
  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.4",
  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.9"
  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": "readOnly",
  900. "label": "Read Only",
  901. "description": "Mount the volume as read only.",
  902. "schema": {
  903. "type": "boolean",
  904. "default": false
  905. }
  906. },
  907. {
  908. "variable": "ixVolumeConfig",
  909. "label": "ixVolume Configuration",
  910. "description": "The configuration for the ixVolume dataset.",
  911. "schema": {
  912. "type": "dict",
  913. "show_if": [
  914. [
  915. "type",
  916. "=",
  917. "ixVolume"
  918. ]
  919. ],
  920. "$ref": [
  921. "normalize/ixVolume"
  922. ],
  923. "attrs": [
  924. {
  925. "variable": "aclEnable",
  926. "label": "Enable ACL",
  927. "description": "Enable ACL for the dataset.",
  928. "schema": {
  929. "type": "boolean",
  930. "default": false
  931. }
  932. },
  933. {
  934. "variable": "datasetName",
  935. "label": "Dataset Name",
  936. "description": "The name of the dataset to use for storage.",
  937. "schema": {
  938. "type": "string",
  939. "required": true,
  940. "immutable": true,
  941. "hidden": true,
  942. "default": "media"
  943. }
  944. },
  945. {
  946. "variable": "aclEntries",
  947. "label": "ACL Configuration",
  948. "schema": {
  949. "type": "dict",
  950. "show_if": [
  951. [
  952. "aclEnable",
  953. "=",
  954. true
  955. ]
  956. ],
  957. "attrs": [
  958. {
  959. "variable": "path",
  960. "label": "Path",
  961. "description": "Path to perform ACL",
  962. "schema": {
  963. "type": "string",
  964. "hidden": true
  965. }
  966. },
  967. {
  968. "variable": "entries",
  969. "label": "ACL Entries",
  970. "description": "ACL Entries",
  971. "schema": {
  972. "type": "list",
  973. "items": [
  974. {
  975. "variable": "aclEntry",
  976. "label": "ACL Entry",
  977. "schema": {
  978. "type": "dict",
  979. "attrs": [
  980. {
  981. "variable": "id_type",
  982. "label": "ID Type",
  983. "schema": {
  984. "type": "string",
  985. "enum": [
  986. {
  987. "value": "USER",
  988. "description": "Entry is for a USER"
  989. },
  990. {
  991. "value": "GROUP",
  992. "description": "Entry is for a GROUP"
  993. }
  994. ],
  995. "default": "USER"
  996. }
  997. },
  998. {
  999. "variable": "id",
  1000. "label": "ID",
  1001. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1002. "schema": {
  1003. "type": "int",
  1004. "required": true,
  1005. "min": 0
  1006. }
  1007. },
  1008. {
  1009. "variable": "access",
  1010. "label": "Access",
  1011. "schema": {
  1012. "type": "string",
  1013. "enum": [
  1014. {
  1015. "value": "READ",
  1016. "description": "Read Access"
  1017. },
  1018. {
  1019. "value": "MODIFY",
  1020. "description": "Modify Access"
  1021. },
  1022. {
  1023. "value": "FULL_CONTROL",
  1024. "description": "FULL_CONTROL Access"
  1025. }
  1026. ]
  1027. }
  1028. }
  1029. ]
  1030. }
  1031. }
  1032. ]
  1033. }
  1034. }
  1035. ]
  1036. }
  1037. }
  1038. ]
  1039. }
  1040. },
  1041. {
  1042. "variable": "hostPathConfig",
  1043. "label": "Host Path Configuration",
  1044. "schema": {
  1045. "type": "dict",
  1046. "show_if": [
  1047. [
  1048. "type",
  1049. "=",
  1050. "hostPath"
  1051. ]
  1052. ],
  1053. "attrs": [
  1054. {
  1055. "variable": "aclEnable",
  1056. "label": "Enable ACL",
  1057. "description": "Enable ACL for the dataset.",
  1058. "schema": {
  1059. "type": "boolean",
  1060. "default": false
  1061. }
  1062. },
  1063. {
  1064. "variable": "acl",
  1065. "label": "ACL Configuration",
  1066. "schema": {
  1067. "type": "dict",
  1068. "show_if": [
  1069. [
  1070. "aclEnable",
  1071. "=",
  1072. true
  1073. ]
  1074. ],
  1075. "attrs": [
  1076. {
  1077. "variable": "path",
  1078. "label": "Host Path",
  1079. "description": "Host Path to perform ACL",
  1080. "schema": {
  1081. "type": "hostpath",
  1082. "required": true,
  1083. "empty": false
  1084. }
  1085. },
  1086. {
  1087. "variable": "entries",
  1088. "label": "ACL Entries",
  1089. "description": "ACL Entries",
  1090. "schema": {
  1091. "type": "list",
  1092. "items": [
  1093. {
  1094. "variable": "aclEntry",
  1095. "label": "ACL Entry",
  1096. "schema": {
  1097. "type": "dict",
  1098. "attrs": [
  1099. {
  1100. "variable": "id_type",
  1101. "label": "ID Type",
  1102. "schema": {
  1103. "type": "string",
  1104. "enum": [
  1105. {
  1106. "value": "USER",
  1107. "description": "Entry is for a USER"
  1108. },
  1109. {
  1110. "value": "GROUP",
  1111. "description": "Entry is for a GROUP"
  1112. }
  1113. ],
  1114. "default": "USER"
  1115. }
  1116. },
  1117. {
  1118. "variable": "id",
  1119. "label": "ID",
  1120. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1121. "schema": {
  1122. "type": "int",
  1123. "required": true,
  1124. "min": 0
  1125. }
  1126. },
  1127. {
  1128. "variable": "access",
  1129. "label": "Access",
  1130. "schema": {
  1131. "type": "string",
  1132. "enum": [
  1133. {
  1134. "value": "READ",
  1135. "description": "Read Access"
  1136. },
  1137. {
  1138. "value": "MODIFY",
  1139. "description": "Modify Access"
  1140. },
  1141. {
  1142. "value": "FULL_CONTROL",
  1143. "description": "FULL_CONTROL Access"
  1144. }
  1145. ]
  1146. }
  1147. }
  1148. ]
  1149. }
  1150. }
  1151. ]
  1152. }
  1153. },
  1154. {
  1155. "variable": "options",
  1156. "label": "ACL Options",
  1157. "schema": {
  1158. "type": "dict",
  1159. "attrs": [
  1160. {
  1161. "variable": "force",
  1162. "label": "Force Flag",
  1163. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1164. "schema": {
  1165. "type": "boolean",
  1166. "default": false
  1167. }
  1168. }
  1169. ]
  1170. }
  1171. }
  1172. ],
  1173. "$ref": [
  1174. "normalize/acl"
  1175. ]
  1176. }
  1177. },
  1178. {
  1179. "variable": "hostPath",
  1180. "label": "Host Path",
  1181. "description": "The host path to use for storage.",
  1182. "schema": {
  1183. "type": "hostpath",
  1184. "show_if": [
  1185. [
  1186. "aclEnable",
  1187. "=",
  1188. false
  1189. ]
  1190. ],
  1191. "required": true
  1192. }
  1193. }
  1194. ]
  1195. }
  1196. }
  1197. ]
  1198. }
  1199. },
  1200. {
  1201. "variable": "thumbnails",
  1202. "label": "PiGallery2 Thumbnails Storage",
  1203. "description": "The path to store PiGallery2 Thumbnails.",
  1204. "schema": {
  1205. "type": "dict",
  1206. "attrs": [
  1207. {
  1208. "variable": "type",
  1209. "label": "Type",
  1210. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  1211. "schema": {
  1212. "type": "string",
  1213. "required": true,
  1214. "immutable": true,
  1215. "default": "ixVolume",
  1216. "enum": [
  1217. {
  1218. "value": "hostPath",
  1219. "description": "Host Path (Path that already exists on the system)"
  1220. },
  1221. {
  1222. "value": "ixVolume",
  1223. "description": "ixVolume (Dataset created automatically by the system)"
  1224. }
  1225. ]
  1226. }
  1227. },
  1228. {
  1229. "variable": "ixVolumeConfig",
  1230. "label": "ixVolume Configuration",
  1231. "description": "The configuration for the ixVolume dataset.",
  1232. "schema": {
  1233. "type": "dict",
  1234. "show_if": [
  1235. [
  1236. "type",
  1237. "=",
  1238. "ixVolume"
  1239. ]
  1240. ],
  1241. "$ref": [
  1242. "normalize/ixVolume"
  1243. ],
  1244. "attrs": [
  1245. {
  1246. "variable": "aclEnable",
  1247. "label": "Enable ACL",
  1248. "description": "Enable ACL for the dataset.",
  1249. "schema": {
  1250. "type": "boolean",
  1251. "default": false
  1252. }
  1253. },
  1254. {
  1255. "variable": "datasetName",
  1256. "label": "Dataset Name",
  1257. "description": "The name of the dataset to use for storage.",
  1258. "schema": {
  1259. "type": "string",
  1260. "required": true,
  1261. "immutable": true,
  1262. "hidden": true,
  1263. "default": "thumbnails"
  1264. }
  1265. },
  1266. {
  1267. "variable": "aclEntries",
  1268. "label": "ACL Configuration",
  1269. "schema": {
  1270. "type": "dict",
  1271. "show_if": [
  1272. [
  1273. "aclEnable",
  1274. "=",
  1275. true
  1276. ]
  1277. ],
  1278. "attrs": [
  1279. {
  1280. "variable": "path",
  1281. "label": "Path",
  1282. "description": "Path to perform ACL",
  1283. "schema": {
  1284. "type": "string",
  1285. "hidden": true
  1286. }
  1287. },
  1288. {
  1289. "variable": "entries",
  1290. "label": "ACL Entries",
  1291. "description": "ACL Entries",
  1292. "schema": {
  1293. "type": "list",
  1294. "items": [
  1295. {
  1296. "variable": "aclEntry",
  1297. "label": "ACL Entry",
  1298. "schema": {
  1299. "type": "dict",
  1300. "attrs": [
  1301. {
  1302. "variable": "id_type",
  1303. "label": "ID Type",
  1304. "schema": {
  1305. "type": "string",
  1306. "enum": [
  1307. {
  1308. "value": "USER",
  1309. "description": "Entry is for a USER"
  1310. },
  1311. {
  1312. "value": "GROUP",
  1313. "description": "Entry is for a GROUP"
  1314. }
  1315. ],
  1316. "default": "USER"
  1317. }
  1318. },
  1319. {
  1320. "variable": "id",
  1321. "label": "ID",
  1322. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1323. "schema": {
  1324. "type": "int",
  1325. "required": true,
  1326. "min": 0
  1327. }
  1328. },
  1329. {
  1330. "variable": "access",
  1331. "label": "Access",
  1332. "schema": {
  1333. "type": "string",
  1334. "enum": [
  1335. {
  1336. "value": "READ",
  1337. "description": "Read Access"
  1338. },
  1339. {
  1340. "value": "MODIFY",
  1341. "description": "Modify Access"
  1342. },
  1343. {
  1344. "value": "FULL_CONTROL",
  1345. "description": "FULL_CONTROL Access"
  1346. }
  1347. ]
  1348. }
  1349. }
  1350. ]
  1351. }
  1352. }
  1353. ]
  1354. }
  1355. }
  1356. ]
  1357. }
  1358. }
  1359. ]
  1360. }
  1361. },
  1362. {
  1363. "variable": "hostPathConfig",
  1364. "label": "Host Path Configuration",
  1365. "schema": {
  1366. "type": "dict",
  1367. "show_if": [
  1368. [
  1369. "type",
  1370. "=",
  1371. "hostPath"
  1372. ]
  1373. ],
  1374. "attrs": [
  1375. {
  1376. "variable": "aclEnable",
  1377. "label": "Enable ACL",
  1378. "description": "Enable ACL for the dataset.",
  1379. "schema": {
  1380. "type": "boolean",
  1381. "default": false
  1382. }
  1383. },
  1384. {
  1385. "variable": "acl",
  1386. "label": "ACL Configuration",
  1387. "schema": {
  1388. "type": "dict",
  1389. "show_if": [
  1390. [
  1391. "aclEnable",
  1392. "=",
  1393. true
  1394. ]
  1395. ],
  1396. "attrs": [
  1397. {
  1398. "variable": "path",
  1399. "label": "Host Path",
  1400. "description": "Host Path to perform ACL",
  1401. "schema": {
  1402. "type": "hostpath",
  1403. "required": true,
  1404. "empty": false
  1405. }
  1406. },
  1407. {
  1408. "variable": "entries",
  1409. "label": "ACL Entries",
  1410. "description": "ACL Entries",
  1411. "schema": {
  1412. "type": "list",
  1413. "items": [
  1414. {
  1415. "variable": "aclEntry",
  1416. "label": "ACL Entry",
  1417. "schema": {
  1418. "type": "dict",
  1419. "attrs": [
  1420. {
  1421. "variable": "id_type",
  1422. "label": "ID Type",
  1423. "schema": {
  1424. "type": "string",
  1425. "enum": [
  1426. {
  1427. "value": "USER",
  1428. "description": "Entry is for a USER"
  1429. },
  1430. {
  1431. "value": "GROUP",
  1432. "description": "Entry is for a GROUP"
  1433. }
  1434. ],
  1435. "default": "USER"
  1436. }
  1437. },
  1438. {
  1439. "variable": "id",
  1440. "label": "ID",
  1441. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1442. "schema": {
  1443. "type": "int",
  1444. "required": true,
  1445. "min": 0
  1446. }
  1447. },
  1448. {
  1449. "variable": "access",
  1450. "label": "Access",
  1451. "schema": {
  1452. "type": "string",
  1453. "enum": [
  1454. {
  1455. "value": "READ",
  1456. "description": "Read Access"
  1457. },
  1458. {
  1459. "value": "MODIFY",
  1460. "description": "Modify Access"
  1461. },
  1462. {
  1463. "value": "FULL_CONTROL",
  1464. "description": "FULL_CONTROL Access"
  1465. }
  1466. ]
  1467. }
  1468. }
  1469. ]
  1470. }
  1471. }
  1472. ]
  1473. }
  1474. },
  1475. {
  1476. "variable": "options",
  1477. "label": "ACL Options",
  1478. "schema": {
  1479. "type": "dict",
  1480. "attrs": [
  1481. {
  1482. "variable": "force",
  1483. "label": "Force Flag",
  1484. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1485. "schema": {
  1486. "type": "boolean",
  1487. "default": false
  1488. }
  1489. }
  1490. ]
  1491. }
  1492. }
  1493. ],
  1494. "$ref": [
  1495. "normalize/acl"
  1496. ]
  1497. }
  1498. },
  1499. {
  1500. "variable": "hostPath",
  1501. "label": "Host Path",
  1502. "description": "The host path to use for storage.",
  1503. "schema": {
  1504. "type": "hostpath",
  1505. "show_if": [
  1506. [
  1507. "aclEnable",
  1508. "=",
  1509. false
  1510. ]
  1511. ],
  1512. "required": true
  1513. }
  1514. }
  1515. ]
  1516. }
  1517. }
  1518. ]
  1519. }
  1520. },
  1521. {
  1522. "variable": "additionalStorages",
  1523. "label": "Additional Storage",
  1524. "description": "Additional storage for PiGallery2.",
  1525. "schema": {
  1526. "type": "list",
  1527. "default": [],
  1528. "items": [
  1529. {
  1530. "variable": "storageEntry",
  1531. "label": "Storage Entry",
  1532. "schema": {
  1533. "type": "dict",
  1534. "attrs": [
  1535. {
  1536. "variable": "type",
  1537. "label": "Type",
  1538. "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",
  1539. "schema": {
  1540. "type": "string",
  1541. "required": true,
  1542. "default": "ixVolume",
  1543. "immutable": true,
  1544. "enum": [
  1545. {
  1546. "value": "hostPath",
  1547. "description": "Host Path (Path that already exists on the system)"
  1548. },
  1549. {
  1550. "value": "ixVolume",
  1551. "description": "ixVolume (Dataset created automatically by the system)"
  1552. },
  1553. {
  1554. "value": "smb-pv-pvc",
  1555. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1556. }
  1557. ]
  1558. }
  1559. },
  1560. {
  1561. "variable": "readOnly",
  1562. "label": "Read Only",
  1563. "description": "Mount the volume as read only.",
  1564. "schema": {
  1565. "type": "boolean",
  1566. "default": false
  1567. }
  1568. },
  1569. {
  1570. "variable": "mountPath",
  1571. "label": "Mount Path",
  1572. "description": "The path inside the container to mount the storage.",
  1573. "schema": {
  1574. "type": "path",
  1575. "required": true
  1576. }
  1577. },
  1578. {
  1579. "variable": "hostPathConfig",
  1580. "label": "Host Path Configuration",
  1581. "schema": {
  1582. "type": "dict",
  1583. "show_if": [
  1584. [
  1585. "type",
  1586. "=",
  1587. "hostPath"
  1588. ]
  1589. ],
  1590. "attrs": [
  1591. {
  1592. "variable": "aclEnable",
  1593. "label": "Enable ACL",
  1594. "description": "Enable ACL for the dataset.",
  1595. "schema": {
  1596. "type": "boolean",
  1597. "default": false
  1598. }
  1599. },
  1600. {
  1601. "variable": "acl",
  1602. "label": "ACL Configuration",
  1603. "schema": {
  1604. "type": "dict",
  1605. "show_if": [
  1606. [
  1607. "aclEnable",
  1608. "=",
  1609. true
  1610. ]
  1611. ],
  1612. "attrs": [
  1613. {
  1614. "variable": "path",
  1615. "label": "Host Path",
  1616. "description": "Host Path to perform ACL",
  1617. "schema": {
  1618. "type": "hostpath",
  1619. "required": true,
  1620. "empty": false
  1621. }
  1622. },
  1623. {
  1624. "variable": "entries",
  1625. "label": "ACL Entries",
  1626. "description": "ACL Entries",
  1627. "schema": {
  1628. "type": "list",
  1629. "items": [
  1630. {
  1631. "variable": "aclEntry",
  1632. "label": "ACL Entry",
  1633. "schema": {
  1634. "type": "dict",
  1635. "attrs": [
  1636. {
  1637. "variable": "id_type",
  1638. "label": "ID Type",
  1639. "schema": {
  1640. "type": "string",
  1641. "enum": [
  1642. {
  1643. "value": "USER",
  1644. "description": "Entry is for a USER"
  1645. },
  1646. {
  1647. "value": "GROUP",
  1648. "description": "Entry is for a GROUP"
  1649. }
  1650. ],
  1651. "default": "USER"
  1652. }
  1653. },
  1654. {
  1655. "variable": "id",
  1656. "label": "ID",
  1657. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1658. "schema": {
  1659. "type": "int",
  1660. "required": true,
  1661. "min": 0
  1662. }
  1663. },
  1664. {
  1665. "variable": "access",
  1666. "label": "Access",
  1667. "schema": {
  1668. "type": "string",
  1669. "enum": [
  1670. {
  1671. "value": "READ",
  1672. "description": "Read Access"
  1673. },
  1674. {
  1675. "value": "MODIFY",
  1676. "description": "Modify Access"
  1677. },
  1678. {
  1679. "value": "FULL_CONTROL",
  1680. "description": "FULL_CONTROL Access"
  1681. }
  1682. ]
  1683. }
  1684. }
  1685. ]
  1686. }
  1687. }
  1688. ]
  1689. }
  1690. },
  1691. {
  1692. "variable": "options",
  1693. "label": "ACL Options",
  1694. "schema": {
  1695. "type": "dict",
  1696. "attrs": [
  1697. {
  1698. "variable": "force",
  1699. "label": "Force Flag",
  1700. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1701. "schema": {
  1702. "type": "boolean",
  1703. "default": false
  1704. }
  1705. }
  1706. ]
  1707. }
  1708. }
  1709. ],
  1710. "$ref": [
  1711. "normalize/acl"
  1712. ]
  1713. }
  1714. },
  1715. {
  1716. "variable": "hostPath",
  1717. "label": "Host Path",
  1718. "description": "The host path to use for storage.",
  1719. "schema": {
  1720. "type": "hostpath",
  1721. "show_if": [
  1722. [
  1723. "aclEnable",
  1724. "=",
  1725. false
  1726. ]
  1727. ],
  1728. "required": true
  1729. }
  1730. }
  1731. ]
  1732. }
  1733. },
  1734. {
  1735. "variable": "ixVolumeConfig",
  1736. "label": "ixVolume Configuration",
  1737. "description": "The configuration for the ixVolume dataset.",
  1738. "schema": {
  1739. "type": "dict",
  1740. "show_if": [
  1741. [
  1742. "type",
  1743. "=",
  1744. "ixVolume"
  1745. ]
  1746. ],
  1747. "$ref": [
  1748. "normalize/ixVolume"
  1749. ],
  1750. "attrs": [
  1751. {
  1752. "variable": "aclEnable",
  1753. "label": "Enable ACL",
  1754. "description": "Enable ACL for the dataset.",
  1755. "schema": {
  1756. "type": "boolean",
  1757. "default": false
  1758. }
  1759. },
  1760. {
  1761. "variable": "datasetName",
  1762. "label": "Dataset Name",
  1763. "description": "The name of the dataset to use for storage.",
  1764. "schema": {
  1765. "type": "string",
  1766. "required": true,
  1767. "immutable": true,
  1768. "default": "storage_entry"
  1769. }
  1770. },
  1771. {
  1772. "variable": "aclEntries",
  1773. "label": "ACL Configuration",
  1774. "schema": {
  1775. "type": "dict",
  1776. "show_if": [
  1777. [
  1778. "aclEnable",
  1779. "=",
  1780. true
  1781. ]
  1782. ],
  1783. "attrs": [
  1784. {
  1785. "variable": "path",
  1786. "label": "Path",
  1787. "description": "Path to perform ACL",
  1788. "schema": {
  1789. "type": "string",
  1790. "hidden": true
  1791. }
  1792. },
  1793. {
  1794. "variable": "entries",
  1795. "label": "ACL Entries",
  1796. "description": "ACL Entries",
  1797. "schema": {
  1798. "type": "list",
  1799. "items": [
  1800. {
  1801. "variable": "aclEntry",
  1802. "label": "ACL Entry",
  1803. "schema": {
  1804. "type": "dict",
  1805. "attrs": [
  1806. {
  1807. "variable": "id_type",
  1808. "label": "ID Type",
  1809. "schema": {
  1810. "type": "string",
  1811. "enum": [
  1812. {
  1813. "value": "USER",
  1814. "description": "Entry is for a USER"
  1815. },
  1816. {
  1817. "value": "GROUP",
  1818. "description": "Entry is for a GROUP"
  1819. }
  1820. ],
  1821. "default": "USER"
  1822. }
  1823. },
  1824. {
  1825. "variable": "id",
  1826. "label": "ID",
  1827. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1828. "schema": {
  1829. "type": "int",
  1830. "required": true,
  1831. "min": 0
  1832. }
  1833. },
  1834. {
  1835. "variable": "access",
  1836. "label": "Access",
  1837. "schema": {
  1838. "type": "string",
  1839. "enum": [
  1840. {
  1841. "value": "READ",
  1842. "description": "Read Access"
  1843. },
  1844. {
  1845. "value": "MODIFY",
  1846. "description": "Modify Access"
  1847. },
  1848. {
  1849. "value": "FULL_CONTROL",
  1850. "description": "FULL_CONTROL Access"
  1851. }
  1852. ]
  1853. }
  1854. }
  1855. ]
  1856. }
  1857. }
  1858. ]
  1859. }
  1860. }
  1861. ]
  1862. }
  1863. }
  1864. ]
  1865. }
  1866. },
  1867. {
  1868. "variable": "smbConfig",
  1869. "label": "SMB Share Configuration",
  1870. "description": "The configuration for the SMB Share.",
  1871. "schema": {
  1872. "type": "dict",
  1873. "show_if": [
  1874. [
  1875. "type",
  1876. "=",
  1877. "smb-pv-pvc"
  1878. ]
  1879. ],
  1880. "attrs": [
  1881. {
  1882. "variable": "server",
  1883. "label": "Server",
  1884. "description": "The server for the SMB share.",
  1885. "schema": {
  1886. "type": "string",
  1887. "required": true
  1888. }
  1889. },
  1890. {
  1891. "variable": "share",
  1892. "label": "Share",
  1893. "description": "The share name for the SMB share.",
  1894. "schema": {
  1895. "type": "string",
  1896. "required": true
  1897. }
  1898. },
  1899. {
  1900. "variable": "domain",
  1901. "label": "Domain (Optional)",
  1902. "description": "The domain for the SMB share.",
  1903. "schema": {
  1904. "type": "string"
  1905. }
  1906. },
  1907. {
  1908. "variable": "username",
  1909. "label": "Username",
  1910. "description": "The username for the SMB share.",
  1911. "schema": {
  1912. "type": "string",
  1913. "required": true
  1914. }
  1915. },
  1916. {
  1917. "variable": "password",
  1918. "label": "Password",
  1919. "description": "The password for the SMB share.",
  1920. "schema": {
  1921. "type": "string",
  1922. "required": true,
  1923. "private": true
  1924. }
  1925. },
  1926. {
  1927. "variable": "size",
  1928. "label": "Size (in Gi)",
  1929. "description": "The size of the volume quota.",
  1930. "schema": {
  1931. "type": "int",
  1932. "required": true,
  1933. "min": 1,
  1934. "default": 1
  1935. }
  1936. }
  1937. ]
  1938. }
  1939. }
  1940. ]
  1941. }
  1942. }
  1943. ]
  1944. }
  1945. }
  1946. ]
  1947. }
  1948. },
  1949. {
  1950. "variable": "resources",
  1951. "group": "Resources Configuration",
  1952. "label": "",
  1953. "schema": {
  1954. "type": "dict",
  1955. "attrs": [
  1956. {
  1957. "variable": "limits",
  1958. "label": "Limits",
  1959. "schema": {
  1960. "type": "dict",
  1961. "attrs": [
  1962. {
  1963. "variable": "cpu",
  1964. "label": "CPU",
  1965. "description": "CPU limit for PiGallery2.",
  1966. "schema": {
  1967. "type": "string",
  1968. "max_length": 6,
  1969. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1970. "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",
  1971. "default": "4000m",
  1972. "required": true
  1973. }
  1974. },
  1975. {
  1976. "variable": "memory",
  1977. "label": "Memory",
  1978. "description": "Memory limit for PiGallery2.",
  1979. "schema": {
  1980. "type": "string",
  1981. "max_length": 12,
  1982. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1983. "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",
  1984. "default": "8Gi",
  1985. "required": true
  1986. }
  1987. }
  1988. ]
  1989. }
  1990. }
  1991. ]
  1992. }
  1993. }
  1994. ]
  1995. },
  1996. "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>",
  1997. "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>",
  1998. "changelog": null
  1999. }
  2000. }