app_versions.json 204 KB

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