app_versions.json 216 KB

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