app_versions.json 167 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441
  1. {
  2. "2.0.13": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/charts/photoprism/2.0.13",
  7. "last_update": "2025-03-06 08:26:26",
  8. "required_features": [
  9. "normalize/acl",
  10. "definitions/gpuConfiguration",
  11. "normalize/ixVolume",
  12. "definitions/certificate"
  13. ],
  14. "human_version": "250228_2.0.13",
  15. "version": "2.0.13",
  16. "chart_metadata": {
  17. "name": "photoprism",
  18. "description": "AI-powered app for browsing, organizing & sharing your photo collection.",
  19. "annotations": {
  20. "title": "PhotoPrism"
  21. },
  22. "type": "application",
  23. "version": "2.0.13",
  24. "apiVersion": "v2",
  25. "appVersion": "250228",
  26. "kubeVersion": ">=1.16.0-0",
  27. "maintainers": [
  28. {
  29. "name": "truenas",
  30. "url": "https://www.truenas.com/",
  31. "email": "dev@ixsystems.com"
  32. }
  33. ],
  34. "dependencies": [
  35. {
  36. "name": "common",
  37. "repository": "file://../../../common",
  38. "version": "1.2.9"
  39. }
  40. ],
  41. "home": "https://photoprism.app/",
  42. "icon": "https://media.sys.truenas.net/apps/photoprism/icons/icon.svg",
  43. "sources": [
  44. "https://photoprism.app/",
  45. "https://github.com/truenas/charts/tree/master/charts/photoprism"
  46. ],
  47. "keywords": [
  48. "media"
  49. ]
  50. },
  51. "app_metadata": {
  52. "runAsContext": [
  53. {
  54. "userName": "photoprism",
  55. "groupName": "photoprism",
  56. "gid": 0,
  57. "uid": 0,
  58. "description": "Photoprism run as a root user."
  59. }
  60. ],
  61. "capabilities": [
  62. {
  63. "name": "CHOWN",
  64. "description": "Photoprism is able to chown files."
  65. },
  66. {
  67. "name": "FOWNER",
  68. "description": "Photoprism is able to bypass permission checks for it's sub-processes."
  69. },
  70. {
  71. "name": "DAC_OVERRIDE",
  72. "description": "Photoprism is able to bypass permission checks."
  73. },
  74. {
  75. "name": "SETGID",
  76. "description": "Photoprism is able to set group ID for it's sub-processes."
  77. },
  78. {
  79. "name": "SETUID",
  80. "description": "Photoprism is able to set user ID for it's sub-processes."
  81. },
  82. {
  83. "name": "KILL",
  84. "description": "Photoprism is able to kill processes."
  85. }
  86. ],
  87. "hostMounts": []
  88. },
  89. "schema": {
  90. "groups": [
  91. {
  92. "name": "Photoprism Configuration",
  93. "description": "Configure Photoprism"
  94. },
  95. {
  96. "name": "User and Group Configuration",
  97. "description": "Configure User and Group for Photoprism"
  98. },
  99. {
  100. "name": "Advanced Pod Configuration",
  101. "description": "Configure Advanced Pod Options for Photoprism"
  102. },
  103. {
  104. "name": "Network Configuration",
  105. "description": "Configure Network for Photoprism"
  106. },
  107. {
  108. "name": "Storage Configuration",
  109. "description": "Configure Storage for Photoprism"
  110. },
  111. {
  112. "name": "Resources Configuration",
  113. "description": "Configure Resources for Photoprism"
  114. }
  115. ],
  116. "portals": {
  117. "web_portal": {
  118. "protocols": [
  119. "$kubernetes-resource_configmap_portal_protocol"
  120. ],
  121. "host": [
  122. "$kubernetes-resource_configmap_portal_host"
  123. ],
  124. "ports": [
  125. "$kubernetes-resource_configmap_portal_port"
  126. ],
  127. "path": "$kubernetes-resource_configmap_portal_path"
  128. }
  129. },
  130. "questions": [
  131. {
  132. "variable": "photoprismConfig",
  133. "label": "",
  134. "group": "Photoprism Configuration",
  135. "schema": {
  136. "type": "dict",
  137. "attrs": [
  138. {
  139. "variable": "siteURL",
  140. "label": "Site URL",
  141. "description": "The URL for Photoprism.",
  142. "schema": {
  143. "type": "string",
  144. "default": ""
  145. }
  146. },
  147. {
  148. "variable": "public",
  149. "label": "Public",
  150. "description": "Enable public access to Photoprism.</br>\nIf enabled, Photoprism will be accessible without authentication.\n",
  151. "schema": {
  152. "type": "boolean",
  153. "default": false
  154. }
  155. },
  156. {
  157. "variable": "password",
  158. "label": "Password",
  159. "description": "Set a password for Photoprism.</br>\nIf public access is enabled, a password is required.\n",
  160. "schema": {
  161. "type": "string",
  162. "default": "",
  163. "required": true,
  164. "show_if": [
  165. [
  166. "public",
  167. "=",
  168. false
  169. ]
  170. ],
  171. "private": true
  172. }
  173. },
  174. {
  175. "variable": "additionalEnvs",
  176. "label": "Additional Environment Variables",
  177. "description": "Configure additional environment variables for Photoprism.",
  178. "schema": {
  179. "type": "list",
  180. "default": [],
  181. "items": [
  182. {
  183. "variable": "env",
  184. "label": "Environment Variable",
  185. "schema": {
  186. "type": "dict",
  187. "attrs": [
  188. {
  189. "variable": "name",
  190. "label": "Name",
  191. "schema": {
  192. "type": "string",
  193. "required": true
  194. }
  195. },
  196. {
  197. "variable": "value",
  198. "label": "Value",
  199. "schema": {
  200. "type": "string",
  201. "required": true
  202. }
  203. }
  204. ]
  205. }
  206. }
  207. ]
  208. }
  209. }
  210. ]
  211. }
  212. },
  213. {
  214. "variable": "photoprismID",
  215. "label": "",
  216. "group": "User and Group Configuration",
  217. "schema": {
  218. "type": "dict",
  219. "attrs": [
  220. {
  221. "variable": "user",
  222. "label": "User ID",
  223. "description": "The user id that Photoprism files will be owned by.",
  224. "schema": {
  225. "type": "int",
  226. "min": 2,
  227. "default": 568,
  228. "required": true
  229. }
  230. },
  231. {
  232. "variable": "group",
  233. "label": "Group ID",
  234. "description": "The group id that Photoprism files will be owned by.",
  235. "schema": {
  236. "type": "int",
  237. "min": 2,
  238. "default": 568,
  239. "required": true
  240. }
  241. }
  242. ]
  243. }
  244. },
  245. {
  246. "variable": "podOptions",
  247. "label": "",
  248. "group": "Advanced Pod Configuration",
  249. "schema": {
  250. "type": "dict",
  251. "attrs": [
  252. {
  253. "variable": "dnsConfig",
  254. "label": "Advanced DNS Configuration",
  255. "schema": {
  256. "type": "dict",
  257. "attrs": [
  258. {
  259. "variable": "options",
  260. "label": "DNS Options",
  261. "schema": {
  262. "type": "list",
  263. "items": [
  264. {
  265. "variable": "optionsEntry",
  266. "label": "DNS Option Entry",
  267. "schema": {
  268. "type": "dict",
  269. "attrs": [
  270. {
  271. "variable": "name",
  272. "label": "Option Name",
  273. "schema": {
  274. "type": "string",
  275. "required": true
  276. }
  277. },
  278. {
  279. "variable": "value",
  280. "label": "Option Value",
  281. "schema": {
  282. "type": "string",
  283. "required": true
  284. }
  285. }
  286. ]
  287. }
  288. }
  289. ]
  290. }
  291. }
  292. ]
  293. }
  294. }
  295. ]
  296. }
  297. },
  298. {
  299. "variable": "photoprismNetwork",
  300. "label": "",
  301. "group": "Network Configuration",
  302. "schema": {
  303. "type": "dict",
  304. "attrs": [
  305. {
  306. "variable": "webPort",
  307. "label": "WebUI Port",
  308. "description": "The port for Photoprism WebUI",
  309. "schema": {
  310. "type": "int",
  311. "default": 20800,
  312. "min": 9000,
  313. "max": 65535,
  314. "required": true
  315. }
  316. },
  317. {
  318. "variable": "hostNetwork",
  319. "label": "Host Network",
  320. "description": "Bind to the host network. It's recommended to keep this disabled.\n",
  321. "schema": {
  322. "type": "boolean",
  323. "default": false
  324. }
  325. },
  326. {
  327. "variable": "certificateID",
  328. "label": "Certificate",
  329. "description": "The certificate to use for Photoprism",
  330. "schema": {
  331. "type": "int",
  332. "null": true,
  333. "$ref": [
  334. "definitions/certificate"
  335. ],
  336. "enum": [
  337. {
  338. "value": null,
  339. "description": "No Certificate"
  340. }
  341. ],
  342. "default": null
  343. }
  344. }
  345. ]
  346. }
  347. },
  348. {
  349. "variable": "photoprismStorage",
  350. "label": "",
  351. "group": "Storage Configuration",
  352. "schema": {
  353. "type": "dict",
  354. "attrs": [
  355. {
  356. "variable": "import",
  357. "label": "Photoprism Import Storage",
  358. "description": "The path to store Photoprism Import.",
  359. "schema": {
  360. "type": "dict",
  361. "attrs": [
  362. {
  363. "variable": "type",
  364. "label": "Type",
  365. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  366. "schema": {
  367. "type": "string",
  368. "required": true,
  369. "immutable": true,
  370. "default": "ixVolume",
  371. "enum": [
  372. {
  373. "value": "hostPath",
  374. "description": "Host Path (Path that already exists on the system)"
  375. },
  376. {
  377. "value": "ixVolume",
  378. "description": "ixVolume (Dataset created automatically by the system)"
  379. }
  380. ]
  381. }
  382. },
  383. {
  384. "variable": "ixVolumeConfig",
  385. "label": "ixVolume Configuration",
  386. "description": "The configuration for the ixVolume dataset.",
  387. "schema": {
  388. "type": "dict",
  389. "show_if": [
  390. [
  391. "type",
  392. "=",
  393. "ixVolume"
  394. ]
  395. ],
  396. "$ref": [
  397. "normalize/ixVolume"
  398. ],
  399. "attrs": [
  400. {
  401. "variable": "aclEnable",
  402. "label": "Enable ACL",
  403. "description": "Enable ACL for the dataset.",
  404. "schema": {
  405. "type": "boolean",
  406. "default": false
  407. }
  408. },
  409. {
  410. "variable": "datasetName",
  411. "label": "Dataset Name",
  412. "description": "The name of the dataset to use for storage.",
  413. "schema": {
  414. "type": "string",
  415. "required": true,
  416. "immutable": true,
  417. "hidden": true,
  418. "default": "import"
  419. }
  420. },
  421. {
  422. "variable": "aclEntries",
  423. "label": "ACL Configuration",
  424. "schema": {
  425. "type": "dict",
  426. "show_if": [
  427. [
  428. "aclEnable",
  429. "=",
  430. true
  431. ]
  432. ],
  433. "attrs": [
  434. {
  435. "variable": "path",
  436. "label": "Path",
  437. "description": "Path to perform ACL",
  438. "schema": {
  439. "type": "string",
  440. "hidden": true
  441. }
  442. },
  443. {
  444. "variable": "entries",
  445. "label": "ACL Entries",
  446. "description": "ACL Entries",
  447. "schema": {
  448. "type": "list",
  449. "items": [
  450. {
  451. "variable": "aclEntry",
  452. "label": "ACL Entry",
  453. "schema": {
  454. "type": "dict",
  455. "attrs": [
  456. {
  457. "variable": "id_type",
  458. "label": "ID Type",
  459. "schema": {
  460. "type": "string",
  461. "enum": [
  462. {
  463. "value": "USER",
  464. "description": "Entry is for a USER"
  465. },
  466. {
  467. "value": "GROUP",
  468. "description": "Entry is for a GROUP"
  469. }
  470. ],
  471. "default": "USER"
  472. }
  473. },
  474. {
  475. "variable": "id",
  476. "label": "ID",
  477. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  478. "schema": {
  479. "type": "int",
  480. "required": true,
  481. "min": 0
  482. }
  483. },
  484. {
  485. "variable": "access",
  486. "label": "Access",
  487. "schema": {
  488. "type": "string",
  489. "enum": [
  490. {
  491. "value": "READ",
  492. "description": "Read Access"
  493. },
  494. {
  495. "value": "MODIFY",
  496. "description": "Modify Access"
  497. },
  498. {
  499. "value": "FULL_CONTROL",
  500. "description": "FULL_CONTROL Access"
  501. }
  502. ]
  503. }
  504. }
  505. ]
  506. }
  507. }
  508. ]
  509. }
  510. }
  511. ]
  512. }
  513. }
  514. ]
  515. }
  516. },
  517. {
  518. "variable": "hostPathConfig",
  519. "label": "Host Path Configuration",
  520. "schema": {
  521. "type": "dict",
  522. "show_if": [
  523. [
  524. "type",
  525. "=",
  526. "hostPath"
  527. ]
  528. ],
  529. "attrs": [
  530. {
  531. "variable": "aclEnable",
  532. "label": "Enable ACL",
  533. "description": "Enable ACL for the dataset.",
  534. "schema": {
  535. "type": "boolean",
  536. "default": false
  537. }
  538. },
  539. {
  540. "variable": "acl",
  541. "label": "ACL Configuration",
  542. "schema": {
  543. "type": "dict",
  544. "show_if": [
  545. [
  546. "aclEnable",
  547. "=",
  548. true
  549. ]
  550. ],
  551. "attrs": [
  552. {
  553. "variable": "path",
  554. "label": "Host Path",
  555. "description": "Host Path to perform ACL",
  556. "schema": {
  557. "type": "hostpath",
  558. "required": true,
  559. "empty": false
  560. }
  561. },
  562. {
  563. "variable": "entries",
  564. "label": "ACL Entries",
  565. "description": "ACL Entries",
  566. "schema": {
  567. "type": "list",
  568. "items": [
  569. {
  570. "variable": "aclEntry",
  571. "label": "ACL Entry",
  572. "schema": {
  573. "type": "dict",
  574. "attrs": [
  575. {
  576. "variable": "id_type",
  577. "label": "ID Type",
  578. "schema": {
  579. "type": "string",
  580. "enum": [
  581. {
  582. "value": "USER",
  583. "description": "Entry is for a USER"
  584. },
  585. {
  586. "value": "GROUP",
  587. "description": "Entry is for a GROUP"
  588. }
  589. ],
  590. "default": "USER"
  591. }
  592. },
  593. {
  594. "variable": "id",
  595. "label": "ID",
  596. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  597. "schema": {
  598. "type": "int",
  599. "required": true,
  600. "min": 0
  601. }
  602. },
  603. {
  604. "variable": "access",
  605. "label": "Access",
  606. "schema": {
  607. "type": "string",
  608. "enum": [
  609. {
  610. "value": "READ",
  611. "description": "Read Access"
  612. },
  613. {
  614. "value": "MODIFY",
  615. "description": "Modify Access"
  616. },
  617. {
  618. "value": "FULL_CONTROL",
  619. "description": "FULL_CONTROL Access"
  620. }
  621. ]
  622. }
  623. }
  624. ]
  625. }
  626. }
  627. ]
  628. }
  629. },
  630. {
  631. "variable": "options",
  632. "label": "ACL Options",
  633. "schema": {
  634. "type": "dict",
  635. "attrs": [
  636. {
  637. "variable": "force",
  638. "label": "Force Flag",
  639. "description": "Enabling `Force` applies ACL even if the path has existing data",
  640. "schema": {
  641. "type": "boolean",
  642. "default": false
  643. }
  644. }
  645. ]
  646. }
  647. }
  648. ],
  649. "$ref": [
  650. "normalize/acl"
  651. ]
  652. }
  653. },
  654. {
  655. "variable": "hostPath",
  656. "label": "Host Path",
  657. "description": "The host path to use for storage.",
  658. "schema": {
  659. "type": "hostpath",
  660. "show_if": [
  661. [
  662. "aclEnable",
  663. "=",
  664. false
  665. ]
  666. ],
  667. "required": true
  668. }
  669. }
  670. ]
  671. }
  672. }
  673. ]
  674. }
  675. },
  676. {
  677. "variable": "storage",
  678. "label": "Photoprism Storage",
  679. "description": "The path to store Photoprism Storage.",
  680. "schema": {
  681. "type": "dict",
  682. "attrs": [
  683. {
  684. "variable": "type",
  685. "label": "Type",
  686. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  687. "schema": {
  688. "type": "string",
  689. "required": true,
  690. "immutable": true,
  691. "default": "ixVolume",
  692. "enum": [
  693. {
  694. "value": "hostPath",
  695. "description": "Host Path (Path that already exists on the system)"
  696. },
  697. {
  698. "value": "ixVolume",
  699. "description": "ixVolume (Dataset created automatically by the system)"
  700. }
  701. ]
  702. }
  703. },
  704. {
  705. "variable": "ixVolumeConfig",
  706. "label": "ixVolume Configuration",
  707. "description": "The configuration for the ixVolume dataset.",
  708. "schema": {
  709. "type": "dict",
  710. "show_if": [
  711. [
  712. "type",
  713. "=",
  714. "ixVolume"
  715. ]
  716. ],
  717. "$ref": [
  718. "normalize/ixVolume"
  719. ],
  720. "attrs": [
  721. {
  722. "variable": "aclEnable",
  723. "label": "Enable ACL",
  724. "description": "Enable ACL for the dataset.",
  725. "schema": {
  726. "type": "boolean",
  727. "default": false
  728. }
  729. },
  730. {
  731. "variable": "datasetName",
  732. "label": "Dataset Name",
  733. "description": "The name of the dataset to use for storage.",
  734. "schema": {
  735. "type": "string",
  736. "required": true,
  737. "immutable": true,
  738. "hidden": true,
  739. "default": "storage"
  740. }
  741. },
  742. {
  743. "variable": "aclEntries",
  744. "label": "ACL Configuration",
  745. "schema": {
  746. "type": "dict",
  747. "show_if": [
  748. [
  749. "aclEnable",
  750. "=",
  751. true
  752. ]
  753. ],
  754. "attrs": [
  755. {
  756. "variable": "path",
  757. "label": "Path",
  758. "description": "Path to perform ACL",
  759. "schema": {
  760. "type": "string",
  761. "hidden": true
  762. }
  763. },
  764. {
  765. "variable": "entries",
  766. "label": "ACL Entries",
  767. "description": "ACL Entries",
  768. "schema": {
  769. "type": "list",
  770. "items": [
  771. {
  772. "variable": "aclEntry",
  773. "label": "ACL Entry",
  774. "schema": {
  775. "type": "dict",
  776. "attrs": [
  777. {
  778. "variable": "id_type",
  779. "label": "ID Type",
  780. "schema": {
  781. "type": "string",
  782. "enum": [
  783. {
  784. "value": "USER",
  785. "description": "Entry is for a USER"
  786. },
  787. {
  788. "value": "GROUP",
  789. "description": "Entry is for a GROUP"
  790. }
  791. ],
  792. "default": "USER"
  793. }
  794. },
  795. {
  796. "variable": "id",
  797. "label": "ID",
  798. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  799. "schema": {
  800. "type": "int",
  801. "required": true,
  802. "min": 0
  803. }
  804. },
  805. {
  806. "variable": "access",
  807. "label": "Access",
  808. "schema": {
  809. "type": "string",
  810. "enum": [
  811. {
  812. "value": "READ",
  813. "description": "Read Access"
  814. },
  815. {
  816. "value": "MODIFY",
  817. "description": "Modify Access"
  818. },
  819. {
  820. "value": "FULL_CONTROL",
  821. "description": "FULL_CONTROL Access"
  822. }
  823. ]
  824. }
  825. }
  826. ]
  827. }
  828. }
  829. ]
  830. }
  831. }
  832. ]
  833. }
  834. }
  835. ]
  836. }
  837. },
  838. {
  839. "variable": "hostPathConfig",
  840. "label": "Host Path Configuration",
  841. "schema": {
  842. "type": "dict",
  843. "show_if": [
  844. [
  845. "type",
  846. "=",
  847. "hostPath"
  848. ]
  849. ],
  850. "attrs": [
  851. {
  852. "variable": "aclEnable",
  853. "label": "Enable ACL",
  854. "description": "Enable ACL for the dataset.",
  855. "schema": {
  856. "type": "boolean",
  857. "default": false
  858. }
  859. },
  860. {
  861. "variable": "acl",
  862. "label": "ACL Configuration",
  863. "schema": {
  864. "type": "dict",
  865. "show_if": [
  866. [
  867. "aclEnable",
  868. "=",
  869. true
  870. ]
  871. ],
  872. "attrs": [
  873. {
  874. "variable": "path",
  875. "label": "Host Path",
  876. "description": "Host Path to perform ACL",
  877. "schema": {
  878. "type": "hostpath",
  879. "required": true,
  880. "empty": false
  881. }
  882. },
  883. {
  884. "variable": "entries",
  885. "label": "ACL Entries",
  886. "description": "ACL Entries",
  887. "schema": {
  888. "type": "list",
  889. "items": [
  890. {
  891. "variable": "aclEntry",
  892. "label": "ACL Entry",
  893. "schema": {
  894. "type": "dict",
  895. "attrs": [
  896. {
  897. "variable": "id_type",
  898. "label": "ID Type",
  899. "schema": {
  900. "type": "string",
  901. "enum": [
  902. {
  903. "value": "USER",
  904. "description": "Entry is for a USER"
  905. },
  906. {
  907. "value": "GROUP",
  908. "description": "Entry is for a GROUP"
  909. }
  910. ],
  911. "default": "USER"
  912. }
  913. },
  914. {
  915. "variable": "id",
  916. "label": "ID",
  917. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  918. "schema": {
  919. "type": "int",
  920. "required": true,
  921. "min": 0
  922. }
  923. },
  924. {
  925. "variable": "access",
  926. "label": "Access",
  927. "schema": {
  928. "type": "string",
  929. "enum": [
  930. {
  931. "value": "READ",
  932. "description": "Read Access"
  933. },
  934. {
  935. "value": "MODIFY",
  936. "description": "Modify Access"
  937. },
  938. {
  939. "value": "FULL_CONTROL",
  940. "description": "FULL_CONTROL Access"
  941. }
  942. ]
  943. }
  944. }
  945. ]
  946. }
  947. }
  948. ]
  949. }
  950. },
  951. {
  952. "variable": "options",
  953. "label": "ACL Options",
  954. "schema": {
  955. "type": "dict",
  956. "attrs": [
  957. {
  958. "variable": "force",
  959. "label": "Force Flag",
  960. "description": "Enabling `Force` applies ACL even if the path has existing data",
  961. "schema": {
  962. "type": "boolean",
  963. "default": false
  964. }
  965. }
  966. ]
  967. }
  968. }
  969. ],
  970. "$ref": [
  971. "normalize/acl"
  972. ]
  973. }
  974. },
  975. {
  976. "variable": "hostPath",
  977. "label": "Host Path",
  978. "description": "The host path to use for storage.",
  979. "schema": {
  980. "type": "hostpath",
  981. "show_if": [
  982. [
  983. "aclEnable",
  984. "=",
  985. false
  986. ]
  987. ],
  988. "required": true
  989. }
  990. }
  991. ]
  992. }
  993. }
  994. ]
  995. }
  996. },
  997. {
  998. "variable": "originals",
  999. "label": "Photoprism Originals Storage",
  1000. "description": "The path to store Photoprism Originals.",
  1001. "schema": {
  1002. "type": "dict",
  1003. "attrs": [
  1004. {
  1005. "variable": "type",
  1006. "label": "Type",
  1007. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.</br>\n",
  1008. "schema": {
  1009. "type": "string",
  1010. "required": true,
  1011. "immutable": true,
  1012. "default": "ixVolume",
  1013. "enum": [
  1014. {
  1015. "value": "hostPath",
  1016. "description": "Host Path (Path that already exists on the system)"
  1017. },
  1018. {
  1019. "value": "ixVolume",
  1020. "description": "ixVolume (Dataset created automatically by the system)"
  1021. },
  1022. {
  1023. "value": "emptyDir",
  1024. "description": "emptyDir (Temporary directory created on the disk or in memory)"
  1025. }
  1026. ]
  1027. }
  1028. },
  1029. {
  1030. "variable": "readOnly",
  1031. "label": "Read Only",
  1032. "description": "Mount the volume as read only.",
  1033. "schema": {
  1034. "type": "boolean",
  1035. "default": false
  1036. }
  1037. },
  1038. {
  1039. "variable": "ixVolumeConfig",
  1040. "label": "ixVolume Configuration",
  1041. "description": "The configuration for the ixVolume dataset.",
  1042. "schema": {
  1043. "type": "dict",
  1044. "show_if": [
  1045. [
  1046. "type",
  1047. "=",
  1048. "ixVolume"
  1049. ]
  1050. ],
  1051. "$ref": [
  1052. "normalize/ixVolume"
  1053. ],
  1054. "attrs": [
  1055. {
  1056. "variable": "aclEnable",
  1057. "label": "Enable ACL",
  1058. "description": "Enable ACL for the dataset.",
  1059. "schema": {
  1060. "type": "boolean",
  1061. "default": false
  1062. }
  1063. },
  1064. {
  1065. "variable": "datasetName",
  1066. "label": "Dataset Name",
  1067. "description": "The name of the dataset to use for storage.",
  1068. "schema": {
  1069. "type": "string",
  1070. "required": true,
  1071. "immutable": true,
  1072. "hidden": true,
  1073. "default": "originals"
  1074. }
  1075. },
  1076. {
  1077. "variable": "aclEntries",
  1078. "label": "ACL Configuration",
  1079. "schema": {
  1080. "type": "dict",
  1081. "show_if": [
  1082. [
  1083. "aclEnable",
  1084. "=",
  1085. true
  1086. ]
  1087. ],
  1088. "attrs": [
  1089. {
  1090. "variable": "path",
  1091. "label": "Path",
  1092. "description": "Path to perform ACL",
  1093. "schema": {
  1094. "type": "string",
  1095. "hidden": true
  1096. }
  1097. },
  1098. {
  1099. "variable": "entries",
  1100. "label": "ACL Entries",
  1101. "description": "ACL Entries",
  1102. "schema": {
  1103. "type": "list",
  1104. "items": [
  1105. {
  1106. "variable": "aclEntry",
  1107. "label": "ACL Entry",
  1108. "schema": {
  1109. "type": "dict",
  1110. "attrs": [
  1111. {
  1112. "variable": "id_type",
  1113. "label": "ID Type",
  1114. "schema": {
  1115. "type": "string",
  1116. "enum": [
  1117. {
  1118. "value": "USER",
  1119. "description": "Entry is for a USER"
  1120. },
  1121. {
  1122. "value": "GROUP",
  1123. "description": "Entry is for a GROUP"
  1124. }
  1125. ],
  1126. "default": "USER"
  1127. }
  1128. },
  1129. {
  1130. "variable": "id",
  1131. "label": "ID",
  1132. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1133. "schema": {
  1134. "type": "int",
  1135. "required": true,
  1136. "min": 0
  1137. }
  1138. },
  1139. {
  1140. "variable": "access",
  1141. "label": "Access",
  1142. "schema": {
  1143. "type": "string",
  1144. "enum": [
  1145. {
  1146. "value": "READ",
  1147. "description": "Read Access"
  1148. },
  1149. {
  1150. "value": "MODIFY",
  1151. "description": "Modify Access"
  1152. },
  1153. {
  1154. "value": "FULL_CONTROL",
  1155. "description": "FULL_CONTROL Access"
  1156. }
  1157. ]
  1158. }
  1159. }
  1160. ]
  1161. }
  1162. }
  1163. ]
  1164. }
  1165. }
  1166. ]
  1167. }
  1168. }
  1169. ]
  1170. }
  1171. },
  1172. {
  1173. "variable": "hostPathConfig",
  1174. "label": "Host Path Configuration",
  1175. "schema": {
  1176. "type": "dict",
  1177. "show_if": [
  1178. [
  1179. "type",
  1180. "=",
  1181. "hostPath"
  1182. ]
  1183. ],
  1184. "attrs": [
  1185. {
  1186. "variable": "aclEnable",
  1187. "label": "Enable ACL",
  1188. "description": "Enable ACL for the dataset.",
  1189. "schema": {
  1190. "type": "boolean",
  1191. "default": false
  1192. }
  1193. },
  1194. {
  1195. "variable": "acl",
  1196. "label": "ACL Configuration",
  1197. "schema": {
  1198. "type": "dict",
  1199. "show_if": [
  1200. [
  1201. "aclEnable",
  1202. "=",
  1203. true
  1204. ]
  1205. ],
  1206. "attrs": [
  1207. {
  1208. "variable": "path",
  1209. "label": "Host Path",
  1210. "description": "Host Path to perform ACL",
  1211. "schema": {
  1212. "type": "hostpath",
  1213. "required": true,
  1214. "empty": false
  1215. }
  1216. },
  1217. {
  1218. "variable": "entries",
  1219. "label": "ACL Entries",
  1220. "description": "ACL Entries",
  1221. "schema": {
  1222. "type": "list",
  1223. "items": [
  1224. {
  1225. "variable": "aclEntry",
  1226. "label": "ACL Entry",
  1227. "schema": {
  1228. "type": "dict",
  1229. "attrs": [
  1230. {
  1231. "variable": "id_type",
  1232. "label": "ID Type",
  1233. "schema": {
  1234. "type": "string",
  1235. "enum": [
  1236. {
  1237. "value": "USER",
  1238. "description": "Entry is for a USER"
  1239. },
  1240. {
  1241. "value": "GROUP",
  1242. "description": "Entry is for a GROUP"
  1243. }
  1244. ],
  1245. "default": "USER"
  1246. }
  1247. },
  1248. {
  1249. "variable": "id",
  1250. "label": "ID",
  1251. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1252. "schema": {
  1253. "type": "int",
  1254. "required": true,
  1255. "min": 0
  1256. }
  1257. },
  1258. {
  1259. "variable": "access",
  1260. "label": "Access",
  1261. "schema": {
  1262. "type": "string",
  1263. "enum": [
  1264. {
  1265. "value": "READ",
  1266. "description": "Read Access"
  1267. },
  1268. {
  1269. "value": "MODIFY",
  1270. "description": "Modify Access"
  1271. },
  1272. {
  1273. "value": "FULL_CONTROL",
  1274. "description": "FULL_CONTROL Access"
  1275. }
  1276. ]
  1277. }
  1278. }
  1279. ]
  1280. }
  1281. }
  1282. ]
  1283. }
  1284. },
  1285. {
  1286. "variable": "options",
  1287. "label": "ACL Options",
  1288. "schema": {
  1289. "type": "dict",
  1290. "attrs": [
  1291. {
  1292. "variable": "force",
  1293. "label": "Force Flag",
  1294. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1295. "schema": {
  1296. "type": "boolean",
  1297. "default": false
  1298. }
  1299. }
  1300. ]
  1301. }
  1302. }
  1303. ],
  1304. "$ref": [
  1305. "normalize/acl"
  1306. ]
  1307. }
  1308. },
  1309. {
  1310. "variable": "hostPath",
  1311. "label": "Host Path",
  1312. "description": "The host path to use for storage.",
  1313. "schema": {
  1314. "type": "hostpath",
  1315. "show_if": [
  1316. [
  1317. "aclEnable",
  1318. "=",
  1319. false
  1320. ]
  1321. ],
  1322. "required": true
  1323. }
  1324. }
  1325. ]
  1326. }
  1327. }
  1328. ]
  1329. }
  1330. },
  1331. {
  1332. "variable": "additionalStorages",
  1333. "label": "Additional Storage",
  1334. "description": "Additional storage for Photoprism.",
  1335. "schema": {
  1336. "type": "list",
  1337. "default": [],
  1338. "items": [
  1339. {
  1340. "variable": "storageEntry",
  1341. "label": "Storage Entry",
  1342. "schema": {
  1343. "type": "dict",
  1344. "attrs": [
  1345. {
  1346. "variable": "type",
  1347. "label": "Type",
  1348. "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",
  1349. "schema": {
  1350. "type": "string",
  1351. "required": true,
  1352. "default": "ixVolume",
  1353. "immutable": true,
  1354. "enum": [
  1355. {
  1356. "value": "hostPath",
  1357. "description": "Host Path (Path that already exists on the system)"
  1358. },
  1359. {
  1360. "value": "ixVolume",
  1361. "description": "ixVolume (Dataset created automatically by the system)"
  1362. },
  1363. {
  1364. "value": "smb-pv-pvc",
  1365. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1366. }
  1367. ]
  1368. }
  1369. },
  1370. {
  1371. "variable": "readOnly",
  1372. "label": "Read Only",
  1373. "description": "Mount the volume as read only.",
  1374. "schema": {
  1375. "type": "boolean",
  1376. "default": false
  1377. }
  1378. },
  1379. {
  1380. "variable": "mountPath",
  1381. "label": "Mount Path",
  1382. "description": "The path inside the container to mount the storage.",
  1383. "schema": {
  1384. "type": "path",
  1385. "required": true
  1386. }
  1387. },
  1388. {
  1389. "variable": "hostPathConfig",
  1390. "label": "Host Path Configuration",
  1391. "schema": {
  1392. "type": "dict",
  1393. "show_if": [
  1394. [
  1395. "type",
  1396. "=",
  1397. "hostPath"
  1398. ]
  1399. ],
  1400. "attrs": [
  1401. {
  1402. "variable": "aclEnable",
  1403. "label": "Enable ACL",
  1404. "description": "Enable ACL for the dataset.",
  1405. "schema": {
  1406. "type": "boolean",
  1407. "default": false
  1408. }
  1409. },
  1410. {
  1411. "variable": "acl",
  1412. "label": "ACL Configuration",
  1413. "schema": {
  1414. "type": "dict",
  1415. "show_if": [
  1416. [
  1417. "aclEnable",
  1418. "=",
  1419. true
  1420. ]
  1421. ],
  1422. "attrs": [
  1423. {
  1424. "variable": "path",
  1425. "label": "Host Path",
  1426. "description": "Host Path to perform ACL",
  1427. "schema": {
  1428. "type": "hostpath",
  1429. "required": true,
  1430. "empty": false
  1431. }
  1432. },
  1433. {
  1434. "variable": "entries",
  1435. "label": "ACL Entries",
  1436. "description": "ACL Entries",
  1437. "schema": {
  1438. "type": "list",
  1439. "items": [
  1440. {
  1441. "variable": "aclEntry",
  1442. "label": "ACL Entry",
  1443. "schema": {
  1444. "type": "dict",
  1445. "attrs": [
  1446. {
  1447. "variable": "id_type",
  1448. "label": "ID Type",
  1449. "schema": {
  1450. "type": "string",
  1451. "enum": [
  1452. {
  1453. "value": "USER",
  1454. "description": "Entry is for a USER"
  1455. },
  1456. {
  1457. "value": "GROUP",
  1458. "description": "Entry is for a GROUP"
  1459. }
  1460. ],
  1461. "default": "USER"
  1462. }
  1463. },
  1464. {
  1465. "variable": "id",
  1466. "label": "ID",
  1467. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1468. "schema": {
  1469. "type": "int",
  1470. "required": true,
  1471. "min": 0
  1472. }
  1473. },
  1474. {
  1475. "variable": "access",
  1476. "label": "Access",
  1477. "schema": {
  1478. "type": "string",
  1479. "enum": [
  1480. {
  1481. "value": "READ",
  1482. "description": "Read Access"
  1483. },
  1484. {
  1485. "value": "MODIFY",
  1486. "description": "Modify Access"
  1487. },
  1488. {
  1489. "value": "FULL_CONTROL",
  1490. "description": "FULL_CONTROL Access"
  1491. }
  1492. ]
  1493. }
  1494. }
  1495. ]
  1496. }
  1497. }
  1498. ]
  1499. }
  1500. },
  1501. {
  1502. "variable": "options",
  1503. "label": "ACL Options",
  1504. "schema": {
  1505. "type": "dict",
  1506. "attrs": [
  1507. {
  1508. "variable": "force",
  1509. "label": "Force Flag",
  1510. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1511. "schema": {
  1512. "type": "boolean",
  1513. "default": false
  1514. }
  1515. }
  1516. ]
  1517. }
  1518. }
  1519. ],
  1520. "$ref": [
  1521. "normalize/acl"
  1522. ]
  1523. }
  1524. },
  1525. {
  1526. "variable": "hostPath",
  1527. "label": "Host Path",
  1528. "description": "The host path to use for storage.",
  1529. "schema": {
  1530. "type": "hostpath",
  1531. "show_if": [
  1532. [
  1533. "aclEnable",
  1534. "=",
  1535. false
  1536. ]
  1537. ],
  1538. "required": true
  1539. }
  1540. }
  1541. ]
  1542. }
  1543. },
  1544. {
  1545. "variable": "ixVolumeConfig",
  1546. "label": "ixVolume Configuration",
  1547. "description": "The configuration for the ixVolume dataset.",
  1548. "schema": {
  1549. "type": "dict",
  1550. "show_if": [
  1551. [
  1552. "type",
  1553. "=",
  1554. "ixVolume"
  1555. ]
  1556. ],
  1557. "$ref": [
  1558. "normalize/ixVolume"
  1559. ],
  1560. "attrs": [
  1561. {
  1562. "variable": "aclEnable",
  1563. "label": "Enable ACL",
  1564. "description": "Enable ACL for the dataset.",
  1565. "schema": {
  1566. "type": "boolean",
  1567. "default": false
  1568. }
  1569. },
  1570. {
  1571. "variable": "datasetName",
  1572. "label": "Dataset Name",
  1573. "description": "The name of the dataset to use for storage.",
  1574. "schema": {
  1575. "type": "string",
  1576. "required": true,
  1577. "immutable": true,
  1578. "default": "storage_entry"
  1579. }
  1580. },
  1581. {
  1582. "variable": "aclEntries",
  1583. "label": "ACL Configuration",
  1584. "schema": {
  1585. "type": "dict",
  1586. "show_if": [
  1587. [
  1588. "aclEnable",
  1589. "=",
  1590. true
  1591. ]
  1592. ],
  1593. "attrs": [
  1594. {
  1595. "variable": "path",
  1596. "label": "Path",
  1597. "description": "Path to perform ACL",
  1598. "schema": {
  1599. "type": "string",
  1600. "hidden": true
  1601. }
  1602. },
  1603. {
  1604. "variable": "entries",
  1605. "label": "ACL Entries",
  1606. "description": "ACL Entries",
  1607. "schema": {
  1608. "type": "list",
  1609. "items": [
  1610. {
  1611. "variable": "aclEntry",
  1612. "label": "ACL Entry",
  1613. "schema": {
  1614. "type": "dict",
  1615. "attrs": [
  1616. {
  1617. "variable": "id_type",
  1618. "label": "ID Type",
  1619. "schema": {
  1620. "type": "string",
  1621. "enum": [
  1622. {
  1623. "value": "USER",
  1624. "description": "Entry is for a USER"
  1625. },
  1626. {
  1627. "value": "GROUP",
  1628. "description": "Entry is for a GROUP"
  1629. }
  1630. ],
  1631. "default": "USER"
  1632. }
  1633. },
  1634. {
  1635. "variable": "id",
  1636. "label": "ID",
  1637. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1638. "schema": {
  1639. "type": "int",
  1640. "required": true,
  1641. "min": 0
  1642. }
  1643. },
  1644. {
  1645. "variable": "access",
  1646. "label": "Access",
  1647. "schema": {
  1648. "type": "string",
  1649. "enum": [
  1650. {
  1651. "value": "READ",
  1652. "description": "Read Access"
  1653. },
  1654. {
  1655. "value": "MODIFY",
  1656. "description": "Modify Access"
  1657. },
  1658. {
  1659. "value": "FULL_CONTROL",
  1660. "description": "FULL_CONTROL Access"
  1661. }
  1662. ]
  1663. }
  1664. }
  1665. ]
  1666. }
  1667. }
  1668. ]
  1669. }
  1670. }
  1671. ]
  1672. }
  1673. }
  1674. ]
  1675. }
  1676. },
  1677. {
  1678. "variable": "smbConfig",
  1679. "label": "SMB Share Configuration",
  1680. "description": "The configuration for the SMB Share.",
  1681. "schema": {
  1682. "type": "dict",
  1683. "show_if": [
  1684. [
  1685. "type",
  1686. "=",
  1687. "smb-pv-pvc"
  1688. ]
  1689. ],
  1690. "attrs": [
  1691. {
  1692. "variable": "server",
  1693. "label": "Server",
  1694. "description": "The server for the SMB share.",
  1695. "schema": {
  1696. "type": "string",
  1697. "required": true
  1698. }
  1699. },
  1700. {
  1701. "variable": "share",
  1702. "label": "Share",
  1703. "description": "The share name for the SMB share.",
  1704. "schema": {
  1705. "type": "string",
  1706. "required": true
  1707. }
  1708. },
  1709. {
  1710. "variable": "domain",
  1711. "label": "Domain (Optional)",
  1712. "description": "The domain for the SMB share.",
  1713. "schema": {
  1714. "type": "string"
  1715. }
  1716. },
  1717. {
  1718. "variable": "username",
  1719. "label": "Username",
  1720. "description": "The username for the SMB share.",
  1721. "schema": {
  1722. "type": "string",
  1723. "required": true
  1724. }
  1725. },
  1726. {
  1727. "variable": "password",
  1728. "label": "Password",
  1729. "description": "The password for the SMB share.",
  1730. "schema": {
  1731. "type": "string",
  1732. "required": true,
  1733. "private": true
  1734. }
  1735. },
  1736. {
  1737. "variable": "size",
  1738. "label": "Size (in Gi)",
  1739. "description": "The size of the volume quota.",
  1740. "schema": {
  1741. "type": "int",
  1742. "required": true,
  1743. "min": 1,
  1744. "default": 1
  1745. }
  1746. }
  1747. ]
  1748. }
  1749. }
  1750. ]
  1751. }
  1752. }
  1753. ]
  1754. }
  1755. }
  1756. ]
  1757. }
  1758. },
  1759. {
  1760. "variable": "resources",
  1761. "label": "Resources Configuration",
  1762. "group": "Resources Configuration",
  1763. "schema": {
  1764. "type": "dict",
  1765. "attrs": [
  1766. {
  1767. "variable": "limits",
  1768. "label": "Limits",
  1769. "schema": {
  1770. "type": "dict",
  1771. "attrs": [
  1772. {
  1773. "variable": "cpu",
  1774. "label": "CPU",
  1775. "description": "CPU limit for Photoprism.",
  1776. "schema": {
  1777. "type": "string",
  1778. "max_length": 6,
  1779. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1780. "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",
  1781. "default": "4000m",
  1782. "required": true
  1783. }
  1784. },
  1785. {
  1786. "variable": "memory",
  1787. "label": "Memory",
  1788. "description": "Memory limit for Photoprism.",
  1789. "schema": {
  1790. "type": "string",
  1791. "max_length": 12,
  1792. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1793. "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",
  1794. "default": "8Gi",
  1795. "required": true
  1796. }
  1797. }
  1798. ]
  1799. }
  1800. }
  1801. ]
  1802. }
  1803. },
  1804. {
  1805. "variable": "photoprismGPU",
  1806. "group": "Resources Configuration",
  1807. "label": "GPU Configuration",
  1808. "schema": {
  1809. "type": "dict",
  1810. "$ref": [
  1811. "definitions/gpuConfiguration"
  1812. ],
  1813. "attrs": []
  1814. }
  1815. }
  1816. ]
  1817. },
  1818. "app_readme": "<h1>PhotoPrism</h1>\n<p><a href=\"https://photoprism.app/\">PhotoPrism</a> is a server-based application for browsing, organizing and sharing your personal photo collection.</p>",
  1819. "detailed_readme": "<h1>PhotoPrism</h1>\n<p><a href=\"https://photoprism.app/\">PhotoPrism</a> is a server-based application for browsing, organizing and sharing your personal photo collection.</p>",
  1820. "changelog": null
  1821. },
  1822. "1.1.3": {
  1823. "healthy": true,
  1824. "supported": true,
  1825. "healthy_error": null,
  1826. "location": "/__w/charts/charts/charts/photoprism/1.1.3",
  1827. "last_update": "2025-03-06 08:26:26",
  1828. "required_features": [
  1829. "normalize/ixVolume",
  1830. "definitions/gpuConfiguration"
  1831. ],
  1832. "human_version": "231128_1.1.3",
  1833. "version": "1.1.3",
  1834. "chart_metadata": {
  1835. "name": "photoprism",
  1836. "description": "AI-powered app for browsing, organizing & sharing your photo collection.",
  1837. "annotations": {
  1838. "title": "PhotoPrism"
  1839. },
  1840. "type": "application",
  1841. "version": "1.1.3",
  1842. "apiVersion": "v2",
  1843. "appVersion": "231128",
  1844. "kubeVersion": ">=1.16.0-0",
  1845. "maintainers": [
  1846. {
  1847. "name": "truenas",
  1848. "url": "https://www.truenas.com/",
  1849. "email": "dev@ixsystems.com"
  1850. }
  1851. ],
  1852. "dependencies": [
  1853. {
  1854. "name": "common",
  1855. "repository": "file://../../../common/2304.0.1",
  1856. "version": "2304.0.1"
  1857. }
  1858. ],
  1859. "home": "https://photoprism.app/",
  1860. "icon": "https://media.sys.truenas.net/apps/photoprism/icons/icon.svg",
  1861. "sources": [
  1862. "https://photoprism.app/",
  1863. "https://github.com/truenas/charts/tree/master/charts/photoprism"
  1864. ],
  1865. "keywords": [
  1866. "media"
  1867. ]
  1868. },
  1869. "app_metadata": {
  1870. "runAsContext": [
  1871. {
  1872. "userName": "root",
  1873. "groupName": "root",
  1874. "gid": 0,
  1875. "uid": 0,
  1876. "description": "Photoprism runs as root user."
  1877. }
  1878. ],
  1879. "capabilities": [
  1880. {
  1881. "name": "CHOWN",
  1882. "description": "Photoprism is able to chown files."
  1883. },
  1884. {
  1885. "name": "FOWNER",
  1886. "description": "Photoprism is able to bypass permission checks for it's sub-processes."
  1887. },
  1888. {
  1889. "name": "SYS_CHROOT",
  1890. "description": "Photoprism is able to use chroot."
  1891. },
  1892. {
  1893. "name": "MKNOD",
  1894. "description": "Photoprism is able to create device nodes."
  1895. },
  1896. {
  1897. "name": "DAC_OVERRIDE",
  1898. "description": "Photoprism is able to bypass permission checks."
  1899. },
  1900. {
  1901. "name": "FSETID",
  1902. "description": "Photoprism is able to set file capabilities."
  1903. },
  1904. {
  1905. "name": "KILL",
  1906. "description": "Photoprism is able to kill processes."
  1907. },
  1908. {
  1909. "name": "SETGID",
  1910. "description": "Photoprism is able to set group ID for it's sub-processes."
  1911. },
  1912. {
  1913. "name": "SETUID",
  1914. "description": "Photoprism is able to set user ID for it's sub-processes."
  1915. },
  1916. {
  1917. "name": "SETPCAP",
  1918. "description": "Photoprism is able to set process capabilities."
  1919. },
  1920. {
  1921. "name": "NET_BIND_SERVICE",
  1922. "description": "Photoprism is able to bind to privileged ports."
  1923. },
  1924. {
  1925. "name": "SETFCAP",
  1926. "description": "Photoprism is able to set file capabilities."
  1927. },
  1928. {
  1929. "name": "NET_RAW",
  1930. "description": "Photoprism is able to use raw sockets."
  1931. },
  1932. {
  1933. "name": "AUDIT_WRITE",
  1934. "description": "Photoprism is able to write to audit log."
  1935. }
  1936. ],
  1937. "hostMounts": []
  1938. },
  1939. "schema": {
  1940. "groups": [
  1941. {
  1942. "name": "Configuration",
  1943. "description": "Photo Prism application configuration"
  1944. },
  1945. {
  1946. "name": "Storage",
  1947. "description": "Configure storage for photo prism"
  1948. },
  1949. {
  1950. "name": "Networking",
  1951. "description": "Networking Configuration for photo prism"
  1952. },
  1953. {
  1954. "name": "Advanced DNS Settings",
  1955. "description": "Configure DNS settings"
  1956. },
  1957. {
  1958. "name": "Resource Reservation",
  1959. "description": "Specify resources to be allocated to workload"
  1960. },
  1961. {
  1962. "name": "Resource Limits",
  1963. "description": "Set CPU/memory limits for Kubernetes Pod"
  1964. }
  1965. ],
  1966. "portals": {
  1967. "web_portal": {
  1968. "protocols": [
  1969. "http"
  1970. ],
  1971. "host": [
  1972. "$node_ip"
  1973. ],
  1974. "ports": [
  1975. "$variable-web_port"
  1976. ],
  1977. "path": "/"
  1978. }
  1979. },
  1980. "questions": [
  1981. {
  1982. "variable": "host_network",
  1983. "group": "Networking",
  1984. "label": "Host Network",
  1985. "description": "Bind to the host network. It's recommended to keep this disabled but may be needed for photoprism to be reachable from a hostNetworked VPN.</br>\n",
  1986. "schema": {
  1987. "type": "boolean",
  1988. "default": false
  1989. }
  1990. },
  1991. {
  1992. "variable": "web_port",
  1993. "label": "Web Port for photo prism",
  1994. "group": "Networking",
  1995. "schema": {
  1996. "type": "int",
  1997. "min": 8000,
  1998. "max": 65535,
  1999. "default": 20800,
  2000. "required": true
  2001. }
  2002. },
  2003. {
  2004. "variable": "dnsConfig",
  2005. "label": "DNS Configuration",
  2006. "group": "Advanced DNS Settings",
  2007. "schema": {
  2008. "type": "dict",
  2009. "attrs": [
  2010. {
  2011. "variable": "options",
  2012. "label": "DNS Options",
  2013. "schema": {
  2014. "type": "list",
  2015. "items": [
  2016. {
  2017. "variable": "optionsEntry",
  2018. "label": "Option Entry Configuration",
  2019. "schema": {
  2020. "type": "dict",
  2021. "attrs": [
  2022. {
  2023. "variable": "name",
  2024. "label": "Option Name",
  2025. "schema": {
  2026. "type": "string",
  2027. "required": true
  2028. }
  2029. },
  2030. {
  2031. "variable": "value",
  2032. "label": "Option Value",
  2033. "schema": {
  2034. "type": "string",
  2035. "required": true
  2036. }
  2037. }
  2038. ]
  2039. }
  2040. }
  2041. ]
  2042. }
  2043. }
  2044. ]
  2045. }
  2046. },
  2047. {
  2048. "variable": "ownerUID",
  2049. "label": "Storage User ID",
  2050. "description": "User ID of the storage volume being used (application will chown the storage volume path with specified UID)",
  2051. "group": "Configuration",
  2052. "schema": {
  2053. "type": "int",
  2054. "default": 568,
  2055. "min": 1,
  2056. "max": 65535
  2057. }
  2058. },
  2059. {
  2060. "variable": "ownerGID",
  2061. "label": "Storage Group ID",
  2062. "description": "Group ID of the storage volume being used (application will chown the storage volume path with specified GID)",
  2063. "group": "Configuration",
  2064. "schema": {
  2065. "type": "int",
  2066. "default": 568,
  2067. "min": 1,
  2068. "max": 65535
  2069. }
  2070. },
  2071. {
  2072. "variable": "password",
  2073. "label": "Password",
  2074. "group": "Configuration",
  2075. "schema": {
  2076. "type": "string",
  2077. "private": true,
  2078. "required": true,
  2079. "empty": false,
  2080. "immutable": true,
  2081. "default": "admin123",
  2082. "show_if": [
  2083. [
  2084. "public",
  2085. "=",
  2086. false
  2087. ]
  2088. ]
  2089. }
  2090. },
  2091. {
  2092. "variable": "public",
  2093. "label": "Enable Public Access",
  2094. "description": "Disable password authentication, WebDAV, and the advanced settings page",
  2095. "group": "Configuration",
  2096. "schema": {
  2097. "type": "boolean",
  2098. "default": false
  2099. }
  2100. },
  2101. {
  2102. "variable": "environmentVariables",
  2103. "label": "Photo Prism environment",
  2104. "group": "Configuration",
  2105. "schema": {
  2106. "type": "list",
  2107. "default": [],
  2108. "items": [
  2109. {
  2110. "variable": "environmentVariable",
  2111. "label": "Environment Variable",
  2112. "schema": {
  2113. "type": "dict",
  2114. "attrs": [
  2115. {
  2116. "variable": "name",
  2117. "label": "Name",
  2118. "schema": {
  2119. "type": "string"
  2120. }
  2121. },
  2122. {
  2123. "variable": "value",
  2124. "label": "Value",
  2125. "schema": {
  2126. "type": "string"
  2127. }
  2128. }
  2129. ]
  2130. }
  2131. }
  2132. ]
  2133. }
  2134. },
  2135. {
  2136. "variable": "appVolumeMounts",
  2137. "label": "Photo Prism Storage",
  2138. "group": "Storage",
  2139. "schema": {
  2140. "type": "dict",
  2141. "attrs": [
  2142. {
  2143. "variable": "original",
  2144. "label": "Storage Volume for Original Media",
  2145. "schema": {
  2146. "type": "dict",
  2147. "attrs": [
  2148. {
  2149. "variable": "datasetName",
  2150. "label": "Original Storage Volume Dataset Name",
  2151. "schema": {
  2152. "type": "string",
  2153. "hidden": true,
  2154. "$ref": [
  2155. "normalize/ixVolume"
  2156. ],
  2157. "show_if": [
  2158. [
  2159. "hostPathEnabled",
  2160. "=",
  2161. false
  2162. ]
  2163. ],
  2164. "default": "ix-photoprism_original",
  2165. "editable": false
  2166. }
  2167. },
  2168. {
  2169. "variable": "mountPath",
  2170. "label": "Original Storage Mount Path",
  2171. "description": "Path where the volume will be mounted inside the pod",
  2172. "schema": {
  2173. "type": "path",
  2174. "hidden": true,
  2175. "editable": true,
  2176. "default": "/photoprism/originals"
  2177. }
  2178. },
  2179. {
  2180. "variable": "readOnly",
  2181. "label": "Read Only",
  2182. "description": "Mount volume as read only",
  2183. "schema": {
  2184. "type": "boolean",
  2185. "default": false
  2186. }
  2187. },
  2188. {
  2189. "variable": "hostPathEnabled",
  2190. "label": "Enable Custom Host Path for Photo Prism Original Storage Volume",
  2191. "schema": {
  2192. "type": "boolean",
  2193. "default": false,
  2194. "show_subquestions_if": true,
  2195. "subquestions": [
  2196. {
  2197. "variable": "hostPath",
  2198. "label": "Host Path for Photo Prism Original Storage Volume",
  2199. "schema": {
  2200. "type": "hostpath",
  2201. "required": true
  2202. }
  2203. }
  2204. ]
  2205. }
  2206. }
  2207. ]
  2208. }
  2209. },
  2210. {
  2211. "variable": "storage",
  2212. "label": "Storage Volume for sidecar/cache/database",
  2213. "schema": {
  2214. "type": "dict",
  2215. "attrs": [
  2216. {
  2217. "variable": "datasetName",
  2218. "label": "Storage Volume Dataset Name",
  2219. "schema": {
  2220. "type": "string",
  2221. "hidden": true,
  2222. "$ref": [
  2223. "normalize/ixVolume"
  2224. ],
  2225. "show_if": [
  2226. [
  2227. "hostPathEnabled",
  2228. "=",
  2229. false
  2230. ]
  2231. ],
  2232. "default": "ix-photoprism_storage",
  2233. "editable": false
  2234. }
  2235. },
  2236. {
  2237. "variable": "mountPath",
  2238. "label": "Storage Mount Path",
  2239. "description": "Path where the volume will be mounted inside the pod",
  2240. "schema": {
  2241. "type": "path",
  2242. "hidden": true,
  2243. "editable": true,
  2244. "default": "/photoprism/storage"
  2245. }
  2246. },
  2247. {
  2248. "variable": "hostPathEnabled",
  2249. "label": "Enable Custom Host Path for Photo Prism Storage Volume",
  2250. "schema": {
  2251. "type": "boolean",
  2252. "default": false,
  2253. "show_subquestions_if": true,
  2254. "subquestions": [
  2255. {
  2256. "variable": "hostPath",
  2257. "label": "Host Path for Photo Prism Storage Volume",
  2258. "schema": {
  2259. "type": "hostpath",
  2260. "required": true
  2261. }
  2262. }
  2263. ]
  2264. }
  2265. }
  2266. ]
  2267. }
  2268. },
  2269. {
  2270. "variable": "import",
  2271. "label": "Storage Volume for imports",
  2272. "schema": {
  2273. "type": "dict",
  2274. "attrs": [
  2275. {
  2276. "variable": "datasetName",
  2277. "label": "Import Storage Volume Dataset Name",
  2278. "schema": {
  2279. "type": "string",
  2280. "hidden": true,
  2281. "$ref": [
  2282. "normalize/ixVolume"
  2283. ],
  2284. "show_if": [
  2285. [
  2286. "hostPathEnabled",
  2287. "=",
  2288. false
  2289. ]
  2290. ],
  2291. "default": "ix-photoprism_import",
  2292. "editable": false
  2293. }
  2294. },
  2295. {
  2296. "variable": "mountPath",
  2297. "label": "Storage Mount Path",
  2298. "description": "Path where the volume will be mounted inside the pod",
  2299. "schema": {
  2300. "type": "path",
  2301. "hidden": true,
  2302. "editable": true,
  2303. "default": "/photoprism/import"
  2304. }
  2305. },
  2306. {
  2307. "variable": "hostPathEnabled",
  2308. "label": "Enable Custom Host Path for Photo Prism Import Storage Volume",
  2309. "schema": {
  2310. "type": "boolean",
  2311. "default": false,
  2312. "show_subquestions_if": true,
  2313. "subquestions": [
  2314. {
  2315. "variable": "hostPath",
  2316. "label": "Host Path for Photo Prism Import Storage Volume",
  2317. "schema": {
  2318. "type": "hostpath",
  2319. "required": true
  2320. }
  2321. }
  2322. ]
  2323. }
  2324. }
  2325. ]
  2326. }
  2327. }
  2328. ]
  2329. }
  2330. },
  2331. {
  2332. "variable": "extraAppVolumeMounts",
  2333. "label": "Extra Host Path Volumes",
  2334. "group": "Storage",
  2335. "schema": {
  2336. "type": "list",
  2337. "items": [
  2338. {
  2339. "variable": "extraAppVolume",
  2340. "label": "Host Path Volume",
  2341. "description": "Add an extra host path volume for Photo Prism application",
  2342. "schema": {
  2343. "type": "dict",
  2344. "attrs": [
  2345. {
  2346. "variable": "mountPath",
  2347. "label": "Mount Path in Pod",
  2348. "description": "Path where the volume will be mounted inside the pod",
  2349. "schema": {
  2350. "type": "path",
  2351. "required": true
  2352. }
  2353. },
  2354. {
  2355. "variable": "readOnly",
  2356. "label": "Read Only",
  2357. "description": "Mount volume as read only",
  2358. "schema": {
  2359. "type": "boolean",
  2360. "default": false
  2361. }
  2362. },
  2363. {
  2364. "variable": "hostPath",
  2365. "label": "Host Path",
  2366. "description": "Host path",
  2367. "schema": {
  2368. "type": "hostpath",
  2369. "required": true
  2370. }
  2371. }
  2372. ]
  2373. }
  2374. }
  2375. ]
  2376. }
  2377. },
  2378. {
  2379. "variable": "gpuConfiguration",
  2380. "label": "GPU Configuration",
  2381. "group": "Resource Reservation",
  2382. "schema": {
  2383. "type": "dict",
  2384. "$ref": [
  2385. "definitions/gpuConfiguration"
  2386. ],
  2387. "attrs": []
  2388. }
  2389. },
  2390. {
  2391. "variable": "enableResourceLimits",
  2392. "label": "Enable Pod resource limits",
  2393. "group": "Resource Limits",
  2394. "schema": {
  2395. "type": "boolean",
  2396. "default": false
  2397. }
  2398. },
  2399. {
  2400. "variable": "cpuLimit",
  2401. "label": "CPU Limit",
  2402. "description": "CPU resource limit allow plain integer values with suffix m(milli) e.g 1000m, 100.",
  2403. "group": "Resource Limits",
  2404. "schema": {
  2405. "type": "string",
  2406. "show_if": [
  2407. [
  2408. "enableResourceLimits",
  2409. "=",
  2410. true
  2411. ]
  2412. ],
  2413. "valid_chars": "^\\d+(?:\\.\\d+(?!.*m$)|m?$)",
  2414. "default": "4000m"
  2415. }
  2416. },
  2417. {
  2418. "variable": "memLimit",
  2419. "label": "Memory Limit",
  2420. "group": "Resource Limits",
  2421. "description": "Memory limits is specified by number of bytes. Followed by quantity suffix like E,P,T,G,M,k and Ei,Pi,Ti,Mi,Gi,Ki can also be used. e.g 129e6, 129M, 128974848000m, 123Mi",
  2422. "schema": {
  2423. "type": "string",
  2424. "show_if": [
  2425. [
  2426. "enableResourceLimits",
  2427. "=",
  2428. true
  2429. ]
  2430. ],
  2431. "valid_chars": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$",
  2432. "default": "8Gi"
  2433. }
  2434. }
  2435. ]
  2436. },
  2437. "app_readme": "<h1>Photo Prism</h1>\n<p>PhotoPrism is a server-based application for browsing, organizing and sharing your personal photo collection.</p>",
  2438. "detailed_readme": "<h1>Photo Prism</h1>\n<p>PhotoPrism is a server-based application for browsing, organizing and sharing your personal photo collection.</p>",
  2439. "changelog": null
  2440. }
  2441. }