app_versions.json 162 KB

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