app_versions.json 162 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039
  1. {
  2. "1.1.2": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/gitea/1.1.2",
  7. "last_update": "2023-12-01 12:58:12",
  8. "required_features": [
  9. "normalize/ixVolume",
  10. "normalize/acl",
  11. "definitions/certificate"
  12. ],
  13. "human_version": "1.21.1_1.1.2",
  14. "version": "1.1.2",
  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.2",
  23. "apiVersion": "v2",
  24. "appVersion": "1.21.1",
  25. "kubeVersion": ">=1.16.0-0",
  26. "maintainers": [
  27. {
  28. "name": "truenas",
  29. "url": "https://www.truenas.com/",
  30. "email": "dev@ixsystems.com"
  31. }
  32. ],
  33. "dependencies": [
  34. {
  35. "name": "common",
  36. "repository": "file://../../../common",
  37. "version": "1.2.3"
  38. }
  39. ],
  40. "home": "https://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": "Host Path Configuration",
  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. "variable": "options",
  542. "label": "ACL Options",
  543. "schema": {
  544. "type": "dict",
  545. "attrs": [
  546. {
  547. "variable": "force",
  548. "label": "Force Flag",
  549. "description": "Enabling `Force` applies ACL even if the path has existing data",
  550. "schema": {
  551. "type": "boolean",
  552. "default": false
  553. }
  554. }
  555. ]
  556. }
  557. }
  558. ],
  559. "$ref": [
  560. "normalize/acl"
  561. ]
  562. }
  563. },
  564. {
  565. "variable": "hostPath",
  566. "label": "Host Path",
  567. "description": "The host path to use for storage.",
  568. "schema": {
  569. "type": "hostpath",
  570. "show_if": [
  571. [
  572. "aclEnable",
  573. "=",
  574. false
  575. ]
  576. ],
  577. "immutable": true,
  578. "required": true
  579. }
  580. }
  581. ]
  582. }
  583. }
  584. ]
  585. }
  586. },
  587. {
  588. "variable": "config",
  589. "label": "Gitea Configuration Storage",
  590. "description": "The path to store Gitea configuration storage.",
  591. "schema": {
  592. "type": "dict",
  593. "attrs": [
  594. {
  595. "variable": "type",
  596. "label": "Type",
  597. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  598. "schema": {
  599. "type": "string",
  600. "required": true,
  601. "immutable": true,
  602. "default": "ixVolume",
  603. "enum": [
  604. {
  605. "value": "hostPath",
  606. "description": "Host Path (Path that already exists on the system)"
  607. },
  608. {
  609. "value": "ixVolume",
  610. "description": "ixVolume (Dataset created automatically by the system)"
  611. }
  612. ]
  613. }
  614. },
  615. {
  616. "variable": "ixVolumeConfig",
  617. "label": "ixVolume Configuration",
  618. "description": "The configuration for the ixVolume dataset.",
  619. "schema": {
  620. "type": "dict",
  621. "show_if": [
  622. [
  623. "type",
  624. "=",
  625. "ixVolume"
  626. ]
  627. ],
  628. "$ref": [
  629. "normalize/ixVolume"
  630. ],
  631. "attrs": [
  632. {
  633. "variable": "aclEnable",
  634. "label": "Enable ACL",
  635. "description": "Enable ACL for the dataset.",
  636. "schema": {
  637. "type": "boolean",
  638. "default": false
  639. }
  640. },
  641. {
  642. "variable": "datasetName",
  643. "label": "Dataset Name",
  644. "description": "The name of the dataset to use for storage.",
  645. "schema": {
  646. "type": "string",
  647. "required": true,
  648. "immutable": true,
  649. "hidden": true,
  650. "default": "config"
  651. }
  652. },
  653. {
  654. "variable": "aclEntries",
  655. "label": "ACL Configuration",
  656. "schema": {
  657. "type": "dict",
  658. "show_if": [
  659. [
  660. "aclEnable",
  661. "=",
  662. true
  663. ]
  664. ],
  665. "attrs": [
  666. {
  667. "variable": "path",
  668. "label": "Path",
  669. "description": "Path to perform ACL",
  670. "schema": {
  671. "type": "string",
  672. "hidden": true
  673. }
  674. },
  675. {
  676. "variable": "entries",
  677. "label": "ACL Entries",
  678. "description": "ACL Entries",
  679. "schema": {
  680. "type": "list",
  681. "items": [
  682. {
  683. "variable": "aclEntry",
  684. "label": "ACL Entry",
  685. "schema": {
  686. "type": "dict",
  687. "attrs": [
  688. {
  689. "variable": "id_type",
  690. "label": "ID Type",
  691. "schema": {
  692. "type": "string",
  693. "enum": [
  694. {
  695. "value": "USER",
  696. "description": "Entry is for a USER"
  697. },
  698. {
  699. "value": "GROUP",
  700. "description": "Entry is for a GROUP"
  701. }
  702. ],
  703. "default": "USER"
  704. }
  705. },
  706. {
  707. "variable": "id",
  708. "label": "ID",
  709. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  710. "schema": {
  711. "type": "int",
  712. "required": true,
  713. "min": 0
  714. }
  715. },
  716. {
  717. "variable": "access",
  718. "label": "Access",
  719. "schema": {
  720. "type": "string",
  721. "enum": [
  722. {
  723. "value": "READ",
  724. "description": "Read Access"
  725. },
  726. {
  727. "value": "MODIFY",
  728. "description": "Modify Access"
  729. },
  730. {
  731. "value": "FULL_CONTROL",
  732. "description": "FULL_CONTROL Access"
  733. }
  734. ]
  735. }
  736. }
  737. ]
  738. }
  739. }
  740. ]
  741. }
  742. }
  743. ]
  744. }
  745. }
  746. ]
  747. }
  748. },
  749. {
  750. "variable": "hostPathConfig",
  751. "label": "Host Path Configuration",
  752. "schema": {
  753. "type": "dict",
  754. "show_if": [
  755. [
  756. "type",
  757. "=",
  758. "hostPath"
  759. ]
  760. ],
  761. "attrs": [
  762. {
  763. "variable": "aclEnable",
  764. "label": "Enable ACL",
  765. "description": "Enable ACL for the dataset.",
  766. "schema": {
  767. "type": "boolean",
  768. "default": false
  769. }
  770. },
  771. {
  772. "variable": "acl",
  773. "label": "ACL Configuration",
  774. "schema": {
  775. "type": "dict",
  776. "show_if": [
  777. [
  778. "aclEnable",
  779. "=",
  780. true
  781. ]
  782. ],
  783. "attrs": [
  784. {
  785. "variable": "path",
  786. "label": "Host Path",
  787. "description": "Host Path to perform ACL",
  788. "schema": {
  789. "type": "hostpath",
  790. "required": true,
  791. "empty": false
  792. }
  793. },
  794. {
  795. "variable": "entries",
  796. "label": "ACL Entries",
  797. "description": "ACL Entries",
  798. "schema": {
  799. "type": "list",
  800. "items": [
  801. {
  802. "variable": "aclEntry",
  803. "label": "ACL Entry",
  804. "schema": {
  805. "type": "dict",
  806. "attrs": [
  807. {
  808. "variable": "id_type",
  809. "label": "ID Type",
  810. "schema": {
  811. "type": "string",
  812. "enum": [
  813. {
  814. "value": "USER",
  815. "description": "Entry is for a USER"
  816. },
  817. {
  818. "value": "GROUP",
  819. "description": "Entry is for a GROUP"
  820. }
  821. ],
  822. "default": "USER"
  823. }
  824. },
  825. {
  826. "variable": "id",
  827. "label": "ID",
  828. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  829. "schema": {
  830. "type": "int",
  831. "required": true,
  832. "min": 0
  833. }
  834. },
  835. {
  836. "variable": "access",
  837. "label": "Access",
  838. "schema": {
  839. "type": "string",
  840. "enum": [
  841. {
  842. "value": "READ",
  843. "description": "Read Access"
  844. },
  845. {
  846. "value": "MODIFY",
  847. "description": "Modify Access"
  848. },
  849. {
  850. "value": "FULL_CONTROL",
  851. "description": "FULL_CONTROL Access"
  852. }
  853. ]
  854. }
  855. }
  856. ]
  857. }
  858. }
  859. ]
  860. }
  861. },
  862. {
  863. "variable": "options",
  864. "label": "ACL Options",
  865. "schema": {
  866. "type": "dict",
  867. "attrs": [
  868. {
  869. "variable": "force",
  870. "label": "Force Flag",
  871. "description": "Enabling `Force` applies ACL even if the path has existing data",
  872. "schema": {
  873. "type": "boolean",
  874. "default": false
  875. }
  876. }
  877. ]
  878. }
  879. }
  880. ],
  881. "$ref": [
  882. "normalize/acl"
  883. ]
  884. }
  885. },
  886. {
  887. "variable": "hostPath",
  888. "label": "Host Path",
  889. "description": "The host path to use for storage.",
  890. "schema": {
  891. "type": "hostpath",
  892. "show_if": [
  893. [
  894. "aclEnable",
  895. "=",
  896. false
  897. ]
  898. ],
  899. "immutable": true,
  900. "required": true
  901. }
  902. }
  903. ]
  904. }
  905. }
  906. ]
  907. }
  908. },
  909. {
  910. "variable": "pgData",
  911. "label": "Gitea Postgres Data Storage",
  912. "description": "The path to store Gitea Postgres Data.",
  913. "schema": {
  914. "type": "dict",
  915. "attrs": [
  916. {
  917. "variable": "type",
  918. "label": "Type",
  919. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  920. "schema": {
  921. "type": "string",
  922. "required": true,
  923. "immutable": true,
  924. "default": "ixVolume",
  925. "enum": [
  926. {
  927. "value": "hostPath",
  928. "description": "Host Path (Path that already exists on the system)"
  929. },
  930. {
  931. "value": "ixVolume",
  932. "description": "ixVolume (Dataset created automatically by the system)"
  933. }
  934. ]
  935. }
  936. },
  937. {
  938. "variable": "ixVolumeConfig",
  939. "label": "ixVolume Configuration",
  940. "description": "The configuration for the ixVolume dataset.",
  941. "schema": {
  942. "type": "dict",
  943. "hidden": true,
  944. "show_if": [
  945. [
  946. "type",
  947. "=",
  948. "ixVolume"
  949. ]
  950. ],
  951. "$ref": [
  952. "normalize/ixVolume"
  953. ],
  954. "attrs": [
  955. {
  956. "variable": "aclEnable",
  957. "label": "Enable ACL",
  958. "description": "Enable ACL for the dataset.",
  959. "schema": {
  960. "type": "boolean",
  961. "hidden": true,
  962. "default": false
  963. }
  964. },
  965. {
  966. "variable": "datasetName",
  967. "label": "Dataset Name",
  968. "description": "The name of the dataset to use for storage.",
  969. "schema": {
  970. "type": "string",
  971. "required": true,
  972. "immutable": true,
  973. "hidden": true,
  974. "default": "pgData"
  975. }
  976. },
  977. {
  978. "variable": "aclEntries",
  979. "label": "ACL Configuration",
  980. "schema": {
  981. "type": "dict",
  982. "show_if": [
  983. [
  984. "aclEnable",
  985. "=",
  986. true
  987. ]
  988. ],
  989. "attrs": [
  990. {
  991. "variable": "path",
  992. "label": "Path",
  993. "description": "Path to perform ACL",
  994. "schema": {
  995. "type": "string",
  996. "hidden": true
  997. }
  998. },
  999. {
  1000. "variable": "entries",
  1001. "label": "ACL Entries",
  1002. "description": "ACL Entries",
  1003. "schema": {
  1004. "type": "list",
  1005. "items": [
  1006. {
  1007. "variable": "aclEntry",
  1008. "label": "ACL Entry",
  1009. "schema": {
  1010. "type": "dict",
  1011. "attrs": [
  1012. {
  1013. "variable": "id_type",
  1014. "label": "ID Type",
  1015. "schema": {
  1016. "type": "string",
  1017. "enum": [
  1018. {
  1019. "value": "USER",
  1020. "description": "Entry is for a USER"
  1021. },
  1022. {
  1023. "value": "GROUP",
  1024. "description": "Entry is for a GROUP"
  1025. }
  1026. ],
  1027. "default": "USER"
  1028. }
  1029. },
  1030. {
  1031. "variable": "id",
  1032. "label": "ID",
  1033. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1034. "schema": {
  1035. "type": "int",
  1036. "required": true,
  1037. "min": 0
  1038. }
  1039. },
  1040. {
  1041. "variable": "access",
  1042. "label": "Access",
  1043. "schema": {
  1044. "type": "string",
  1045. "enum": [
  1046. {
  1047. "value": "READ",
  1048. "description": "Read Access"
  1049. },
  1050. {
  1051. "value": "MODIFY",
  1052. "description": "Modify Access"
  1053. },
  1054. {
  1055. "value": "FULL_CONTROL",
  1056. "description": "FULL_CONTROL Access"
  1057. }
  1058. ]
  1059. }
  1060. }
  1061. ]
  1062. }
  1063. }
  1064. ]
  1065. }
  1066. }
  1067. ]
  1068. }
  1069. }
  1070. ]
  1071. }
  1072. },
  1073. {
  1074. "variable": "hostPathConfig",
  1075. "label": "Host Path Configuration",
  1076. "schema": {
  1077. "type": "dict",
  1078. "show_if": [
  1079. [
  1080. "type",
  1081. "=",
  1082. "hostPath"
  1083. ]
  1084. ],
  1085. "attrs": [
  1086. {
  1087. "variable": "aclEnable",
  1088. "label": "Enable ACL",
  1089. "description": "Enable ACL for the dataset.",
  1090. "schema": {
  1091. "type": "boolean",
  1092. "hidden": true,
  1093. "default": false
  1094. }
  1095. },
  1096. {
  1097. "variable": "acl",
  1098. "label": "ACL Configuration",
  1099. "schema": {
  1100. "type": "dict",
  1101. "show_if": [
  1102. [
  1103. "aclEnable",
  1104. "=",
  1105. true
  1106. ]
  1107. ],
  1108. "attrs": [
  1109. {
  1110. "variable": "path",
  1111. "label": "Host Path",
  1112. "description": "Host Path to perform ACL",
  1113. "schema": {
  1114. "type": "hostpath",
  1115. "required": true,
  1116. "empty": false
  1117. }
  1118. },
  1119. {
  1120. "variable": "entries",
  1121. "label": "ACL Entries",
  1122. "description": "ACL Entries",
  1123. "schema": {
  1124. "type": "list",
  1125. "items": [
  1126. {
  1127. "variable": "aclEntry",
  1128. "label": "ACL Entry",
  1129. "schema": {
  1130. "type": "dict",
  1131. "attrs": [
  1132. {
  1133. "variable": "id_type",
  1134. "label": "ID Type",
  1135. "schema": {
  1136. "type": "string",
  1137. "enum": [
  1138. {
  1139. "value": "USER",
  1140. "description": "Entry is for a USER"
  1141. },
  1142. {
  1143. "value": "GROUP",
  1144. "description": "Entry is for a GROUP"
  1145. }
  1146. ],
  1147. "default": "USER"
  1148. }
  1149. },
  1150. {
  1151. "variable": "id",
  1152. "label": "ID",
  1153. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1154. "schema": {
  1155. "type": "int",
  1156. "required": true,
  1157. "min": 0
  1158. }
  1159. },
  1160. {
  1161. "variable": "access",
  1162. "label": "Access",
  1163. "schema": {
  1164. "type": "string",
  1165. "enum": [
  1166. {
  1167. "value": "READ",
  1168. "description": "Read Access"
  1169. },
  1170. {
  1171. "value": "MODIFY",
  1172. "description": "Modify Access"
  1173. },
  1174. {
  1175. "value": "FULL_CONTROL",
  1176. "description": "FULL_CONTROL Access"
  1177. }
  1178. ]
  1179. }
  1180. }
  1181. ]
  1182. }
  1183. }
  1184. ]
  1185. }
  1186. },
  1187. {
  1188. "variable": "options",
  1189. "label": "ACL Options",
  1190. "schema": {
  1191. "type": "dict",
  1192. "attrs": [
  1193. {
  1194. "variable": "force",
  1195. "label": "Force Flag",
  1196. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1197. "schema": {
  1198. "type": "boolean",
  1199. "default": false
  1200. }
  1201. }
  1202. ]
  1203. }
  1204. }
  1205. ],
  1206. "$ref": [
  1207. "normalize/acl"
  1208. ]
  1209. }
  1210. },
  1211. {
  1212. "variable": "hostPath",
  1213. "label": "Host Path",
  1214. "description": "The host path to use for storage.",
  1215. "schema": {
  1216. "type": "hostpath",
  1217. "show_if": [
  1218. [
  1219. "aclEnable",
  1220. "=",
  1221. false
  1222. ]
  1223. ],
  1224. "immutable": true,
  1225. "required": true
  1226. }
  1227. }
  1228. ]
  1229. }
  1230. }
  1231. ]
  1232. }
  1233. },
  1234. {
  1235. "variable": "pgBackup",
  1236. "label": "Gitea Postgres Backup Storage",
  1237. "description": "The path to store Gitea Postgres Backup.",
  1238. "schema": {
  1239. "type": "dict",
  1240. "attrs": [
  1241. {
  1242. "variable": "type",
  1243. "label": "Type",
  1244. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  1245. "schema": {
  1246. "type": "string",
  1247. "required": true,
  1248. "immutable": true,
  1249. "default": "ixVolume",
  1250. "enum": [
  1251. {
  1252. "value": "hostPath",
  1253. "description": "Host Path (Path that already exists on the system)"
  1254. },
  1255. {
  1256. "value": "ixVolume",
  1257. "description": "ixVolume (Dataset created automatically by the system)"
  1258. }
  1259. ]
  1260. }
  1261. },
  1262. {
  1263. "variable": "ixVolumeConfig",
  1264. "label": "ixVolume Configuration",
  1265. "description": "The configuration for the ixVolume dataset.",
  1266. "schema": {
  1267. "type": "dict",
  1268. "hidden": true,
  1269. "show_if": [
  1270. [
  1271. "type",
  1272. "=",
  1273. "ixVolume"
  1274. ]
  1275. ],
  1276. "$ref": [
  1277. "normalize/ixVolume"
  1278. ],
  1279. "attrs": [
  1280. {
  1281. "variable": "aclEnable",
  1282. "label": "Enable ACL",
  1283. "description": "Enable ACL for the dataset.",
  1284. "schema": {
  1285. "type": "boolean",
  1286. "hidden": true,
  1287. "default": false
  1288. }
  1289. },
  1290. {
  1291. "variable": "datasetName",
  1292. "label": "Dataset Name",
  1293. "description": "The name of the dataset to use for storage.",
  1294. "schema": {
  1295. "type": "string",
  1296. "required": true,
  1297. "immutable": true,
  1298. "hidden": true,
  1299. "default": "pgBackup"
  1300. }
  1301. },
  1302. {
  1303. "variable": "aclEntries",
  1304. "label": "ACL Configuration",
  1305. "schema": {
  1306. "type": "dict",
  1307. "show_if": [
  1308. [
  1309. "aclEnable",
  1310. "=",
  1311. true
  1312. ]
  1313. ],
  1314. "attrs": [
  1315. {
  1316. "variable": "path",
  1317. "label": "Path",
  1318. "description": "Path to perform ACL",
  1319. "schema": {
  1320. "type": "string",
  1321. "hidden": true
  1322. }
  1323. },
  1324. {
  1325. "variable": "entries",
  1326. "label": "ACL Entries",
  1327. "description": "ACL Entries",
  1328. "schema": {
  1329. "type": "list",
  1330. "items": [
  1331. {
  1332. "variable": "aclEntry",
  1333. "label": "ACL Entry",
  1334. "schema": {
  1335. "type": "dict",
  1336. "attrs": [
  1337. {
  1338. "variable": "id_type",
  1339. "label": "ID Type",
  1340. "schema": {
  1341. "type": "string",
  1342. "enum": [
  1343. {
  1344. "value": "USER",
  1345. "description": "Entry is for a USER"
  1346. },
  1347. {
  1348. "value": "GROUP",
  1349. "description": "Entry is for a GROUP"
  1350. }
  1351. ],
  1352. "default": "USER"
  1353. }
  1354. },
  1355. {
  1356. "variable": "id",
  1357. "label": "ID",
  1358. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1359. "schema": {
  1360. "type": "int",
  1361. "required": true,
  1362. "min": 0
  1363. }
  1364. },
  1365. {
  1366. "variable": "access",
  1367. "label": "Access",
  1368. "schema": {
  1369. "type": "string",
  1370. "enum": [
  1371. {
  1372. "value": "READ",
  1373. "description": "Read Access"
  1374. },
  1375. {
  1376. "value": "MODIFY",
  1377. "description": "Modify Access"
  1378. },
  1379. {
  1380. "value": "FULL_CONTROL",
  1381. "description": "FULL_CONTROL Access"
  1382. }
  1383. ]
  1384. }
  1385. }
  1386. ]
  1387. }
  1388. }
  1389. ]
  1390. }
  1391. }
  1392. ]
  1393. }
  1394. }
  1395. ]
  1396. }
  1397. },
  1398. {
  1399. "variable": "hostPathConfig",
  1400. "label": "Host Path Configuration",
  1401. "schema": {
  1402. "type": "dict",
  1403. "show_if": [
  1404. [
  1405. "type",
  1406. "=",
  1407. "hostPath"
  1408. ]
  1409. ],
  1410. "attrs": [
  1411. {
  1412. "variable": "aclEnable",
  1413. "label": "Enable ACL",
  1414. "description": "Enable ACL for the dataset.",
  1415. "schema": {
  1416. "type": "boolean",
  1417. "hidden": true,
  1418. "default": false
  1419. }
  1420. },
  1421. {
  1422. "variable": "acl",
  1423. "label": "ACL Configuration",
  1424. "schema": {
  1425. "type": "dict",
  1426. "show_if": [
  1427. [
  1428. "aclEnable",
  1429. "=",
  1430. true
  1431. ]
  1432. ],
  1433. "attrs": [
  1434. {
  1435. "variable": "path",
  1436. "label": "Host Path",
  1437. "description": "Host Path to perform ACL",
  1438. "schema": {
  1439. "type": "hostpath",
  1440. "required": true,
  1441. "empty": false
  1442. }
  1443. },
  1444. {
  1445. "variable": "entries",
  1446. "label": "ACL Entries",
  1447. "description": "ACL Entries",
  1448. "schema": {
  1449. "type": "list",
  1450. "items": [
  1451. {
  1452. "variable": "aclEntry",
  1453. "label": "ACL Entry",
  1454. "schema": {
  1455. "type": "dict",
  1456. "attrs": [
  1457. {
  1458. "variable": "id_type",
  1459. "label": "ID Type",
  1460. "schema": {
  1461. "type": "string",
  1462. "enum": [
  1463. {
  1464. "value": "USER",
  1465. "description": "Entry is for a USER"
  1466. },
  1467. {
  1468. "value": "GROUP",
  1469. "description": "Entry is for a GROUP"
  1470. }
  1471. ],
  1472. "default": "USER"
  1473. }
  1474. },
  1475. {
  1476. "variable": "id",
  1477. "label": "ID",
  1478. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1479. "schema": {
  1480. "type": "int",
  1481. "required": true,
  1482. "min": 0
  1483. }
  1484. },
  1485. {
  1486. "variable": "access",
  1487. "label": "Access",
  1488. "schema": {
  1489. "type": "string",
  1490. "enum": [
  1491. {
  1492. "value": "READ",
  1493. "description": "Read Access"
  1494. },
  1495. {
  1496. "value": "MODIFY",
  1497. "description": "Modify Access"
  1498. },
  1499. {
  1500. "value": "FULL_CONTROL",
  1501. "description": "FULL_CONTROL Access"
  1502. }
  1503. ]
  1504. }
  1505. }
  1506. ]
  1507. }
  1508. }
  1509. ]
  1510. }
  1511. },
  1512. {
  1513. "variable": "options",
  1514. "label": "ACL Options",
  1515. "schema": {
  1516. "type": "dict",
  1517. "attrs": [
  1518. {
  1519. "variable": "force",
  1520. "label": "Force Flag",
  1521. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1522. "schema": {
  1523. "type": "boolean",
  1524. "default": false
  1525. }
  1526. }
  1527. ]
  1528. }
  1529. }
  1530. ],
  1531. "$ref": [
  1532. "normalize/acl"
  1533. ]
  1534. }
  1535. },
  1536. {
  1537. "variable": "hostPath",
  1538. "label": "Host Path",
  1539. "description": "The host path to use for storage.",
  1540. "schema": {
  1541. "type": "hostpath",
  1542. "show_if": [
  1543. [
  1544. "aclEnable",
  1545. "=",
  1546. false
  1547. ]
  1548. ],
  1549. "immutable": true,
  1550. "required": true
  1551. }
  1552. }
  1553. ]
  1554. }
  1555. }
  1556. ]
  1557. }
  1558. },
  1559. {
  1560. "variable": "additionalStorages",
  1561. "label": "Additional Storage",
  1562. "description": "Additional storage for Gitea.",
  1563. "schema": {
  1564. "type": "list",
  1565. "default": [],
  1566. "items": [
  1567. {
  1568. "variable": "storageEntry",
  1569. "label": "Storage Entry",
  1570. "schema": {
  1571. "type": "dict",
  1572. "attrs": [
  1573. {
  1574. "variable": "type",
  1575. "label": "Type",
  1576. "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",
  1577. "schema": {
  1578. "type": "string",
  1579. "required": true,
  1580. "default": "ixVolume",
  1581. "immutable": true,
  1582. "enum": [
  1583. {
  1584. "value": "hostPath",
  1585. "description": "Host Path (Path that already exists on the system)"
  1586. },
  1587. {
  1588. "value": "ixVolume",
  1589. "description": "ixVolume (Dataset created automatically by the system)"
  1590. },
  1591. {
  1592. "value": "smb-pv-pvc",
  1593. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1594. }
  1595. ]
  1596. }
  1597. },
  1598. {
  1599. "variable": "readOnly",
  1600. "label": "Read Only",
  1601. "description": "Mount the volume as read only.",
  1602. "schema": {
  1603. "type": "boolean",
  1604. "default": false
  1605. }
  1606. },
  1607. {
  1608. "variable": "mountPath",
  1609. "label": "Mount Path",
  1610. "description": "The path inside the container to mount the storage.",
  1611. "schema": {
  1612. "type": "path",
  1613. "required": true
  1614. }
  1615. },
  1616. {
  1617. "variable": "hostPathConfig",
  1618. "label": "Host Path Configuration",
  1619. "schema": {
  1620. "type": "dict",
  1621. "show_if": [
  1622. [
  1623. "type",
  1624. "=",
  1625. "hostPath"
  1626. ]
  1627. ],
  1628. "attrs": [
  1629. {
  1630. "variable": "aclEnable",
  1631. "label": "Enable ACL",
  1632. "description": "Enable ACL for the dataset.",
  1633. "schema": {
  1634. "type": "boolean",
  1635. "default": false
  1636. }
  1637. },
  1638. {
  1639. "variable": "acl",
  1640. "label": "ACL Configuration",
  1641. "schema": {
  1642. "type": "dict",
  1643. "show_if": [
  1644. [
  1645. "aclEnable",
  1646. "=",
  1647. true
  1648. ]
  1649. ],
  1650. "attrs": [
  1651. {
  1652. "variable": "path",
  1653. "label": "Host Path",
  1654. "description": "Host Path to perform ACL",
  1655. "schema": {
  1656. "type": "hostpath",
  1657. "required": true,
  1658. "empty": false
  1659. }
  1660. },
  1661. {
  1662. "variable": "entries",
  1663. "label": "ACL Entries",
  1664. "description": "ACL Entries",
  1665. "schema": {
  1666. "type": "list",
  1667. "items": [
  1668. {
  1669. "variable": "aclEntry",
  1670. "label": "ACL Entry",
  1671. "schema": {
  1672. "type": "dict",
  1673. "attrs": [
  1674. {
  1675. "variable": "id_type",
  1676. "label": "ID Type",
  1677. "schema": {
  1678. "type": "string",
  1679. "enum": [
  1680. {
  1681. "value": "USER",
  1682. "description": "Entry is for a USER"
  1683. },
  1684. {
  1685. "value": "GROUP",
  1686. "description": "Entry is for a GROUP"
  1687. }
  1688. ],
  1689. "default": "USER"
  1690. }
  1691. },
  1692. {
  1693. "variable": "id",
  1694. "label": "ID",
  1695. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1696. "schema": {
  1697. "type": "int",
  1698. "required": true,
  1699. "min": 0
  1700. }
  1701. },
  1702. {
  1703. "variable": "access",
  1704. "label": "Access",
  1705. "schema": {
  1706. "type": "string",
  1707. "enum": [
  1708. {
  1709. "value": "READ",
  1710. "description": "Read Access"
  1711. },
  1712. {
  1713. "value": "MODIFY",
  1714. "description": "Modify Access"
  1715. },
  1716. {
  1717. "value": "FULL_CONTROL",
  1718. "description": "FULL_CONTROL Access"
  1719. }
  1720. ]
  1721. }
  1722. }
  1723. ]
  1724. }
  1725. }
  1726. ]
  1727. }
  1728. },
  1729. {
  1730. "variable": "options",
  1731. "label": "ACL Options",
  1732. "schema": {
  1733. "type": "dict",
  1734. "attrs": [
  1735. {
  1736. "variable": "force",
  1737. "label": "Force Flag",
  1738. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1739. "schema": {
  1740. "type": "boolean",
  1741. "default": false
  1742. }
  1743. }
  1744. ]
  1745. }
  1746. }
  1747. ],
  1748. "$ref": [
  1749. "normalize/acl"
  1750. ]
  1751. }
  1752. },
  1753. {
  1754. "variable": "hostPath",
  1755. "label": "Host Path",
  1756. "description": "The host path to use for storage.",
  1757. "schema": {
  1758. "type": "hostpath",
  1759. "show_if": [
  1760. [
  1761. "aclEnable",
  1762. "=",
  1763. false
  1764. ]
  1765. ],
  1766. "immutable": true,
  1767. "required": true
  1768. }
  1769. }
  1770. ]
  1771. }
  1772. },
  1773. {
  1774. "variable": "ixVolumeConfig",
  1775. "label": "ixVolume Configuration",
  1776. "description": "The configuration for the ixVolume dataset.",
  1777. "schema": {
  1778. "type": "dict",
  1779. "show_if": [
  1780. [
  1781. "type",
  1782. "=",
  1783. "ixVolume"
  1784. ]
  1785. ],
  1786. "$ref": [
  1787. "normalize/ixVolume"
  1788. ],
  1789. "attrs": [
  1790. {
  1791. "variable": "aclEnable",
  1792. "label": "Enable ACL",
  1793. "description": "Enable ACL for the dataset.",
  1794. "schema": {
  1795. "type": "boolean",
  1796. "default": false
  1797. }
  1798. },
  1799. {
  1800. "variable": "datasetName",
  1801. "label": "Dataset Name",
  1802. "description": "The name of the dataset to use for storage.",
  1803. "schema": {
  1804. "type": "string",
  1805. "required": true,
  1806. "immutable": true,
  1807. "default": "storage_entry"
  1808. }
  1809. },
  1810. {
  1811. "variable": "aclEntries",
  1812. "label": "ACL Configuration",
  1813. "schema": {
  1814. "type": "dict",
  1815. "show_if": [
  1816. [
  1817. "aclEnable",
  1818. "=",
  1819. true
  1820. ]
  1821. ],
  1822. "attrs": [
  1823. {
  1824. "variable": "path",
  1825. "label": "Path",
  1826. "description": "Path to perform ACL",
  1827. "schema": {
  1828. "type": "string",
  1829. "hidden": true
  1830. }
  1831. },
  1832. {
  1833. "variable": "entries",
  1834. "label": "ACL Entries",
  1835. "description": "ACL Entries",
  1836. "schema": {
  1837. "type": "list",
  1838. "items": [
  1839. {
  1840. "variable": "aclEntry",
  1841. "label": "ACL Entry",
  1842. "schema": {
  1843. "type": "dict",
  1844. "attrs": [
  1845. {
  1846. "variable": "id_type",
  1847. "label": "ID Type",
  1848. "schema": {
  1849. "type": "string",
  1850. "enum": [
  1851. {
  1852. "value": "USER",
  1853. "description": "Entry is for a USER"
  1854. },
  1855. {
  1856. "value": "GROUP",
  1857. "description": "Entry is for a GROUP"
  1858. }
  1859. ],
  1860. "default": "USER"
  1861. }
  1862. },
  1863. {
  1864. "variable": "id",
  1865. "label": "ID",
  1866. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1867. "schema": {
  1868. "type": "int",
  1869. "required": true,
  1870. "min": 0
  1871. }
  1872. },
  1873. {
  1874. "variable": "access",
  1875. "label": "Access",
  1876. "schema": {
  1877. "type": "string",
  1878. "enum": [
  1879. {
  1880. "value": "READ",
  1881. "description": "Read Access"
  1882. },
  1883. {
  1884. "value": "MODIFY",
  1885. "description": "Modify Access"
  1886. },
  1887. {
  1888. "value": "FULL_CONTROL",
  1889. "description": "FULL_CONTROL Access"
  1890. }
  1891. ]
  1892. }
  1893. }
  1894. ]
  1895. }
  1896. }
  1897. ]
  1898. }
  1899. }
  1900. ]
  1901. }
  1902. }
  1903. ]
  1904. }
  1905. },
  1906. {
  1907. "variable": "smbConfig",
  1908. "label": "SMB Share Configuration",
  1909. "description": "The configuration for the SMB Share.",
  1910. "schema": {
  1911. "type": "dict",
  1912. "show_if": [
  1913. [
  1914. "type",
  1915. "=",
  1916. "smb-pv-pvc"
  1917. ]
  1918. ],
  1919. "attrs": [
  1920. {
  1921. "variable": "server",
  1922. "label": "Server",
  1923. "description": "The server for the SMB share.",
  1924. "schema": {
  1925. "type": "string",
  1926. "required": true
  1927. }
  1928. },
  1929. {
  1930. "variable": "share",
  1931. "label": "Share",
  1932. "description": "The share name for the SMB share.",
  1933. "schema": {
  1934. "type": "string",
  1935. "required": true
  1936. }
  1937. },
  1938. {
  1939. "variable": "domain",
  1940. "label": "Domain (Optional)",
  1941. "description": "The domain for the SMB share.",
  1942. "schema": {
  1943. "type": "string"
  1944. }
  1945. },
  1946. {
  1947. "variable": "username",
  1948. "label": "Username",
  1949. "description": "The username for the SMB share.",
  1950. "schema": {
  1951. "type": "string",
  1952. "required": true
  1953. }
  1954. },
  1955. {
  1956. "variable": "password",
  1957. "label": "Password",
  1958. "description": "The password for the SMB share.",
  1959. "schema": {
  1960. "type": "string",
  1961. "required": true,
  1962. "private": true
  1963. }
  1964. },
  1965. {
  1966. "variable": "size",
  1967. "label": "Size (in Gi)",
  1968. "description": "The size of the volume quota.",
  1969. "schema": {
  1970. "type": "int",
  1971. "required": true,
  1972. "min": 1,
  1973. "default": 1
  1974. }
  1975. }
  1976. ]
  1977. }
  1978. }
  1979. ]
  1980. }
  1981. }
  1982. ]
  1983. }
  1984. }
  1985. ]
  1986. }
  1987. },
  1988. {
  1989. "variable": "resources",
  1990. "label": "",
  1991. "group": "Resources Configuration",
  1992. "schema": {
  1993. "type": "dict",
  1994. "attrs": [
  1995. {
  1996. "variable": "limits",
  1997. "label": "Limits",
  1998. "schema": {
  1999. "type": "dict",
  2000. "attrs": [
  2001. {
  2002. "variable": "cpu",
  2003. "label": "CPU",
  2004. "description": "CPU limit for Gitea.",
  2005. "schema": {
  2006. "type": "string",
  2007. "max_length": 6,
  2008. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  2009. "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",
  2010. "default": "4000m",
  2011. "required": true
  2012. }
  2013. },
  2014. {
  2015. "variable": "memory",
  2016. "label": "Memory",
  2017. "description": "Memory limit for Gitea.",
  2018. "schema": {
  2019. "type": "string",
  2020. "max_length": 12,
  2021. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  2022. "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",
  2023. "default": "8Gi",
  2024. "required": true
  2025. }
  2026. }
  2027. ]
  2028. }
  2029. }
  2030. ]
  2031. }
  2032. }
  2033. ]
  2034. },
  2035. "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>",
  2036. "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>",
  2037. "changelog": null
  2038. }
  2039. }