app_versions.json 204 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935
  1. {
  2. "2.0.5": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/charts/plex/2.0.5",
  7. "last_update": "2024-04-20 13:17:04",
  8. "required_features": [
  9. "normalize/acl",
  10. "normalize/ixVolume",
  11. "definitions/gpuConfiguration",
  12. "definitions/timezone"
  13. ],
  14. "human_version": "1.40.2.8395_2.0.5",
  15. "version": "2.0.5",
  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.5",
  24. "apiVersion": "v2",
  25. "appVersion": "1.40.2.8395",
  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. "immutable": true,
  1011. "default": "emptyDir",
  1012. "enum": [
  1013. {
  1014. "value": "hostPath",
  1015. "description": "Host Path (Path that already exists on the system)"
  1016. },
  1017. {
  1018. "value": "ixVolume",
  1019. "description": "ixVolume (Dataset created automatically by the system)"
  1020. },
  1021. {
  1022. "value": "emptyDir",
  1023. "description": "emptyDir (Temporary directory that will be created on the disk or in memory)"
  1024. }
  1025. ]
  1026. }
  1027. },
  1028. {
  1029. "variable": "ixVolumeConfig",
  1030. "label": "ixVolume Configuration",
  1031. "description": "The configuration for the ixVolume dataset.",
  1032. "schema": {
  1033. "type": "dict",
  1034. "show_if": [
  1035. [
  1036. "type",
  1037. "=",
  1038. "ixVolume"
  1039. ]
  1040. ],
  1041. "$ref": [
  1042. "normalize/ixVolume"
  1043. ],
  1044. "attrs": [
  1045. {
  1046. "variable": "aclEnable",
  1047. "label": "Enable ACL",
  1048. "description": "Enable ACL for the dataset.",
  1049. "schema": {
  1050. "type": "boolean",
  1051. "default": false
  1052. }
  1053. },
  1054. {
  1055. "variable": "datasetName",
  1056. "label": "Dataset Name",
  1057. "description": "The name of the dataset to use for storage.",
  1058. "schema": {
  1059. "type": "string",
  1060. "required": true,
  1061. "immutable": true,
  1062. "hidden": true,
  1063. "default": "logs"
  1064. }
  1065. },
  1066. {
  1067. "variable": "aclEntries",
  1068. "label": "ACL Configuration",
  1069. "schema": {
  1070. "type": "dict",
  1071. "show_if": [
  1072. [
  1073. "aclEnable",
  1074. "=",
  1075. true
  1076. ]
  1077. ],
  1078. "attrs": [
  1079. {
  1080. "variable": "path",
  1081. "label": "Path",
  1082. "description": "Path to perform ACL",
  1083. "schema": {
  1084. "type": "string",
  1085. "hidden": true
  1086. }
  1087. },
  1088. {
  1089. "variable": "entries",
  1090. "label": "ACL Entries",
  1091. "description": "ACL Entries",
  1092. "schema": {
  1093. "type": "list",
  1094. "items": [
  1095. {
  1096. "variable": "aclEntry",
  1097. "label": "ACL Entry",
  1098. "schema": {
  1099. "type": "dict",
  1100. "attrs": [
  1101. {
  1102. "variable": "id_type",
  1103. "label": "ID Type",
  1104. "schema": {
  1105. "type": "string",
  1106. "enum": [
  1107. {
  1108. "value": "USER",
  1109. "description": "Entry is for a USER"
  1110. },
  1111. {
  1112. "value": "GROUP",
  1113. "description": "Entry is for a GROUP"
  1114. }
  1115. ],
  1116. "default": "USER"
  1117. }
  1118. },
  1119. {
  1120. "variable": "id",
  1121. "label": "ID",
  1122. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1123. "schema": {
  1124. "type": "int",
  1125. "required": true,
  1126. "min": 0
  1127. }
  1128. },
  1129. {
  1130. "variable": "access",
  1131. "label": "Access",
  1132. "schema": {
  1133. "type": "string",
  1134. "enum": [
  1135. {
  1136. "value": "READ",
  1137. "description": "Read Access"
  1138. },
  1139. {
  1140. "value": "MODIFY",
  1141. "description": "Modify Access"
  1142. },
  1143. {
  1144. "value": "FULL_CONTROL",
  1145. "description": "FULL_CONTROL Access"
  1146. }
  1147. ]
  1148. }
  1149. }
  1150. ]
  1151. }
  1152. }
  1153. ]
  1154. }
  1155. }
  1156. ]
  1157. }
  1158. }
  1159. ]
  1160. }
  1161. },
  1162. {
  1163. "variable": "emptyDirConfig",
  1164. "label": "emptyDir Configuration",
  1165. "schema": {
  1166. "type": "dict",
  1167. "show_if": [
  1168. [
  1169. "type",
  1170. "=",
  1171. "emptyDir"
  1172. ]
  1173. ],
  1174. "attrs": [
  1175. {
  1176. "variable": "medium",
  1177. "label": "emptyDir Medium",
  1178. "description": "Disk: Creates a temporary directory on the disk.</br>\nMemory: Creates a temporary directory in memory.\n",
  1179. "schema": {
  1180. "type": "string",
  1181. "default": "",
  1182. "enum": [
  1183. {
  1184. "value": "",
  1185. "description": "Disk (Temporary directory created on the disk)"
  1186. },
  1187. {
  1188. "value": "Memory",
  1189. "description": "Memory (Temporary directory created in memory)"
  1190. }
  1191. ]
  1192. }
  1193. },
  1194. {
  1195. "variable": "size",
  1196. "label": "emptyDir Size Limit (in Gi)",
  1197. "description": "The maximum size (in Gi) of the temporary directory.</br>\nFor example: 2\n",
  1198. "schema": {
  1199. "type": "int",
  1200. "null": true,
  1201. "default": 2
  1202. }
  1203. }
  1204. ]
  1205. }
  1206. },
  1207. {
  1208. "variable": "hostPathConfig",
  1209. "label": "Host Path Configuration",
  1210. "schema": {
  1211. "type": "dict",
  1212. "show_if": [
  1213. [
  1214. "type",
  1215. "=",
  1216. "hostPath"
  1217. ]
  1218. ],
  1219. "attrs": [
  1220. {
  1221. "variable": "aclEnable",
  1222. "label": "Enable ACL",
  1223. "description": "Enable ACL for the dataset.",
  1224. "schema": {
  1225. "type": "boolean",
  1226. "default": false
  1227. }
  1228. },
  1229. {
  1230. "variable": "acl",
  1231. "label": "ACL Configuration",
  1232. "schema": {
  1233. "type": "dict",
  1234. "show_if": [
  1235. [
  1236. "aclEnable",
  1237. "=",
  1238. true
  1239. ]
  1240. ],
  1241. "attrs": [
  1242. {
  1243. "variable": "path",
  1244. "label": "Host Path",
  1245. "description": "Host Path to perform ACL",
  1246. "schema": {
  1247. "type": "hostpath",
  1248. "required": true,
  1249. "empty": false
  1250. }
  1251. },
  1252. {
  1253. "variable": "entries",
  1254. "label": "ACL Entries",
  1255. "description": "ACL Entries",
  1256. "schema": {
  1257. "type": "list",
  1258. "items": [
  1259. {
  1260. "variable": "aclEntry",
  1261. "label": "ACL Entry",
  1262. "schema": {
  1263. "type": "dict",
  1264. "attrs": [
  1265. {
  1266. "variable": "id_type",
  1267. "label": "ID Type",
  1268. "schema": {
  1269. "type": "string",
  1270. "enum": [
  1271. {
  1272. "value": "USER",
  1273. "description": "Entry is for a USER"
  1274. },
  1275. {
  1276. "value": "GROUP",
  1277. "description": "Entry is for a GROUP"
  1278. }
  1279. ],
  1280. "default": "USER"
  1281. }
  1282. },
  1283. {
  1284. "variable": "id",
  1285. "label": "ID",
  1286. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1287. "schema": {
  1288. "type": "int",
  1289. "required": true,
  1290. "min": 0
  1291. }
  1292. },
  1293. {
  1294. "variable": "access",
  1295. "label": "Access",
  1296. "schema": {
  1297. "type": "string",
  1298. "enum": [
  1299. {
  1300. "value": "READ",
  1301. "description": "Read Access"
  1302. },
  1303. {
  1304. "value": "MODIFY",
  1305. "description": "Modify Access"
  1306. },
  1307. {
  1308. "value": "FULL_CONTROL",
  1309. "description": "FULL_CONTROL Access"
  1310. }
  1311. ]
  1312. }
  1313. }
  1314. ]
  1315. }
  1316. }
  1317. ]
  1318. }
  1319. },
  1320. {
  1321. "variable": "options",
  1322. "label": "ACL Options",
  1323. "schema": {
  1324. "type": "dict",
  1325. "attrs": [
  1326. {
  1327. "variable": "force",
  1328. "label": "Force Flag",
  1329. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1330. "schema": {
  1331. "type": "boolean",
  1332. "default": false
  1333. }
  1334. }
  1335. ]
  1336. }
  1337. }
  1338. ],
  1339. "$ref": [
  1340. "normalize/acl"
  1341. ]
  1342. }
  1343. },
  1344. {
  1345. "variable": "hostPath",
  1346. "label": "Host Path",
  1347. "description": "The host path to use for storage.",
  1348. "schema": {
  1349. "type": "hostpath",
  1350. "show_if": [
  1351. [
  1352. "aclEnable",
  1353. "=",
  1354. false
  1355. ]
  1356. ],
  1357. "required": true
  1358. }
  1359. }
  1360. ]
  1361. }
  1362. }
  1363. ]
  1364. }
  1365. },
  1366. {
  1367. "variable": "transcode",
  1368. "label": "Plex Transcode Storage",
  1369. "description": "The path to store Plex Transcode.",
  1370. "schema": {
  1371. "type": "dict",
  1372. "attrs": [
  1373. {
  1374. "variable": "type",
  1375. "label": "Type",
  1376. "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",
  1377. "schema": {
  1378. "type": "string",
  1379. "required": true,
  1380. "immutable": true,
  1381. "default": "ixVolume",
  1382. "enum": [
  1383. {
  1384. "value": "hostPath",
  1385. "description": "Host Path (Path that already exists on the system)"
  1386. },
  1387. {
  1388. "value": "ixVolume",
  1389. "description": "ixVolume (Dataset created automatically by the system)"
  1390. },
  1391. {
  1392. "value": "emptyDir",
  1393. "description": "emptyDir (Temporary directory created on the disk or in memory)"
  1394. }
  1395. ]
  1396. }
  1397. },
  1398. {
  1399. "variable": "ixVolumeConfig",
  1400. "label": "ixVolume Configuration",
  1401. "description": "The configuration for the ixVolume dataset.",
  1402. "schema": {
  1403. "type": "dict",
  1404. "show_if": [
  1405. [
  1406. "type",
  1407. "=",
  1408. "ixVolume"
  1409. ]
  1410. ],
  1411. "$ref": [
  1412. "normalize/ixVolume"
  1413. ],
  1414. "attrs": [
  1415. {
  1416. "variable": "aclEnable",
  1417. "label": "Enable ACL",
  1418. "description": "Enable ACL for the dataset.",
  1419. "schema": {
  1420. "type": "boolean",
  1421. "default": false
  1422. }
  1423. },
  1424. {
  1425. "variable": "datasetName",
  1426. "label": "Dataset Name",
  1427. "description": "The name of the dataset to use for storage.",
  1428. "schema": {
  1429. "type": "string",
  1430. "required": true,
  1431. "immutable": true,
  1432. "hidden": true,
  1433. "default": "transcode"
  1434. }
  1435. },
  1436. {
  1437. "variable": "aclEntries",
  1438. "label": "ACL Configuration",
  1439. "schema": {
  1440. "type": "dict",
  1441. "show_if": [
  1442. [
  1443. "aclEnable",
  1444. "=",
  1445. true
  1446. ]
  1447. ],
  1448. "attrs": [
  1449. {
  1450. "variable": "path",
  1451. "label": "Path",
  1452. "description": "Path to perform ACL",
  1453. "schema": {
  1454. "type": "string",
  1455. "hidden": true
  1456. }
  1457. },
  1458. {
  1459. "variable": "entries",
  1460. "label": "ACL Entries",
  1461. "description": "ACL Entries",
  1462. "schema": {
  1463. "type": "list",
  1464. "items": [
  1465. {
  1466. "variable": "aclEntry",
  1467. "label": "ACL Entry",
  1468. "schema": {
  1469. "type": "dict",
  1470. "attrs": [
  1471. {
  1472. "variable": "id_type",
  1473. "label": "ID Type",
  1474. "schema": {
  1475. "type": "string",
  1476. "enum": [
  1477. {
  1478. "value": "USER",
  1479. "description": "Entry is for a USER"
  1480. },
  1481. {
  1482. "value": "GROUP",
  1483. "description": "Entry is for a GROUP"
  1484. }
  1485. ],
  1486. "default": "USER"
  1487. }
  1488. },
  1489. {
  1490. "variable": "id",
  1491. "label": "ID",
  1492. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1493. "schema": {
  1494. "type": "int",
  1495. "required": true,
  1496. "min": 0
  1497. }
  1498. },
  1499. {
  1500. "variable": "access",
  1501. "label": "Access",
  1502. "schema": {
  1503. "type": "string",
  1504. "enum": [
  1505. {
  1506. "value": "READ",
  1507. "description": "Read Access"
  1508. },
  1509. {
  1510. "value": "MODIFY",
  1511. "description": "Modify Access"
  1512. },
  1513. {
  1514. "value": "FULL_CONTROL",
  1515. "description": "FULL_CONTROL Access"
  1516. }
  1517. ]
  1518. }
  1519. }
  1520. ]
  1521. }
  1522. }
  1523. ]
  1524. }
  1525. }
  1526. ]
  1527. }
  1528. }
  1529. ]
  1530. }
  1531. },
  1532. {
  1533. "variable": "emptyDirConfig",
  1534. "label": "emptyDir Configuration",
  1535. "schema": {
  1536. "type": "dict",
  1537. "show_if": [
  1538. [
  1539. "type",
  1540. "=",
  1541. "emptyDir"
  1542. ]
  1543. ],
  1544. "attrs": [
  1545. {
  1546. "variable": "medium",
  1547. "label": "emptyDir Medium",
  1548. "description": "Disk: Creates a temporary directory on the disk.</br>\nMemory: Creates a temporary directory in memory.\n",
  1549. "schema": {
  1550. "type": "string",
  1551. "default": "",
  1552. "enum": [
  1553. {
  1554. "value": "",
  1555. "description": "Disk (Temporary directory created on the disk)"
  1556. },
  1557. {
  1558. "value": "Memory",
  1559. "description": "Memory (Temporary directory created in memory)"
  1560. }
  1561. ]
  1562. }
  1563. },
  1564. {
  1565. "variable": "size",
  1566. "label": "emptyDir Size Limit (in Gi)",
  1567. "description": "The maximum size (in Gi) of the temporary directory.</br>\nFor example: 2\n",
  1568. "schema": {
  1569. "type": "int",
  1570. "null": true,
  1571. "default": 2
  1572. }
  1573. }
  1574. ]
  1575. }
  1576. },
  1577. {
  1578. "variable": "hostPathConfig",
  1579. "label": "Host Path Configuration",
  1580. "schema": {
  1581. "type": "dict",
  1582. "show_if": [
  1583. [
  1584. "type",
  1585. "=",
  1586. "hostPath"
  1587. ]
  1588. ],
  1589. "attrs": [
  1590. {
  1591. "variable": "aclEnable",
  1592. "label": "Enable ACL",
  1593. "description": "Enable ACL for the dataset.",
  1594. "schema": {
  1595. "type": "boolean",
  1596. "default": false
  1597. }
  1598. },
  1599. {
  1600. "variable": "acl",
  1601. "label": "ACL Configuration",
  1602. "schema": {
  1603. "type": "dict",
  1604. "show_if": [
  1605. [
  1606. "aclEnable",
  1607. "=",
  1608. true
  1609. ]
  1610. ],
  1611. "attrs": [
  1612. {
  1613. "variable": "path",
  1614. "label": "Host Path",
  1615. "description": "Host Path to perform ACL",
  1616. "schema": {
  1617. "type": "hostpath",
  1618. "required": true,
  1619. "empty": false
  1620. }
  1621. },
  1622. {
  1623. "variable": "entries",
  1624. "label": "ACL Entries",
  1625. "description": "ACL Entries",
  1626. "schema": {
  1627. "type": "list",
  1628. "items": [
  1629. {
  1630. "variable": "aclEntry",
  1631. "label": "ACL Entry",
  1632. "schema": {
  1633. "type": "dict",
  1634. "attrs": [
  1635. {
  1636. "variable": "id_type",
  1637. "label": "ID Type",
  1638. "schema": {
  1639. "type": "string",
  1640. "enum": [
  1641. {
  1642. "value": "USER",
  1643. "description": "Entry is for a USER"
  1644. },
  1645. {
  1646. "value": "GROUP",
  1647. "description": "Entry is for a GROUP"
  1648. }
  1649. ],
  1650. "default": "USER"
  1651. }
  1652. },
  1653. {
  1654. "variable": "id",
  1655. "label": "ID",
  1656. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1657. "schema": {
  1658. "type": "int",
  1659. "required": true,
  1660. "min": 0
  1661. }
  1662. },
  1663. {
  1664. "variable": "access",
  1665. "label": "Access",
  1666. "schema": {
  1667. "type": "string",
  1668. "enum": [
  1669. {
  1670. "value": "READ",
  1671. "description": "Read Access"
  1672. },
  1673. {
  1674. "value": "MODIFY",
  1675. "description": "Modify Access"
  1676. },
  1677. {
  1678. "value": "FULL_CONTROL",
  1679. "description": "FULL_CONTROL Access"
  1680. }
  1681. ]
  1682. }
  1683. }
  1684. ]
  1685. }
  1686. }
  1687. ]
  1688. }
  1689. },
  1690. {
  1691. "variable": "options",
  1692. "label": "ACL Options",
  1693. "schema": {
  1694. "type": "dict",
  1695. "attrs": [
  1696. {
  1697. "variable": "force",
  1698. "label": "Force Flag",
  1699. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1700. "schema": {
  1701. "type": "boolean",
  1702. "default": false
  1703. }
  1704. }
  1705. ]
  1706. }
  1707. }
  1708. ],
  1709. "$ref": [
  1710. "normalize/acl"
  1711. ]
  1712. }
  1713. },
  1714. {
  1715. "variable": "hostPath",
  1716. "label": "Host Path",
  1717. "description": "The host path to use for storage.",
  1718. "schema": {
  1719. "type": "hostpath",
  1720. "show_if": [
  1721. [
  1722. "aclEnable",
  1723. "=",
  1724. false
  1725. ]
  1726. ],
  1727. "required": true
  1728. }
  1729. }
  1730. ]
  1731. }
  1732. }
  1733. ]
  1734. }
  1735. },
  1736. {
  1737. "variable": "additionalStorages",
  1738. "label": "Additional Storage",
  1739. "description": "Additional storage for Plex.",
  1740. "schema": {
  1741. "type": "list",
  1742. "default": [],
  1743. "items": [
  1744. {
  1745. "variable": "storageEntry",
  1746. "label": "Storage Entry",
  1747. "schema": {
  1748. "type": "dict",
  1749. "attrs": [
  1750. {
  1751. "variable": "type",
  1752. "label": "Type",
  1753. "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",
  1754. "schema": {
  1755. "type": "string",
  1756. "required": true,
  1757. "default": "ixVolume",
  1758. "immutable": true,
  1759. "enum": [
  1760. {
  1761. "value": "hostPath",
  1762. "description": "Host Path (Path that already exists on the system)"
  1763. },
  1764. {
  1765. "value": "ixVolume",
  1766. "description": "ixVolume (Dataset created automatically by the system)"
  1767. },
  1768. {
  1769. "value": "smb-pv-pvc",
  1770. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1771. }
  1772. ]
  1773. }
  1774. },
  1775. {
  1776. "variable": "readOnly",
  1777. "label": "Read Only",
  1778. "description": "Mount the volume as read only.",
  1779. "schema": {
  1780. "type": "boolean",
  1781. "default": false
  1782. }
  1783. },
  1784. {
  1785. "variable": "mountPath",
  1786. "label": "Mount Path",
  1787. "description": "The path inside the container to mount the storage.",
  1788. "schema": {
  1789. "type": "path",
  1790. "required": true
  1791. }
  1792. },
  1793. {
  1794. "variable": "hostPathConfig",
  1795. "label": "Host Path Configuration",
  1796. "schema": {
  1797. "type": "dict",
  1798. "show_if": [
  1799. [
  1800. "type",
  1801. "=",
  1802. "hostPath"
  1803. ]
  1804. ],
  1805. "attrs": [
  1806. {
  1807. "variable": "aclEnable",
  1808. "label": "Enable ACL",
  1809. "description": "Enable ACL for the dataset.",
  1810. "schema": {
  1811. "type": "boolean",
  1812. "default": false
  1813. }
  1814. },
  1815. {
  1816. "variable": "acl",
  1817. "label": "ACL Configuration",
  1818. "schema": {
  1819. "type": "dict",
  1820. "show_if": [
  1821. [
  1822. "aclEnable",
  1823. "=",
  1824. true
  1825. ]
  1826. ],
  1827. "attrs": [
  1828. {
  1829. "variable": "path",
  1830. "label": "Host Path",
  1831. "description": "Host Path to perform ACL",
  1832. "schema": {
  1833. "type": "hostpath",
  1834. "required": true,
  1835. "empty": false
  1836. }
  1837. },
  1838. {
  1839. "variable": "entries",
  1840. "label": "ACL Entries",
  1841. "description": "ACL Entries",
  1842. "schema": {
  1843. "type": "list",
  1844. "items": [
  1845. {
  1846. "variable": "aclEntry",
  1847. "label": "ACL Entry",
  1848. "schema": {
  1849. "type": "dict",
  1850. "attrs": [
  1851. {
  1852. "variable": "id_type",
  1853. "label": "ID Type",
  1854. "schema": {
  1855. "type": "string",
  1856. "enum": [
  1857. {
  1858. "value": "USER",
  1859. "description": "Entry is for a USER"
  1860. },
  1861. {
  1862. "value": "GROUP",
  1863. "description": "Entry is for a GROUP"
  1864. }
  1865. ],
  1866. "default": "USER"
  1867. }
  1868. },
  1869. {
  1870. "variable": "id",
  1871. "label": "ID",
  1872. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1873. "schema": {
  1874. "type": "int",
  1875. "required": true,
  1876. "min": 0
  1877. }
  1878. },
  1879. {
  1880. "variable": "access",
  1881. "label": "Access",
  1882. "schema": {
  1883. "type": "string",
  1884. "enum": [
  1885. {
  1886. "value": "READ",
  1887. "description": "Read Access"
  1888. },
  1889. {
  1890. "value": "MODIFY",
  1891. "description": "Modify Access"
  1892. },
  1893. {
  1894. "value": "FULL_CONTROL",
  1895. "description": "FULL_CONTROL Access"
  1896. }
  1897. ]
  1898. }
  1899. }
  1900. ]
  1901. }
  1902. }
  1903. ]
  1904. }
  1905. },
  1906. {
  1907. "variable": "options",
  1908. "label": "ACL Options",
  1909. "schema": {
  1910. "type": "dict",
  1911. "attrs": [
  1912. {
  1913. "variable": "force",
  1914. "label": "Force Flag",
  1915. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1916. "schema": {
  1917. "type": "boolean",
  1918. "default": false
  1919. }
  1920. }
  1921. ]
  1922. }
  1923. }
  1924. ],
  1925. "$ref": [
  1926. "normalize/acl"
  1927. ]
  1928. }
  1929. },
  1930. {
  1931. "variable": "hostPath",
  1932. "label": "Host Path",
  1933. "description": "The host path to use for storage.",
  1934. "schema": {
  1935. "type": "hostpath",
  1936. "show_if": [
  1937. [
  1938. "aclEnable",
  1939. "=",
  1940. false
  1941. ]
  1942. ],
  1943. "required": true
  1944. }
  1945. }
  1946. ]
  1947. }
  1948. },
  1949. {
  1950. "variable": "ixVolumeConfig",
  1951. "label": "ixVolume Configuration",
  1952. "description": "The configuration for the ixVolume dataset.",
  1953. "schema": {
  1954. "type": "dict",
  1955. "show_if": [
  1956. [
  1957. "type",
  1958. "=",
  1959. "ixVolume"
  1960. ]
  1961. ],
  1962. "$ref": [
  1963. "normalize/ixVolume"
  1964. ],
  1965. "attrs": [
  1966. {
  1967. "variable": "aclEnable",
  1968. "label": "Enable ACL",
  1969. "description": "Enable ACL for the dataset.",
  1970. "schema": {
  1971. "type": "boolean",
  1972. "default": false
  1973. }
  1974. },
  1975. {
  1976. "variable": "datasetName",
  1977. "label": "Dataset Name",
  1978. "description": "The name of the dataset to use for storage.",
  1979. "schema": {
  1980. "type": "string",
  1981. "required": true,
  1982. "immutable": true,
  1983. "default": "storage_entry"
  1984. }
  1985. },
  1986. {
  1987. "variable": "aclEntries",
  1988. "label": "ACL Configuration",
  1989. "schema": {
  1990. "type": "dict",
  1991. "show_if": [
  1992. [
  1993. "aclEnable",
  1994. "=",
  1995. true
  1996. ]
  1997. ],
  1998. "attrs": [
  1999. {
  2000. "variable": "path",
  2001. "label": "Path",
  2002. "description": "Path to perform ACL",
  2003. "schema": {
  2004. "type": "string",
  2005. "hidden": true
  2006. }
  2007. },
  2008. {
  2009. "variable": "entries",
  2010. "label": "ACL Entries",
  2011. "description": "ACL Entries",
  2012. "schema": {
  2013. "type": "list",
  2014. "items": [
  2015. {
  2016. "variable": "aclEntry",
  2017. "label": "ACL Entry",
  2018. "schema": {
  2019. "type": "dict",
  2020. "attrs": [
  2021. {
  2022. "variable": "id_type",
  2023. "label": "ID Type",
  2024. "schema": {
  2025. "type": "string",
  2026. "enum": [
  2027. {
  2028. "value": "USER",
  2029. "description": "Entry is for a USER"
  2030. },
  2031. {
  2032. "value": "GROUP",
  2033. "description": "Entry is for a GROUP"
  2034. }
  2035. ],
  2036. "default": "USER"
  2037. }
  2038. },
  2039. {
  2040. "variable": "id",
  2041. "label": "ID",
  2042. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  2043. "schema": {
  2044. "type": "int",
  2045. "required": true,
  2046. "min": 0
  2047. }
  2048. },
  2049. {
  2050. "variable": "access",
  2051. "label": "Access",
  2052. "schema": {
  2053. "type": "string",
  2054. "enum": [
  2055. {
  2056. "value": "READ",
  2057. "description": "Read Access"
  2058. },
  2059. {
  2060. "value": "MODIFY",
  2061. "description": "Modify Access"
  2062. },
  2063. {
  2064. "value": "FULL_CONTROL",
  2065. "description": "FULL_CONTROL Access"
  2066. }
  2067. ]
  2068. }
  2069. }
  2070. ]
  2071. }
  2072. }
  2073. ]
  2074. }
  2075. }
  2076. ]
  2077. }
  2078. }
  2079. ]
  2080. }
  2081. },
  2082. {
  2083. "variable": "smbConfig",
  2084. "label": "SMB Share Configuration",
  2085. "description": "The configuration for the SMB Share.",
  2086. "schema": {
  2087. "type": "dict",
  2088. "show_if": [
  2089. [
  2090. "type",
  2091. "=",
  2092. "smb-pv-pvc"
  2093. ]
  2094. ],
  2095. "attrs": [
  2096. {
  2097. "variable": "server",
  2098. "label": "Server",
  2099. "description": "The server for the SMB share.",
  2100. "schema": {
  2101. "type": "string",
  2102. "required": true
  2103. }
  2104. },
  2105. {
  2106. "variable": "share",
  2107. "label": "Share",
  2108. "description": "The share name for the SMB share.",
  2109. "schema": {
  2110. "type": "string",
  2111. "required": true
  2112. }
  2113. },
  2114. {
  2115. "variable": "domain",
  2116. "label": "Domain (Optional)",
  2117. "description": "The domain for the SMB share.",
  2118. "schema": {
  2119. "type": "string"
  2120. }
  2121. },
  2122. {
  2123. "variable": "username",
  2124. "label": "Username",
  2125. "description": "The username for the SMB share.",
  2126. "schema": {
  2127. "type": "string",
  2128. "required": true
  2129. }
  2130. },
  2131. {
  2132. "variable": "password",
  2133. "label": "Password",
  2134. "description": "The password for the SMB share.",
  2135. "schema": {
  2136. "type": "string",
  2137. "required": true,
  2138. "private": true
  2139. }
  2140. },
  2141. {
  2142. "variable": "size",
  2143. "label": "Size (in Gi)",
  2144. "description": "The size of the volume quota.",
  2145. "schema": {
  2146. "type": "int",
  2147. "required": true,
  2148. "min": 1,
  2149. "default": 1
  2150. }
  2151. }
  2152. ]
  2153. }
  2154. }
  2155. ]
  2156. }
  2157. }
  2158. ]
  2159. }
  2160. }
  2161. ]
  2162. }
  2163. },
  2164. {
  2165. "variable": "resources",
  2166. "label": "Resources Configuration",
  2167. "group": "Resources Configuration",
  2168. "schema": {
  2169. "type": "dict",
  2170. "attrs": [
  2171. {
  2172. "variable": "limits",
  2173. "label": "Limits",
  2174. "schema": {
  2175. "type": "dict",
  2176. "attrs": [
  2177. {
  2178. "variable": "cpu",
  2179. "label": "CPU",
  2180. "description": "CPU limit for Plex.",
  2181. "schema": {
  2182. "type": "string",
  2183. "max_length": 6,
  2184. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  2185. "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",
  2186. "default": "4000m",
  2187. "required": true
  2188. }
  2189. },
  2190. {
  2191. "variable": "memory",
  2192. "label": "Memory",
  2193. "description": "Memory limit for Plex.",
  2194. "schema": {
  2195. "type": "string",
  2196. "max_length": 12,
  2197. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  2198. "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",
  2199. "default": "8Gi",
  2200. "required": true
  2201. }
  2202. }
  2203. ]
  2204. }
  2205. }
  2206. ]
  2207. }
  2208. },
  2209. {
  2210. "variable": "plexGPU",
  2211. "group": "Resources Configuration",
  2212. "label": "GPU Configuration",
  2213. "schema": {
  2214. "type": "dict",
  2215. "$ref": [
  2216. "definitions/gpuConfiguration"
  2217. ],
  2218. "attrs": []
  2219. }
  2220. }
  2221. ]
  2222. },
  2223. "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>",
  2224. "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>",
  2225. "changelog": null
  2226. },
  2227. "1.7.60": {
  2228. "healthy": true,
  2229. "supported": true,
  2230. "healthy_error": null,
  2231. "location": "/__w/charts/charts/charts/plex/1.7.60",
  2232. "last_update": "2024-04-20 13:17:04",
  2233. "required_features": [
  2234. "validations/lockedHostPath",
  2235. "normalize/ixVolume",
  2236. "definitions/gpuConfiguration",
  2237. "definitions/timezone"
  2238. ],
  2239. "human_version": "1.32.8.7639_1.7.60",
  2240. "version": "1.7.60",
  2241. "chart_metadata": {
  2242. "name": "plex",
  2243. "description": "Plex Media Server",
  2244. "annotations": {
  2245. "title": "Plex"
  2246. },
  2247. "type": "application",
  2248. "version": "1.7.60",
  2249. "apiVersion": "v2",
  2250. "appVersion": "1.32.8.7639",
  2251. "kubeVersion": ">=1.16.0-0",
  2252. "maintainers": [
  2253. {
  2254. "name": "truenas",
  2255. "url": "https://www.truenas.com/",
  2256. "email": "dev@ixsystems.com"
  2257. }
  2258. ],
  2259. "dependencies": [
  2260. {
  2261. "name": "common",
  2262. "repository": "file://../../../common/2304.0.1",
  2263. "version": "2304.0.1"
  2264. }
  2265. ],
  2266. "home": "https://plex.tv/",
  2267. "icon": "https://media.sys.truenas.net/apps/plex/icons/icon.png",
  2268. "sources": [
  2269. "https://hub.docker.com/r/plexinc/pms-docker/",
  2270. "https://github.com/k8s-at-home/charts/tree/master/charts/plex"
  2271. ],
  2272. "keywords": [
  2273. "plex"
  2274. ]
  2275. },
  2276. "app_metadata": {
  2277. "runAsContext": [
  2278. {
  2279. "userName": "root",
  2280. "groupName": "root",
  2281. "gid": 0,
  2282. "uid": 0,
  2283. "description": "Plex runs as root user."
  2284. }
  2285. ],
  2286. "capabilities": [
  2287. {
  2288. "name": "CHOWN",
  2289. "description": "Plex is able to chown files."
  2290. },
  2291. {
  2292. "name": "FOWNER",
  2293. "description": "Plex is able to bypass permission checks for it's sub-processes."
  2294. },
  2295. {
  2296. "name": "SYS_CHROOT",
  2297. "description": "Plex is able to use chroot."
  2298. },
  2299. {
  2300. "name": "MKNOD",
  2301. "description": "Plex is able to create device nodes."
  2302. },
  2303. {
  2304. "name": "DAC_OVERRIDE",
  2305. "description": "Plex is able to bypass permission checks."
  2306. },
  2307. {
  2308. "name": "FSETID",
  2309. "description": "Plex is able to set file capabilities."
  2310. },
  2311. {
  2312. "name": "KILL",
  2313. "description": "Plex is able to kill processes."
  2314. },
  2315. {
  2316. "name": "SETGID",
  2317. "description": "Plex is able to set group ID for it's sub-processes."
  2318. },
  2319. {
  2320. "name": "SETUID",
  2321. "description": "Plex is able to set user ID for it's sub-processes."
  2322. },
  2323. {
  2324. "name": "SETPCAP",
  2325. "description": "Plex is able to set process capabilities."
  2326. },
  2327. {
  2328. "name": "NET_BIND_SERVICE",
  2329. "description": "Plex is able to bind to privileged ports."
  2330. },
  2331. {
  2332. "name": "SETFCAP",
  2333. "description": "Plex is able to set file capabilities."
  2334. },
  2335. {
  2336. "name": "NET_RAW",
  2337. "description": "Plex is able to use raw sockets."
  2338. },
  2339. {
  2340. "name": "AUDIT_WRITE",
  2341. "description": "Plex is able to write to audit log."
  2342. }
  2343. ],
  2344. "hostMounts": []
  2345. },
  2346. "schema": {
  2347. "groups": [
  2348. {
  2349. "name": "Plex Configuration",
  2350. "description": "Configure plex deployment"
  2351. },
  2352. {
  2353. "name": "Networking",
  2354. "description": "Configure networking for container"
  2355. },
  2356. {
  2357. "name": "Storage",
  2358. "description": "Persist and share data that is separate from the lifecycle of the container"
  2359. },
  2360. {
  2361. "name": "Workload Details",
  2362. "description": "Configure how workload should be deployed"
  2363. },
  2364. {
  2365. "name": "Scaling/Upgrade Policy",
  2366. "description": "Configure how pods are replaced when configuration is upgraded"
  2367. },
  2368. {
  2369. "name": "Restart Policy",
  2370. "description": "Configure when pod should be restarted in case of failure"
  2371. },
  2372. {
  2373. "name": "Resource Reservation",
  2374. "description": "Specify resources to be allocated to workload"
  2375. },
  2376. {
  2377. "name": "Advanced DNS Settings",
  2378. "description": "Configure DNS settings"
  2379. },
  2380. {
  2381. "name": "Resource Limits",
  2382. "description": "Set CPU/memory limits for Kubernetes Pod"
  2383. }
  2384. ],
  2385. "portals": {
  2386. "web_portal": {
  2387. "protocols": [
  2388. "http"
  2389. ],
  2390. "host": [
  2391. "$node_ip"
  2392. ],
  2393. "ports": [
  2394. "$variable-plexServiceTCP.port"
  2395. ],
  2396. "path": "/web"
  2397. }
  2398. },
  2399. "questions": [
  2400. {
  2401. "variable": "enablePlexPass",
  2402. "label": "Use PlexPass",
  2403. "group": "Plex Configuration",
  2404. "schema": {
  2405. "type": "boolean",
  2406. "default": false
  2407. }
  2408. },
  2409. {
  2410. "variable": "dnsConfig",
  2411. "label": "DNS Configuration",
  2412. "group": "Advanced DNS Settings",
  2413. "schema": {
  2414. "type": "dict",
  2415. "attrs": [
  2416. {
  2417. "variable": "options",
  2418. "label": "DNS Options",
  2419. "schema": {
  2420. "type": "list",
  2421. "items": [
  2422. {
  2423. "variable": "optionsEntry",
  2424. "label": "Option Entry Configuration",
  2425. "schema": {
  2426. "type": "dict",
  2427. "attrs": [
  2428. {
  2429. "variable": "name",
  2430. "label": "Option Name",
  2431. "schema": {
  2432. "type": "string",
  2433. "required": true
  2434. }
  2435. },
  2436. {
  2437. "variable": "value",
  2438. "label": "Option Value",
  2439. "schema": {
  2440. "type": "string",
  2441. "required": true
  2442. }
  2443. }
  2444. ]
  2445. }
  2446. }
  2447. ]
  2448. }
  2449. }
  2450. ]
  2451. }
  2452. },
  2453. {
  2454. "variable": "claimToken",
  2455. "label": "Plex Claim Token",
  2456. "group": "Plex Configuration",
  2457. "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.",
  2458. "schema": {
  2459. "type": "string",
  2460. "default": ""
  2461. }
  2462. },
  2463. {
  2464. "variable": "hostNetwork",
  2465. "label": "Configure Host Network",
  2466. "group": "Networking",
  2467. "schema": {
  2468. "type": "boolean",
  2469. "default": false
  2470. }
  2471. },
  2472. {
  2473. "variable": "environmentVariables",
  2474. "label": "Environment Variables for Plex",
  2475. "group": "Plex Configuration",
  2476. "schema": {
  2477. "type": "list",
  2478. "default": [],
  2479. "items": [
  2480. {
  2481. "variable": "environmentVariable",
  2482. "label": "Environment Variable",
  2483. "schema": {
  2484. "type": "dict",
  2485. "attrs": [
  2486. {
  2487. "variable": "name",
  2488. "label": "Name",
  2489. "schema": {
  2490. "type": "string"
  2491. }
  2492. },
  2493. {
  2494. "variable": "value",
  2495. "label": "Value",
  2496. "schema": {
  2497. "type": "string"
  2498. }
  2499. }
  2500. ]
  2501. }
  2502. }
  2503. ]
  2504. }
  2505. },
  2506. {
  2507. "variable": "timezone",
  2508. "label": "Plex container timezone",
  2509. "group": "Plex Configuration",
  2510. "schema": {
  2511. "type": "string",
  2512. "default": "America/Los_Angeles",
  2513. "$ref": [
  2514. "definitions/timezone"
  2515. ],
  2516. "enum": [
  2517. {
  2518. "value": "Asia/Damascus",
  2519. "description": "'Asia/Damascus' timezone"
  2520. },
  2521. {
  2522. "value": "Asia/Saigon",
  2523. "description": "'Asia/Saigon' timezone"
  2524. }
  2525. ]
  2526. }
  2527. },
  2528. {
  2529. "variable": "updateStrategy",
  2530. "description": "Upgrade Policy",
  2531. "label": "Update Strategy",
  2532. "group": "Scaling/Upgrade Policy",
  2533. "schema": {
  2534. "type": "string",
  2535. "default": "Recreate",
  2536. "enum": [
  2537. {
  2538. "value": "RollingUpdate",
  2539. "description": "Create new pods and then kill old ones"
  2540. },
  2541. {
  2542. "value": "Recreate",
  2543. "description": "Kill existing pods before creating new ones"
  2544. }
  2545. ]
  2546. }
  2547. },
  2548. {
  2549. "variable": "plexServiceTCP",
  2550. "label": "Configure Plex TCP Service",
  2551. "group": "Networking",
  2552. "schema": {
  2553. "type": "dict",
  2554. "attrs": [
  2555. {
  2556. "variable": "port",
  2557. "label": "Port to expose for Plex UI",
  2558. "schema": {
  2559. "type": "int",
  2560. "min": 9000,
  2561. "max": 65535,
  2562. "default": 32400
  2563. }
  2564. }
  2565. ]
  2566. }
  2567. },
  2568. {
  2569. "variable": "gpuConfiguration",
  2570. "label": "GPU Configuration",
  2571. "group": "Resource Reservation",
  2572. "schema": {
  2573. "type": "dict",
  2574. "$ref": [
  2575. "definitions/gpuConfiguration"
  2576. ],
  2577. "attrs": []
  2578. }
  2579. },
  2580. {
  2581. "variable": "appVolumeMounts",
  2582. "label": "Plex Storage",
  2583. "group": "Storage",
  2584. "schema": {
  2585. "type": "dict",
  2586. "attrs": [
  2587. {
  2588. "variable": "transcode",
  2589. "label": "Transcode Volume",
  2590. "schema": {
  2591. "type": "dict",
  2592. "attrs": [
  2593. {
  2594. "variable": "datasetName",
  2595. "label": "Plex Transcode Volume Name",
  2596. "schema": {
  2597. "type": "string",
  2598. "$ref": [
  2599. "normalize/ixVolume"
  2600. ],
  2601. "show_if": [
  2602. [
  2603. "hostPathEnabled",
  2604. "=",
  2605. false
  2606. ]
  2607. ],
  2608. "default": "ix-plex_transcode",
  2609. "hidden": true,
  2610. "editable": false
  2611. }
  2612. },
  2613. {
  2614. "variable": "mountPath",
  2615. "label": "Plex Transcode Mount Path",
  2616. "description": "Path where the volume will be mounted inside the pod",
  2617. "schema": {
  2618. "type": "path",
  2619. "hidden": true,
  2620. "editable": false,
  2621. "default": "/transcode"
  2622. }
  2623. },
  2624. {
  2625. "variable": "hostPathEnabled",
  2626. "label": "Enable Host Path for Plex Transcode Volume",
  2627. "schema": {
  2628. "type": "boolean",
  2629. "default": false,
  2630. "show_subquestions_if": true,
  2631. "subquestions": [
  2632. {
  2633. "variable": "hostPath",
  2634. "label": "Host Path for Plex Transcode Volume",
  2635. "schema": {
  2636. "type": "hostpath",
  2637. "required": true,
  2638. "$ref": [
  2639. "validations/lockedHostPath"
  2640. ]
  2641. }
  2642. }
  2643. ]
  2644. }
  2645. }
  2646. ]
  2647. }
  2648. },
  2649. {
  2650. "variable": "data",
  2651. "label": "Data Volume",
  2652. "schema": {
  2653. "type": "dict",
  2654. "attrs": [
  2655. {
  2656. "variable": "datasetName",
  2657. "label": "Plex Data Volume Name",
  2658. "schema": {
  2659. "type": "string",
  2660. "$ref": [
  2661. "normalize/ixVolume"
  2662. ],
  2663. "show_if": [
  2664. [
  2665. "hostPathEnabled",
  2666. "=",
  2667. false
  2668. ]
  2669. ],
  2670. "default": "ix-plex_data",
  2671. "editable": false,
  2672. "hidden": true
  2673. }
  2674. },
  2675. {
  2676. "variable": "mountPath",
  2677. "label": "Plex Data Mount Path",
  2678. "description": "Path where the volume will be mounted inside the pod",
  2679. "schema": {
  2680. "type": "path",
  2681. "hidden": true,
  2682. "editable": false,
  2683. "default": "/data"
  2684. }
  2685. },
  2686. {
  2687. "variable": "hostPathEnabled",
  2688. "label": "Enable Host Path for Plex Data Volume",
  2689. "schema": {
  2690. "type": "boolean",
  2691. "default": false,
  2692. "show_subquestions_if": true,
  2693. "subquestions": [
  2694. {
  2695. "variable": "hostPath",
  2696. "label": "Host Path for Plex Data Volume",
  2697. "schema": {
  2698. "type": "hostpath",
  2699. "required": true,
  2700. "$ref": [
  2701. "validations/lockedHostPath"
  2702. ]
  2703. }
  2704. }
  2705. ]
  2706. }
  2707. }
  2708. ]
  2709. }
  2710. },
  2711. {
  2712. "variable": "config",
  2713. "label": "Config Volume",
  2714. "schema": {
  2715. "type": "dict",
  2716. "attrs": [
  2717. {
  2718. "variable": "datasetName",
  2719. "label": "Plex Config Volume Name",
  2720. "schema": {
  2721. "type": "string",
  2722. "$ref": [
  2723. "normalize/ixVolume"
  2724. ],
  2725. "show_if": [
  2726. [
  2727. "hostPathEnabled",
  2728. "=",
  2729. false
  2730. ]
  2731. ],
  2732. "default": "ix-plex_config",
  2733. "editable": false,
  2734. "hidden": true
  2735. }
  2736. },
  2737. {
  2738. "variable": "mountPath",
  2739. "label": "Plex Config Mount Path",
  2740. "description": "Path where the volume will be mounted inside the pod",
  2741. "schema": {
  2742. "type": "path",
  2743. "editable": false,
  2744. "hidden": true,
  2745. "default": "/config"
  2746. }
  2747. },
  2748. {
  2749. "variable": "hostPathEnabled",
  2750. "label": "Enable Host Path for Plex Config Volume",
  2751. "schema": {
  2752. "type": "boolean",
  2753. "default": false,
  2754. "show_subquestions_if": true,
  2755. "subquestions": [
  2756. {
  2757. "variable": "hostPath",
  2758. "label": "Host Path for Plex Config Volume",
  2759. "schema": {
  2760. "type": "hostpath",
  2761. "required": true,
  2762. "$ref": [
  2763. "validations/lockedHostPath"
  2764. ]
  2765. }
  2766. }
  2767. ]
  2768. }
  2769. }
  2770. ]
  2771. }
  2772. },
  2773. {
  2774. "variable": "shared",
  2775. "label": "Shared Volume",
  2776. "schema": {
  2777. "type": "dict",
  2778. "hidden": true,
  2779. "attrs": [
  2780. {
  2781. "variable": "emptyDir",
  2782. "label": "Temporary Volume",
  2783. "schema": {
  2784. "type": "boolean",
  2785. "default": true,
  2786. "editable": false
  2787. }
  2788. },
  2789. {
  2790. "variable": "mountPath",
  2791. "label": "Plex Shared Mount Path",
  2792. "description": "Path where the volume will be mounted inside the pod",
  2793. "schema": {
  2794. "type": "path",
  2795. "editable": false,
  2796. "default": "/shared"
  2797. }
  2798. }
  2799. ]
  2800. }
  2801. },
  2802. {
  2803. "variable": "shared-logs",
  2804. "label": "Shared Logs Volume",
  2805. "schema": {
  2806. "type": "dict",
  2807. "hidden": true,
  2808. "attrs": [
  2809. {
  2810. "variable": "emptyDir",
  2811. "label": "Temporary Volume",
  2812. "schema": {
  2813. "type": "boolean",
  2814. "default": true,
  2815. "editable": false
  2816. }
  2817. },
  2818. {
  2819. "variable": "mountPath",
  2820. "label": "Plex Shared Logs Mount Path",
  2821. "description": "Path where the volume will be mounted inside the pod",
  2822. "schema": {
  2823. "type": "path",
  2824. "editable": false,
  2825. "default": "/config/Library/Application Support/Plex Media Server/Logs"
  2826. }
  2827. }
  2828. ]
  2829. }
  2830. }
  2831. ]
  2832. }
  2833. },
  2834. {
  2835. "variable": "extraAppVolumeMounts",
  2836. "label": "Plex Extra Host Path Volumes",
  2837. "group": "Storage",
  2838. "schema": {
  2839. "type": "list",
  2840. "items": [
  2841. {
  2842. "variable": "extraAppVolume",
  2843. "label": "Plex Host Path Volume",
  2844. "description": "Add an extra host path volume for plex application",
  2845. "schema": {
  2846. "type": "dict",
  2847. "attrs": [
  2848. {
  2849. "variable": "mountPath",
  2850. "label": "Mount Path in Pod",
  2851. "description": "Path where the volume will be mounted inside the pod",
  2852. "schema": {
  2853. "type": "path",
  2854. "required": true
  2855. }
  2856. },
  2857. {
  2858. "variable": "hostPath",
  2859. "label": "Host Path",
  2860. "description": "Host path",
  2861. "schema": {
  2862. "type": "hostpath",
  2863. "required": true,
  2864. "$ref": [
  2865. "validations/lockedHostPath"
  2866. ]
  2867. }
  2868. },
  2869. {
  2870. "variable": "readOnly",
  2871. "label": "Read Only",
  2872. "description": "Mount hostpath in read-only mode",
  2873. "schema": {
  2874. "type": "boolean",
  2875. "default": false
  2876. }
  2877. }
  2878. ]
  2879. }
  2880. }
  2881. ]
  2882. }
  2883. },
  2884. {
  2885. "variable": "enableResourceLimits",
  2886. "label": "Enable Pod resource limits",
  2887. "group": "Resource Limits",
  2888. "schema": {
  2889. "type": "boolean",
  2890. "default": false
  2891. }
  2892. },
  2893. {
  2894. "variable": "cpuLimit",
  2895. "label": "CPU Limit",
  2896. "description": "CPU resource limit allow plain integer values with suffix m(milli) e.g 1000m, 100.",
  2897. "group": "Resource Limits",
  2898. "schema": {
  2899. "type": "string",
  2900. "show_if": [
  2901. [
  2902. "enableResourceLimits",
  2903. "=",
  2904. true
  2905. ]
  2906. ],
  2907. "valid_chars": "^\\d+(?:\\.\\d+(?!.*m$)|m?$)",
  2908. "default": "4000m"
  2909. }
  2910. },
  2911. {
  2912. "variable": "memLimit",
  2913. "label": "Memory Limit",
  2914. "group": "Resource Limits",
  2915. "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",
  2916. "schema": {
  2917. "type": "string",
  2918. "show_if": [
  2919. [
  2920. "enableResourceLimits",
  2921. "=",
  2922. true
  2923. ]
  2924. ],
  2925. "valid_chars": "^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$",
  2926. "default": "8Gi"
  2927. }
  2928. }
  2929. ]
  2930. },
  2931. "app_readme": "<h1>Plex</h1>\n<p>Plex chart is a chart designed to deploy plex in a TrueNAS SCALE kubernetes cluster.</p>",
  2932. "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>",
  2933. "changelog": null
  2934. }
  2935. }