app_versions.json 133 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673
  1. {
  2. "2.0.1": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/invidious/2.0.1",
  7. "last_update": "2025-03-06 08:26:26",
  8. "required_features": [
  9. "normalize/ixVolume",
  10. "normalize/acl"
  11. ],
  12. "human_version": "latest_2.0.1",
  13. "version": "2.0.1",
  14. "chart_metadata": {
  15. "name": "invidious",
  16. "description": "Invidious is an alternative front-end to YouTube",
  17. "annotations": {
  18. "title": "Invidious"
  19. },
  20. "type": "application",
  21. "version": "2.0.1",
  22. "apiVersion": "v2",
  23. "appVersion": "latest",
  24. "kubeVersion": ">=1.16.0-0",
  25. "maintainers": [
  26. {
  27. "name": "truenas",
  28. "url": "https://www.truenas.com/",
  29. "email": "dev@ixsystems.com"
  30. }
  31. ],
  32. "dependencies": [
  33. {
  34. "name": "common",
  35. "repository": "file://../../../common",
  36. "version": "1.2.9"
  37. }
  38. ],
  39. "home": "https://invidious.io/",
  40. "icon": "https://media.sys.truenas.net/apps/invidious/icons/icon.svg",
  41. "sources": [
  42. "https://invidious.io/",
  43. "https://github.com/truenas/charts/tree/master/community/invidious",
  44. "https://quay.io/repository/invidious"
  45. ],
  46. "keywords": [
  47. "youtube"
  48. ]
  49. },
  50. "app_metadata": {
  51. "runAsContext": [
  52. {
  53. "userName": "invidious",
  54. "groupName": "invidious",
  55. "gid": 1000,
  56. "uid": 1000,
  57. "description": "Invidious runs as non-root user"
  58. },
  59. {
  60. "userName": "postgres",
  61. "groupName": "postgres",
  62. "gid": 999,
  63. "uid": 999,
  64. "description": "Postgres runs as a non-root user."
  65. }
  66. ],
  67. "capabilities": [],
  68. "hostMounts": []
  69. },
  70. "schema": {
  71. "groups": [
  72. {
  73. "name": "Invidious Configuration",
  74. "description": "Configure Invidious"
  75. },
  76. {
  77. "name": "Network Configuration",
  78. "description": "Configure Network for Invidious"
  79. },
  80. {
  81. "name": "Storage Configuration",
  82. "description": "Configure Storage for Invidious"
  83. },
  84. {
  85. "name": "Resources Configuration",
  86. "description": "Configure Resources for Invidious"
  87. }
  88. ],
  89. "portals": {
  90. "web_portal": {
  91. "protocols": [
  92. "$kubernetes-resource_configmap_portal_protocol"
  93. ],
  94. "host": [
  95. "$kubernetes-resource_configmap_portal_host"
  96. ],
  97. "ports": [
  98. "$kubernetes-resource_configmap_portal_port"
  99. ],
  100. "path": "$kubernetes-resource_configmap_portal_path"
  101. }
  102. },
  103. "questions": [
  104. {
  105. "variable": "invidiousConfig",
  106. "label": "",
  107. "group": "Invidious Configuration",
  108. "schema": {
  109. "type": "dict",
  110. "attrs": [
  111. {
  112. "variable": "admins",
  113. "label": "Admins",
  114. "description": "List of usernames that will be granted administrator rights.",
  115. "schema": {
  116. "type": "list",
  117. "default": [],
  118. "items": [
  119. {
  120. "variable": "admin",
  121. "label": "Admin",
  122. "schema": {
  123. "type": "string",
  124. "required": true
  125. }
  126. }
  127. ]
  128. }
  129. },
  130. {
  131. "variable": "registrationEnabled",
  132. "label": "Registration Enabled",
  133. "description": "Enable registration for Invidious.",
  134. "schema": {
  135. "type": "boolean",
  136. "default": true
  137. }
  138. },
  139. {
  140. "variable": "loginEnabled",
  141. "label": "Login Enabled",
  142. "description": "Enable login for Invidious.",
  143. "schema": {
  144. "type": "boolean",
  145. "default": true
  146. }
  147. },
  148. {
  149. "variable": "captchaEnabled",
  150. "label": "Captcha Enabled",
  151. "description": "Enable captcha for Invidious.",
  152. "schema": {
  153. "type": "boolean",
  154. "default": true
  155. }
  156. },
  157. {
  158. "variable": "additionalEnvs",
  159. "label": "Additional Environment Variables",
  160. "description": "Configure additional environment variables for Invidious.",
  161. "schema": {
  162. "type": "list",
  163. "default": [],
  164. "items": [
  165. {
  166. "variable": "env",
  167. "label": "Environment Variable",
  168. "schema": {
  169. "type": "dict",
  170. "attrs": [
  171. {
  172. "variable": "name",
  173. "label": "Name",
  174. "schema": {
  175. "type": "string",
  176. "required": true
  177. }
  178. },
  179. {
  180. "variable": "value",
  181. "label": "Value",
  182. "schema": {
  183. "type": "string",
  184. "required": true
  185. }
  186. }
  187. ]
  188. }
  189. }
  190. ]
  191. }
  192. }
  193. ]
  194. }
  195. },
  196. {
  197. "variable": "invidiousNetwork",
  198. "label": "",
  199. "group": "Network Configuration",
  200. "schema": {
  201. "type": "dict",
  202. "attrs": [
  203. {
  204. "variable": "webPort",
  205. "label": "Web Port",
  206. "description": "The port for the Invidious WebUI.",
  207. "schema": {
  208. "type": "int",
  209. "default": 31008,
  210. "min": 9000,
  211. "max": 65535,
  212. "required": true
  213. }
  214. }
  215. ]
  216. }
  217. },
  218. {
  219. "variable": "invidiousStorage",
  220. "label": "",
  221. "group": "Storage Configuration",
  222. "schema": {
  223. "type": "dict",
  224. "attrs": [
  225. {
  226. "variable": "config",
  227. "label": "Invidious Config Storage",
  228. "description": "The path to store Invidious Configuration.",
  229. "schema": {
  230. "type": "dict",
  231. "attrs": [
  232. {
  233. "variable": "type",
  234. "label": "Type",
  235. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  236. "schema": {
  237. "type": "string",
  238. "required": true,
  239. "immutable": true,
  240. "default": "ixVolume",
  241. "enum": [
  242. {
  243. "value": "hostPath",
  244. "description": "Host Path (Path that already exists on the system)"
  245. },
  246. {
  247. "value": "ixVolume",
  248. "description": "ixVolume (Dataset created automatically by the system)"
  249. }
  250. ]
  251. }
  252. },
  253. {
  254. "variable": "ixVolumeConfig",
  255. "label": "ixVolume Configuration",
  256. "description": "The configuration for the ixVolume dataset.",
  257. "schema": {
  258. "type": "dict",
  259. "show_if": [
  260. [
  261. "type",
  262. "=",
  263. "ixVolume"
  264. ]
  265. ],
  266. "$ref": [
  267. "normalize/ixVolume"
  268. ],
  269. "attrs": [
  270. {
  271. "variable": "aclEnable",
  272. "label": "Enable ACL",
  273. "description": "Enable ACL for the dataset.",
  274. "schema": {
  275. "type": "boolean",
  276. "default": false
  277. }
  278. },
  279. {
  280. "variable": "datasetName",
  281. "label": "Dataset Name",
  282. "description": "The name of the dataset to use for storage.",
  283. "schema": {
  284. "type": "string",
  285. "required": true,
  286. "immutable": true,
  287. "hidden": true,
  288. "default": "config"
  289. }
  290. },
  291. {
  292. "variable": "aclEntries",
  293. "label": "ACL Configuration",
  294. "schema": {
  295. "type": "dict",
  296. "show_if": [
  297. [
  298. "aclEnable",
  299. "=",
  300. true
  301. ]
  302. ],
  303. "attrs": [
  304. {
  305. "variable": "path",
  306. "label": "Path",
  307. "description": "Path to perform ACL",
  308. "schema": {
  309. "type": "string",
  310. "hidden": true
  311. }
  312. },
  313. {
  314. "variable": "entries",
  315. "label": "ACL Entries",
  316. "description": "ACL Entries",
  317. "schema": {
  318. "type": "list",
  319. "items": [
  320. {
  321. "variable": "aclEntry",
  322. "label": "ACL Entry",
  323. "schema": {
  324. "type": "dict",
  325. "attrs": [
  326. {
  327. "variable": "id_type",
  328. "label": "ID Type",
  329. "schema": {
  330. "type": "string",
  331. "enum": [
  332. {
  333. "value": "USER",
  334. "description": "Entry is for a USER"
  335. },
  336. {
  337. "value": "GROUP",
  338. "description": "Entry is for a GROUP"
  339. }
  340. ],
  341. "default": "USER"
  342. }
  343. },
  344. {
  345. "variable": "id",
  346. "label": "ID",
  347. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  348. "schema": {
  349. "type": "int",
  350. "required": true,
  351. "min": 0
  352. }
  353. },
  354. {
  355. "variable": "access",
  356. "label": "Access",
  357. "schema": {
  358. "type": "string",
  359. "enum": [
  360. {
  361. "value": "READ",
  362. "description": "Read Access"
  363. },
  364. {
  365. "value": "MODIFY",
  366. "description": "Modify Access"
  367. },
  368. {
  369. "value": "FULL_CONTROL",
  370. "description": "FULL_CONTROL Access"
  371. }
  372. ]
  373. }
  374. }
  375. ]
  376. }
  377. }
  378. ]
  379. }
  380. }
  381. ]
  382. }
  383. }
  384. ]
  385. }
  386. },
  387. {
  388. "variable": "hostPathConfig",
  389. "label": "Host Path Configuration",
  390. "schema": {
  391. "type": "dict",
  392. "show_if": [
  393. [
  394. "type",
  395. "=",
  396. "hostPath"
  397. ]
  398. ],
  399. "attrs": [
  400. {
  401. "variable": "aclEnable",
  402. "label": "Enable ACL",
  403. "description": "Enable ACL for the dataset.",
  404. "schema": {
  405. "type": "boolean",
  406. "default": false
  407. }
  408. },
  409. {
  410. "variable": "acl",
  411. "label": "ACL Configuration",
  412. "schema": {
  413. "type": "dict",
  414. "show_if": [
  415. [
  416. "aclEnable",
  417. "=",
  418. true
  419. ]
  420. ],
  421. "attrs": [
  422. {
  423. "variable": "path",
  424. "label": "Host Path",
  425. "description": "Host Path to perform ACL",
  426. "schema": {
  427. "type": "hostpath",
  428. "required": true,
  429. "empty": false
  430. }
  431. },
  432. {
  433. "variable": "entries",
  434. "label": "ACL Entries",
  435. "description": "ACL Entries",
  436. "schema": {
  437. "type": "list",
  438. "items": [
  439. {
  440. "variable": "aclEntry",
  441. "label": "ACL Entry",
  442. "schema": {
  443. "type": "dict",
  444. "attrs": [
  445. {
  446. "variable": "id_type",
  447. "label": "ID Type",
  448. "schema": {
  449. "type": "string",
  450. "enum": [
  451. {
  452. "value": "USER",
  453. "description": "Entry is for a USER"
  454. },
  455. {
  456. "value": "GROUP",
  457. "description": "Entry is for a GROUP"
  458. }
  459. ],
  460. "default": "USER"
  461. }
  462. },
  463. {
  464. "variable": "id",
  465. "label": "ID",
  466. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  467. "schema": {
  468. "type": "int",
  469. "required": true,
  470. "min": 0
  471. }
  472. },
  473. {
  474. "variable": "access",
  475. "label": "Access",
  476. "schema": {
  477. "type": "string",
  478. "enum": [
  479. {
  480. "value": "READ",
  481. "description": "Read Access"
  482. },
  483. {
  484. "value": "MODIFY",
  485. "description": "Modify Access"
  486. },
  487. {
  488. "value": "FULL_CONTROL",
  489. "description": "FULL_CONTROL Access"
  490. }
  491. ]
  492. }
  493. }
  494. ]
  495. }
  496. }
  497. ]
  498. }
  499. },
  500. {
  501. "variable": "options",
  502. "label": "ACL Options",
  503. "schema": {
  504. "type": "dict",
  505. "attrs": [
  506. {
  507. "variable": "force",
  508. "label": "Force Flag",
  509. "description": "Enabling `Force` applies ACL even if the path has existing data",
  510. "schema": {
  511. "type": "boolean",
  512. "default": false
  513. }
  514. }
  515. ]
  516. }
  517. }
  518. ],
  519. "$ref": [
  520. "normalize/acl"
  521. ]
  522. }
  523. },
  524. {
  525. "variable": "hostPath",
  526. "label": "Host Path",
  527. "description": "The host path to use for storage.",
  528. "schema": {
  529. "type": "hostpath",
  530. "show_if": [
  531. [
  532. "aclEnable",
  533. "=",
  534. false
  535. ]
  536. ],
  537. "required": true
  538. }
  539. }
  540. ]
  541. }
  542. }
  543. ]
  544. }
  545. },
  546. {
  547. "variable": "pgData",
  548. "label": "Invidious Postgres Data Storage",
  549. "description": "The path to store Invidious Postgres Data.",
  550. "schema": {
  551. "type": "dict",
  552. "attrs": [
  553. {
  554. "variable": "type",
  555. "label": "Type",
  556. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  557. "schema": {
  558. "type": "string",
  559. "required": true,
  560. "immutable": true,
  561. "default": "ixVolume",
  562. "enum": [
  563. {
  564. "value": "hostPath",
  565. "description": "Host Path (Path that already exists on the system)"
  566. },
  567. {
  568. "value": "ixVolume",
  569. "description": "ixVolume (Dataset created automatically by the system)"
  570. }
  571. ]
  572. }
  573. },
  574. {
  575. "variable": "ixVolumeConfig",
  576. "label": "ixVolume Configuration",
  577. "description": "The configuration for the ixVolume dataset.",
  578. "schema": {
  579. "type": "dict",
  580. "hidden": true,
  581. "show_if": [
  582. [
  583. "type",
  584. "=",
  585. "ixVolume"
  586. ]
  587. ],
  588. "$ref": [
  589. "normalize/ixVolume"
  590. ],
  591. "attrs": [
  592. {
  593. "variable": "aclEnable",
  594. "label": "Enable ACL",
  595. "description": "Enable ACL for the dataset.",
  596. "schema": {
  597. "type": "boolean",
  598. "hidden": true,
  599. "default": false
  600. }
  601. },
  602. {
  603. "variable": "datasetName",
  604. "label": "Dataset Name",
  605. "description": "The name of the dataset to use for storage.",
  606. "schema": {
  607. "type": "string",
  608. "required": true,
  609. "immutable": true,
  610. "hidden": true,
  611. "default": "pgData"
  612. }
  613. },
  614. {
  615. "variable": "aclEntries",
  616. "label": "ACL Configuration",
  617. "schema": {
  618. "type": "dict",
  619. "show_if": [
  620. [
  621. "aclEnable",
  622. "=",
  623. true
  624. ]
  625. ],
  626. "attrs": [
  627. {
  628. "variable": "path",
  629. "label": "Path",
  630. "description": "Path to perform ACL",
  631. "schema": {
  632. "type": "string",
  633. "hidden": true
  634. }
  635. },
  636. {
  637. "variable": "entries",
  638. "label": "ACL Entries",
  639. "description": "ACL Entries",
  640. "schema": {
  641. "type": "list",
  642. "items": [
  643. {
  644. "variable": "aclEntry",
  645. "label": "ACL Entry",
  646. "schema": {
  647. "type": "dict",
  648. "attrs": [
  649. {
  650. "variable": "id_type",
  651. "label": "ID Type",
  652. "schema": {
  653. "type": "string",
  654. "enum": [
  655. {
  656. "value": "USER",
  657. "description": "Entry is for a USER"
  658. },
  659. {
  660. "value": "GROUP",
  661. "description": "Entry is for a GROUP"
  662. }
  663. ],
  664. "default": "USER"
  665. }
  666. },
  667. {
  668. "variable": "id",
  669. "label": "ID",
  670. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  671. "schema": {
  672. "type": "int",
  673. "required": true,
  674. "min": 0
  675. }
  676. },
  677. {
  678. "variable": "access",
  679. "label": "Access",
  680. "schema": {
  681. "type": "string",
  682. "enum": [
  683. {
  684. "value": "READ",
  685. "description": "Read Access"
  686. },
  687. {
  688. "value": "MODIFY",
  689. "description": "Modify Access"
  690. },
  691. {
  692. "value": "FULL_CONTROL",
  693. "description": "FULL_CONTROL Access"
  694. }
  695. ]
  696. }
  697. }
  698. ]
  699. }
  700. }
  701. ]
  702. }
  703. }
  704. ]
  705. }
  706. }
  707. ]
  708. }
  709. },
  710. {
  711. "variable": "hostPathConfig",
  712. "label": "Host Path Configuration",
  713. "schema": {
  714. "type": "dict",
  715. "show_if": [
  716. [
  717. "type",
  718. "=",
  719. "hostPath"
  720. ]
  721. ],
  722. "attrs": [
  723. {
  724. "variable": "aclEnable",
  725. "label": "Enable ACL",
  726. "description": "Enable ACL for the dataset.",
  727. "schema": {
  728. "type": "boolean",
  729. "hidden": true,
  730. "default": false
  731. }
  732. },
  733. {
  734. "variable": "acl",
  735. "label": "ACL Configuration",
  736. "schema": {
  737. "type": "dict",
  738. "show_if": [
  739. [
  740. "aclEnable",
  741. "=",
  742. true
  743. ]
  744. ],
  745. "attrs": [
  746. {
  747. "variable": "path",
  748. "label": "Host Path",
  749. "description": "Host Path to perform ACL",
  750. "schema": {
  751. "type": "hostpath",
  752. "required": true,
  753. "empty": false
  754. }
  755. },
  756. {
  757. "variable": "entries",
  758. "label": "ACL Entries",
  759. "description": "ACL Entries",
  760. "schema": {
  761. "type": "list",
  762. "items": [
  763. {
  764. "variable": "aclEntry",
  765. "label": "ACL Entry",
  766. "schema": {
  767. "type": "dict",
  768. "attrs": [
  769. {
  770. "variable": "id_type",
  771. "label": "ID Type",
  772. "schema": {
  773. "type": "string",
  774. "enum": [
  775. {
  776. "value": "USER",
  777. "description": "Entry is for a USER"
  778. },
  779. {
  780. "value": "GROUP",
  781. "description": "Entry is for a GROUP"
  782. }
  783. ],
  784. "default": "USER"
  785. }
  786. },
  787. {
  788. "variable": "id",
  789. "label": "ID",
  790. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  791. "schema": {
  792. "type": "int",
  793. "required": true,
  794. "min": 0
  795. }
  796. },
  797. {
  798. "variable": "access",
  799. "label": "Access",
  800. "schema": {
  801. "type": "string",
  802. "enum": [
  803. {
  804. "value": "READ",
  805. "description": "Read Access"
  806. },
  807. {
  808. "value": "MODIFY",
  809. "description": "Modify Access"
  810. },
  811. {
  812. "value": "FULL_CONTROL",
  813. "description": "FULL_CONTROL Access"
  814. }
  815. ]
  816. }
  817. }
  818. ]
  819. }
  820. }
  821. ]
  822. }
  823. },
  824. {
  825. "variable": "options",
  826. "label": "ACL Options",
  827. "schema": {
  828. "type": "dict",
  829. "attrs": [
  830. {
  831. "variable": "force",
  832. "label": "Force Flag",
  833. "description": "Enabling `Force` applies ACL even if the path has existing data",
  834. "schema": {
  835. "type": "boolean",
  836. "default": false
  837. }
  838. }
  839. ]
  840. }
  841. }
  842. ],
  843. "$ref": [
  844. "normalize/acl"
  845. ]
  846. }
  847. },
  848. {
  849. "variable": "hostPath",
  850. "label": "Host Path",
  851. "description": "The host path to use for storage.",
  852. "schema": {
  853. "type": "hostpath",
  854. "show_if": [
  855. [
  856. "aclEnable",
  857. "=",
  858. false
  859. ]
  860. ],
  861. "required": true
  862. }
  863. }
  864. ]
  865. }
  866. }
  867. ]
  868. }
  869. },
  870. {
  871. "variable": "pgBackup",
  872. "label": "Invidious Postgres Backup Storage",
  873. "description": "The path to store Invidious Postgres Backup.",
  874. "schema": {
  875. "type": "dict",
  876. "attrs": [
  877. {
  878. "variable": "type",
  879. "label": "Type",
  880. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  881. "schema": {
  882. "type": "string",
  883. "required": true,
  884. "immutable": true,
  885. "default": "ixVolume",
  886. "enum": [
  887. {
  888. "value": "hostPath",
  889. "description": "Host Path (Path that already exists on the system)"
  890. },
  891. {
  892. "value": "ixVolume",
  893. "description": "ixVolume (Dataset created automatically by the system)"
  894. }
  895. ]
  896. }
  897. },
  898. {
  899. "variable": "ixVolumeConfig",
  900. "label": "ixVolume Configuration",
  901. "description": "The configuration for the ixVolume dataset.",
  902. "schema": {
  903. "type": "dict",
  904. "hidden": true,
  905. "show_if": [
  906. [
  907. "type",
  908. "=",
  909. "ixVolume"
  910. ]
  911. ],
  912. "$ref": [
  913. "normalize/ixVolume"
  914. ],
  915. "attrs": [
  916. {
  917. "variable": "aclEnable",
  918. "label": "Enable ACL",
  919. "description": "Enable ACL for the dataset.",
  920. "schema": {
  921. "type": "boolean",
  922. "hidden": true,
  923. "default": false
  924. }
  925. },
  926. {
  927. "variable": "datasetName",
  928. "label": "Dataset Name",
  929. "description": "The name of the dataset to use for storage.",
  930. "schema": {
  931. "type": "string",
  932. "required": true,
  933. "immutable": true,
  934. "hidden": true,
  935. "default": "pgBackup"
  936. }
  937. },
  938. {
  939. "variable": "aclEntries",
  940. "label": "ACL Configuration",
  941. "schema": {
  942. "type": "dict",
  943. "show_if": [
  944. [
  945. "aclEnable",
  946. "=",
  947. true
  948. ]
  949. ],
  950. "attrs": [
  951. {
  952. "variable": "path",
  953. "label": "Path",
  954. "description": "Path to perform ACL",
  955. "schema": {
  956. "type": "string",
  957. "hidden": true
  958. }
  959. },
  960. {
  961. "variable": "entries",
  962. "label": "ACL Entries",
  963. "description": "ACL Entries",
  964. "schema": {
  965. "type": "list",
  966. "items": [
  967. {
  968. "variable": "aclEntry",
  969. "label": "ACL Entry",
  970. "schema": {
  971. "type": "dict",
  972. "attrs": [
  973. {
  974. "variable": "id_type",
  975. "label": "ID Type",
  976. "schema": {
  977. "type": "string",
  978. "enum": [
  979. {
  980. "value": "USER",
  981. "description": "Entry is for a USER"
  982. },
  983. {
  984. "value": "GROUP",
  985. "description": "Entry is for a GROUP"
  986. }
  987. ],
  988. "default": "USER"
  989. }
  990. },
  991. {
  992. "variable": "id",
  993. "label": "ID",
  994. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  995. "schema": {
  996. "type": "int",
  997. "required": true,
  998. "min": 0
  999. }
  1000. },
  1001. {
  1002. "variable": "access",
  1003. "label": "Access",
  1004. "schema": {
  1005. "type": "string",
  1006. "enum": [
  1007. {
  1008. "value": "READ",
  1009. "description": "Read Access"
  1010. },
  1011. {
  1012. "value": "MODIFY",
  1013. "description": "Modify Access"
  1014. },
  1015. {
  1016. "value": "FULL_CONTROL",
  1017. "description": "FULL_CONTROL Access"
  1018. }
  1019. ]
  1020. }
  1021. }
  1022. ]
  1023. }
  1024. }
  1025. ]
  1026. }
  1027. }
  1028. ]
  1029. }
  1030. }
  1031. ]
  1032. }
  1033. },
  1034. {
  1035. "variable": "hostPathConfig",
  1036. "label": "Host Path Configuration",
  1037. "schema": {
  1038. "type": "dict",
  1039. "show_if": [
  1040. [
  1041. "type",
  1042. "=",
  1043. "hostPath"
  1044. ]
  1045. ],
  1046. "attrs": [
  1047. {
  1048. "variable": "aclEnable",
  1049. "label": "Enable ACL",
  1050. "description": "Enable ACL for the dataset.",
  1051. "schema": {
  1052. "type": "boolean",
  1053. "hidden": true,
  1054. "default": false
  1055. }
  1056. },
  1057. {
  1058. "variable": "acl",
  1059. "label": "ACL Configuration",
  1060. "schema": {
  1061. "type": "dict",
  1062. "show_if": [
  1063. [
  1064. "aclEnable",
  1065. "=",
  1066. true
  1067. ]
  1068. ],
  1069. "attrs": [
  1070. {
  1071. "variable": "path",
  1072. "label": "Host Path",
  1073. "description": "Host Path to perform ACL",
  1074. "schema": {
  1075. "type": "hostpath",
  1076. "required": true,
  1077. "empty": false
  1078. }
  1079. },
  1080. {
  1081. "variable": "entries",
  1082. "label": "ACL Entries",
  1083. "description": "ACL Entries",
  1084. "schema": {
  1085. "type": "list",
  1086. "items": [
  1087. {
  1088. "variable": "aclEntry",
  1089. "label": "ACL Entry",
  1090. "schema": {
  1091. "type": "dict",
  1092. "attrs": [
  1093. {
  1094. "variable": "id_type",
  1095. "label": "ID Type",
  1096. "schema": {
  1097. "type": "string",
  1098. "enum": [
  1099. {
  1100. "value": "USER",
  1101. "description": "Entry is for a USER"
  1102. },
  1103. {
  1104. "value": "GROUP",
  1105. "description": "Entry is for a GROUP"
  1106. }
  1107. ],
  1108. "default": "USER"
  1109. }
  1110. },
  1111. {
  1112. "variable": "id",
  1113. "label": "ID",
  1114. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1115. "schema": {
  1116. "type": "int",
  1117. "required": true,
  1118. "min": 0
  1119. }
  1120. },
  1121. {
  1122. "variable": "access",
  1123. "label": "Access",
  1124. "schema": {
  1125. "type": "string",
  1126. "enum": [
  1127. {
  1128. "value": "READ",
  1129. "description": "Read Access"
  1130. },
  1131. {
  1132. "value": "MODIFY",
  1133. "description": "Modify Access"
  1134. },
  1135. {
  1136. "value": "FULL_CONTROL",
  1137. "description": "FULL_CONTROL Access"
  1138. }
  1139. ]
  1140. }
  1141. }
  1142. ]
  1143. }
  1144. }
  1145. ]
  1146. }
  1147. },
  1148. {
  1149. "variable": "options",
  1150. "label": "ACL Options",
  1151. "schema": {
  1152. "type": "dict",
  1153. "attrs": [
  1154. {
  1155. "variable": "force",
  1156. "label": "Force Flag",
  1157. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1158. "schema": {
  1159. "type": "boolean",
  1160. "default": false
  1161. }
  1162. }
  1163. ]
  1164. }
  1165. }
  1166. ],
  1167. "$ref": [
  1168. "normalize/acl"
  1169. ]
  1170. }
  1171. },
  1172. {
  1173. "variable": "hostPath",
  1174. "label": "Host Path",
  1175. "description": "The host path to use for storage.",
  1176. "schema": {
  1177. "type": "hostpath",
  1178. "show_if": [
  1179. [
  1180. "aclEnable",
  1181. "=",
  1182. false
  1183. ]
  1184. ],
  1185. "required": true
  1186. }
  1187. }
  1188. ]
  1189. }
  1190. }
  1191. ]
  1192. }
  1193. },
  1194. {
  1195. "variable": "additionalStorages",
  1196. "label": "Additional Storage",
  1197. "description": "Additional storage for Invidious.",
  1198. "schema": {
  1199. "type": "list",
  1200. "default": [],
  1201. "items": [
  1202. {
  1203. "variable": "storageEntry",
  1204. "label": "Storage Entry",
  1205. "schema": {
  1206. "type": "dict",
  1207. "attrs": [
  1208. {
  1209. "variable": "type",
  1210. "label": "Type",
  1211. "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",
  1212. "schema": {
  1213. "type": "string",
  1214. "required": true,
  1215. "default": "ixVolume",
  1216. "immutable": true,
  1217. "enum": [
  1218. {
  1219. "value": "hostPath",
  1220. "description": "Host Path (Path that already exists on the system)"
  1221. },
  1222. {
  1223. "value": "ixVolume",
  1224. "description": "ixVolume (Dataset created automatically by the system)"
  1225. },
  1226. {
  1227. "value": "smb-pv-pvc",
  1228. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1229. }
  1230. ]
  1231. }
  1232. },
  1233. {
  1234. "variable": "readOnly",
  1235. "label": "Read Only",
  1236. "description": "Mount the volume as read only.",
  1237. "schema": {
  1238. "type": "boolean",
  1239. "default": false
  1240. }
  1241. },
  1242. {
  1243. "variable": "mountPath",
  1244. "label": "Mount Path",
  1245. "description": "The path inside the container to mount the storage.",
  1246. "schema": {
  1247. "type": "path",
  1248. "required": true
  1249. }
  1250. },
  1251. {
  1252. "variable": "hostPathConfig",
  1253. "label": "Host Path Configuration",
  1254. "schema": {
  1255. "type": "dict",
  1256. "show_if": [
  1257. [
  1258. "type",
  1259. "=",
  1260. "hostPath"
  1261. ]
  1262. ],
  1263. "attrs": [
  1264. {
  1265. "variable": "aclEnable",
  1266. "label": "Enable ACL",
  1267. "description": "Enable ACL for the dataset.",
  1268. "schema": {
  1269. "type": "boolean",
  1270. "default": false
  1271. }
  1272. },
  1273. {
  1274. "variable": "acl",
  1275. "label": "ACL Configuration",
  1276. "schema": {
  1277. "type": "dict",
  1278. "show_if": [
  1279. [
  1280. "aclEnable",
  1281. "=",
  1282. true
  1283. ]
  1284. ],
  1285. "attrs": [
  1286. {
  1287. "variable": "path",
  1288. "label": "Host Path",
  1289. "description": "Host Path to perform ACL",
  1290. "schema": {
  1291. "type": "hostpath",
  1292. "required": true,
  1293. "empty": false
  1294. }
  1295. },
  1296. {
  1297. "variable": "entries",
  1298. "label": "ACL Entries",
  1299. "description": "ACL Entries",
  1300. "schema": {
  1301. "type": "list",
  1302. "items": [
  1303. {
  1304. "variable": "aclEntry",
  1305. "label": "ACL Entry",
  1306. "schema": {
  1307. "type": "dict",
  1308. "attrs": [
  1309. {
  1310. "variable": "id_type",
  1311. "label": "ID Type",
  1312. "schema": {
  1313. "type": "string",
  1314. "enum": [
  1315. {
  1316. "value": "USER",
  1317. "description": "Entry is for a USER"
  1318. },
  1319. {
  1320. "value": "GROUP",
  1321. "description": "Entry is for a GROUP"
  1322. }
  1323. ],
  1324. "default": "USER"
  1325. }
  1326. },
  1327. {
  1328. "variable": "id",
  1329. "label": "ID",
  1330. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1331. "schema": {
  1332. "type": "int",
  1333. "required": true,
  1334. "min": 0
  1335. }
  1336. },
  1337. {
  1338. "variable": "access",
  1339. "label": "Access",
  1340. "schema": {
  1341. "type": "string",
  1342. "enum": [
  1343. {
  1344. "value": "READ",
  1345. "description": "Read Access"
  1346. },
  1347. {
  1348. "value": "MODIFY",
  1349. "description": "Modify Access"
  1350. },
  1351. {
  1352. "value": "FULL_CONTROL",
  1353. "description": "FULL_CONTROL Access"
  1354. }
  1355. ]
  1356. }
  1357. }
  1358. ]
  1359. }
  1360. }
  1361. ]
  1362. }
  1363. },
  1364. {
  1365. "variable": "options",
  1366. "label": "ACL Options",
  1367. "schema": {
  1368. "type": "dict",
  1369. "attrs": [
  1370. {
  1371. "variable": "force",
  1372. "label": "Force Flag",
  1373. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1374. "schema": {
  1375. "type": "boolean",
  1376. "default": false
  1377. }
  1378. }
  1379. ]
  1380. }
  1381. }
  1382. ],
  1383. "$ref": [
  1384. "normalize/acl"
  1385. ]
  1386. }
  1387. },
  1388. {
  1389. "variable": "hostPath",
  1390. "label": "Host Path",
  1391. "description": "The host path to use for storage.",
  1392. "schema": {
  1393. "type": "hostpath",
  1394. "show_if": [
  1395. [
  1396. "aclEnable",
  1397. "=",
  1398. false
  1399. ]
  1400. ],
  1401. "required": true
  1402. }
  1403. }
  1404. ]
  1405. }
  1406. },
  1407. {
  1408. "variable": "ixVolumeConfig",
  1409. "label": "ixVolume Configuration",
  1410. "description": "The configuration for the ixVolume dataset.",
  1411. "schema": {
  1412. "type": "dict",
  1413. "show_if": [
  1414. [
  1415. "type",
  1416. "=",
  1417. "ixVolume"
  1418. ]
  1419. ],
  1420. "$ref": [
  1421. "normalize/ixVolume"
  1422. ],
  1423. "attrs": [
  1424. {
  1425. "variable": "aclEnable",
  1426. "label": "Enable ACL",
  1427. "description": "Enable ACL for the dataset.",
  1428. "schema": {
  1429. "type": "boolean",
  1430. "default": false
  1431. }
  1432. },
  1433. {
  1434. "variable": "datasetName",
  1435. "label": "Dataset Name",
  1436. "description": "The name of the dataset to use for storage.",
  1437. "schema": {
  1438. "type": "string",
  1439. "required": true,
  1440. "immutable": true,
  1441. "default": "storage_entry"
  1442. }
  1443. },
  1444. {
  1445. "variable": "aclEntries",
  1446. "label": "ACL Configuration",
  1447. "schema": {
  1448. "type": "dict",
  1449. "show_if": [
  1450. [
  1451. "aclEnable",
  1452. "=",
  1453. true
  1454. ]
  1455. ],
  1456. "attrs": [
  1457. {
  1458. "variable": "path",
  1459. "label": "Path",
  1460. "description": "Path to perform ACL",
  1461. "schema": {
  1462. "type": "string",
  1463. "hidden": true
  1464. }
  1465. },
  1466. {
  1467. "variable": "entries",
  1468. "label": "ACL Entries",
  1469. "description": "ACL Entries",
  1470. "schema": {
  1471. "type": "list",
  1472. "items": [
  1473. {
  1474. "variable": "aclEntry",
  1475. "label": "ACL Entry",
  1476. "schema": {
  1477. "type": "dict",
  1478. "attrs": [
  1479. {
  1480. "variable": "id_type",
  1481. "label": "ID Type",
  1482. "schema": {
  1483. "type": "string",
  1484. "enum": [
  1485. {
  1486. "value": "USER",
  1487. "description": "Entry is for a USER"
  1488. },
  1489. {
  1490. "value": "GROUP",
  1491. "description": "Entry is for a GROUP"
  1492. }
  1493. ],
  1494. "default": "USER"
  1495. }
  1496. },
  1497. {
  1498. "variable": "id",
  1499. "label": "ID",
  1500. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1501. "schema": {
  1502. "type": "int",
  1503. "required": true,
  1504. "min": 0
  1505. }
  1506. },
  1507. {
  1508. "variable": "access",
  1509. "label": "Access",
  1510. "schema": {
  1511. "type": "string",
  1512. "enum": [
  1513. {
  1514. "value": "READ",
  1515. "description": "Read Access"
  1516. },
  1517. {
  1518. "value": "MODIFY",
  1519. "description": "Modify Access"
  1520. },
  1521. {
  1522. "value": "FULL_CONTROL",
  1523. "description": "FULL_CONTROL Access"
  1524. }
  1525. ]
  1526. }
  1527. }
  1528. ]
  1529. }
  1530. }
  1531. ]
  1532. }
  1533. }
  1534. ]
  1535. }
  1536. }
  1537. ]
  1538. }
  1539. },
  1540. {
  1541. "variable": "smbConfig",
  1542. "label": "SMB Share Configuration",
  1543. "description": "The configuration for the SMB Share.",
  1544. "schema": {
  1545. "type": "dict",
  1546. "show_if": [
  1547. [
  1548. "type",
  1549. "=",
  1550. "smb-pv-pvc"
  1551. ]
  1552. ],
  1553. "attrs": [
  1554. {
  1555. "variable": "server",
  1556. "label": "Server",
  1557. "description": "The server for the SMB share.",
  1558. "schema": {
  1559. "type": "string",
  1560. "required": true
  1561. }
  1562. },
  1563. {
  1564. "variable": "share",
  1565. "label": "Share",
  1566. "description": "The share name for the SMB share.",
  1567. "schema": {
  1568. "type": "string",
  1569. "required": true
  1570. }
  1571. },
  1572. {
  1573. "variable": "domain",
  1574. "label": "Domain (Optional)",
  1575. "description": "The domain for the SMB share.",
  1576. "schema": {
  1577. "type": "string"
  1578. }
  1579. },
  1580. {
  1581. "variable": "username",
  1582. "label": "Username",
  1583. "description": "The username for the SMB share.",
  1584. "schema": {
  1585. "type": "string",
  1586. "required": true
  1587. }
  1588. },
  1589. {
  1590. "variable": "password",
  1591. "label": "Password",
  1592. "description": "The password for the SMB share.",
  1593. "schema": {
  1594. "type": "string",
  1595. "required": true,
  1596. "private": true
  1597. }
  1598. },
  1599. {
  1600. "variable": "size",
  1601. "label": "Size (in Gi)",
  1602. "description": "The size of the volume quota.",
  1603. "schema": {
  1604. "type": "int",
  1605. "required": true,
  1606. "min": 1,
  1607. "default": 1
  1608. }
  1609. }
  1610. ]
  1611. }
  1612. }
  1613. ]
  1614. }
  1615. }
  1616. ]
  1617. }
  1618. }
  1619. ]
  1620. }
  1621. },
  1622. {
  1623. "variable": "resources",
  1624. "label": "",
  1625. "group": "Resources Configuration",
  1626. "schema": {
  1627. "type": "dict",
  1628. "attrs": [
  1629. {
  1630. "variable": "limits",
  1631. "label": "Limits",
  1632. "schema": {
  1633. "type": "dict",
  1634. "attrs": [
  1635. {
  1636. "variable": "cpu",
  1637. "label": "CPU",
  1638. "description": "CPU limit for Invidious.",
  1639. "schema": {
  1640. "type": "string",
  1641. "max_length": 6,
  1642. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1643. "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",
  1644. "default": "4000m",
  1645. "required": true
  1646. }
  1647. },
  1648. {
  1649. "variable": "memory",
  1650. "label": "Memory",
  1651. "description": "Memory limit for Invidious.",
  1652. "schema": {
  1653. "type": "string",
  1654. "max_length": 12,
  1655. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1656. "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",
  1657. "default": "8Gi",
  1658. "required": true
  1659. }
  1660. }
  1661. ]
  1662. }
  1663. }
  1664. ]
  1665. }
  1666. }
  1667. ]
  1668. },
  1669. "app_readme": "<h1>Invidious</h1>\n<p><a href=\"https://invidious.io/\">Invidious</a> is an alternative front-end to YouTube.</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>postgres</code> directories.\nAfterward, the <code>postgres</code> container will run as a <strong>non</strong>-root user (<code>999</code>).\nOn each upgrade, a container will be launched with <strong>root</strong> privileges in order to apply the correct\npermissions to the <code>postgres</code> <strong>backups</strong> directory. Container that performs the backup will run as a <strong>non</strong>-root user (<code>999</code>) afterwards.\nKeep in mind the permissions on the backup directory will be changed to <code>999:999</code> on <strong>every</strong> update.\nBut will only be changed once for the <code>postgres</code> data directories.</p>\n</blockquote>\n<p>Additional configuration can be specified</p>\n<ul>\n<li>Via <a href=\"https://github.com/iv-org/invidious/pull/1702\">environment variables</a></li>\n<li>By editing the file <code>/config/config.yaml</code> (see <a href=\"https://github.com/iv-org/invidious/blob/master/config/config.example.yml\">example</a>)</li>\n</ul>",
  1670. "detailed_readme": "<h1>Invidious</h1>\n<p><a href=\"https://invidious.io/\">Invidious</a> is an alternative front-end to YouTube.</p>\n<blockquote>\n<p>When application is installed, a container will be launched with <strong>root</strong> privileges.\nThis is required in order to apply the correct permissions to the <code>postgres</code> directories.\nAfterward, the <code>postgres</code> container will run as a <strong>non</strong>-root user (<code>999</code>).\nOn each upgrade, a container will be launched with <strong>root</strong> privileges in order to apply the correct\npermissions to the <code>postgres</code> <strong>backups</strong> directory. Container that performs the backup will run as a <strong>non</strong>-root user (<code>999</code>) afterwards.\nKeep in mind the permissions on the backup directory will be changed to <code>999:999</code> on <strong>every</strong> update.\nBut will only be changed once for the <code>postgres</code> data directories.</p>\n</blockquote>\n<p>Additional configuration can be specified</p>\n<ul>\n<li>Via <a href=\"https://github.com/iv-org/invidious/pull/1702\">environment variables</a></li>\n<li>By editing the file <code>/config/config.yaml</code> (see <a href=\"https://github.com/iv-org/invidious/blob/master/config/config.example.yml\">example</a>)</li>\n</ul>",
  1671. "changelog": null
  1672. }
  1673. }