app_versions.json 153 KB

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