app_versions.json 319 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991
  1. {
  2. "2.0.8": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/odoo/2.0.8",
  7. "last_update": "2025-03-06 08:26:26",
  8. "required_features": [
  9. "normalize/ixVolume",
  10. "normalize/acl"
  11. ],
  12. "human_version": "17.0_2.0.8",
  13. "version": "2.0.8",
  14. "chart_metadata": {
  15. "name": "odoo",
  16. "description": "Odoo is a suite of web based open source business apps.",
  17. "annotations": {
  18. "title": "Odoo"
  19. },
  20. "type": "application",
  21. "version": "2.0.8",
  22. "apiVersion": "v2",
  23. "appVersion": "17.0",
  24. "kubeVersion": ">=1.16.0-0",
  25. "maintainers": [
  26. {
  27. "name": "truenas",
  28. "url": "https://www.truenas.com/",
  29. "email": "dev@ixsystems.com"
  30. }
  31. ],
  32. "dependencies": [
  33. {
  34. "name": "common",
  35. "repository": "file://../../../common",
  36. "version": "1.2.9"
  37. }
  38. ],
  39. "home": "https://www.odoo.com/",
  40. "icon": "https://media.sys.truenas.net/apps/odoo/icons/icon.png",
  41. "sources": [
  42. "https://hub.docker.com/_/odoo",
  43. "https://github.com/truenas/charts/tree/master/community/odoo",
  44. "https://github.com/odoo/odoo"
  45. ],
  46. "keywords": [
  47. "erp",
  48. "odoo"
  49. ]
  50. },
  51. "app_metadata": {
  52. "runAsContext": [
  53. {
  54. "userName": "odoo",
  55. "groupName": "odoo",
  56. "gid": 101,
  57. "uid": 101,
  58. "description": "Odoo runs as a non-root user"
  59. },
  60. {
  61. "userName": "postgres",
  62. "groupName": "postgres",
  63. "gid": 999,
  64. "uid": 999,
  65. "description": "Postgres runs as a non-root user."
  66. }
  67. ],
  68. "capabilities": [],
  69. "hostMounts": []
  70. },
  71. "schema": {
  72. "groups": [
  73. {
  74. "name": "Odoo Configuration",
  75. "description": "Configure Odoo"
  76. },
  77. {
  78. "name": "Network Configuration",
  79. "description": "Configure Network for Odoo"
  80. },
  81. {
  82. "name": "Storage Configuration",
  83. "description": "Configure Storage for Odoo"
  84. },
  85. {
  86. "name": "Resources Configuration",
  87. "description": "Configure Resources for Odoo"
  88. }
  89. ],
  90. "portals": {
  91. "web_portal": {
  92. "protocols": [
  93. "$kubernetes-resource_configmap_portal_protocol"
  94. ],
  95. "host": [
  96. "$kubernetes-resource_configmap_portal_host"
  97. ],
  98. "ports": [
  99. "$kubernetes-resource_configmap_portal_port"
  100. ],
  101. "path": "$kubernetes-resource_configmap_portal_path"
  102. }
  103. },
  104. "questions": [
  105. {
  106. "variable": "odooConfig",
  107. "label": "",
  108. "group": "Odoo Configuration",
  109. "schema": {
  110. "type": "dict",
  111. "attrs": [
  112. {
  113. "variable": "additionalConf",
  114. "label": "Additional File Configuration Options",
  115. "description": "Configure additional file configuration options for Odoo.</br>\nOptions are appended to the end of the configuration file.</br>\nAfter the predefined configuration options.</br>\n",
  116. "schema": {
  117. "type": "list",
  118. "default": [],
  119. "items": [
  120. {
  121. "variable": "conf",
  122. "label": "Configuration Option",
  123. "schema": {
  124. "type": "dict",
  125. "attrs": [
  126. {
  127. "variable": "key",
  128. "label": "Key",
  129. "schema": {
  130. "type": "string",
  131. "required": true
  132. }
  133. },
  134. {
  135. "variable": "value",
  136. "label": "Value",
  137. "schema": {
  138. "type": "string",
  139. "required": true
  140. }
  141. }
  142. ]
  143. }
  144. }
  145. ]
  146. }
  147. },
  148. {
  149. "variable": "additionalEnvs",
  150. "label": "Additional Environment Variables",
  151. "description": "Configure additional environment variables for Odoo.",
  152. "schema": {
  153. "type": "list",
  154. "default": [],
  155. "items": [
  156. {
  157. "variable": "env",
  158. "label": "Environment Variable",
  159. "schema": {
  160. "type": "dict",
  161. "attrs": [
  162. {
  163. "variable": "name",
  164. "label": "Name",
  165. "schema": {
  166. "type": "string",
  167. "required": true
  168. }
  169. },
  170. {
  171. "variable": "value",
  172. "label": "Value",
  173. "schema": {
  174. "type": "string",
  175. "required": true
  176. }
  177. }
  178. ]
  179. }
  180. }
  181. ]
  182. }
  183. }
  184. ]
  185. }
  186. },
  187. {
  188. "variable": "odooNetwork",
  189. "label": "",
  190. "group": "Network Configuration",
  191. "schema": {
  192. "type": "dict",
  193. "attrs": [
  194. {
  195. "variable": "webPort",
  196. "label": "Web Port",
  197. "description": "The port for the Odoo WebUI.",
  198. "schema": {
  199. "type": "int",
  200. "default": 30062,
  201. "min": 9000,
  202. "max": 65535,
  203. "required": true
  204. }
  205. },
  206. {
  207. "variable": "hostNetwork",
  208. "label": "Host Network",
  209. "description": "Bind to the host network. It's recommended to keep this disabled.\n",
  210. "schema": {
  211. "type": "boolean",
  212. "default": false
  213. }
  214. }
  215. ]
  216. }
  217. },
  218. {
  219. "variable": "odooStorage",
  220. "label": "",
  221. "group": "Storage Configuration",
  222. "schema": {
  223. "type": "dict",
  224. "attrs": [
  225. {
  226. "variable": "data",
  227. "label": "Odoo Data Storage",
  228. "description": "The path to store Odoo data.",
  229. "schema": {
  230. "type": "dict",
  231. "attrs": [
  232. {
  233. "variable": "type",
  234. "label": "Type",
  235. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  236. "schema": {
  237. "type": "string",
  238. "required": true,
  239. "immutable": true,
  240. "default": "ixVolume",
  241. "enum": [
  242. {
  243. "value": "hostPath",
  244. "description": "Host Path (Path that already exists on the system)"
  245. },
  246. {
  247. "value": "ixVolume",
  248. "description": "ixVolume (Dataset created automatically by the system)"
  249. }
  250. ]
  251. }
  252. },
  253. {
  254. "variable": "ixVolumeConfig",
  255. "label": "ixVolume Configuration",
  256. "description": "The configuration for the ixVolume dataset.",
  257. "schema": {
  258. "type": "dict",
  259. "show_if": [
  260. [
  261. "type",
  262. "=",
  263. "ixVolume"
  264. ]
  265. ],
  266. "$ref": [
  267. "normalize/ixVolume"
  268. ],
  269. "attrs": [
  270. {
  271. "variable": "aclEnable",
  272. "label": "Enable ACL",
  273. "description": "Enable ACL for the dataset.",
  274. "schema": {
  275. "type": "boolean",
  276. "default": false
  277. }
  278. },
  279. {
  280. "variable": "datasetName",
  281. "label": "Dataset Name",
  282. "description": "The name of the dataset to use for storage.",
  283. "schema": {
  284. "type": "string",
  285. "required": true,
  286. "immutable": true,
  287. "hidden": true,
  288. "default": "data"
  289. }
  290. },
  291. {
  292. "variable": "aclEntries",
  293. "label": "ACL Configuration",
  294. "schema": {
  295. "type": "dict",
  296. "show_if": [
  297. [
  298. "aclEnable",
  299. "=",
  300. true
  301. ]
  302. ],
  303. "attrs": [
  304. {
  305. "variable": "path",
  306. "label": "Path",
  307. "description": "Path to perform ACL",
  308. "schema": {
  309. "type": "string",
  310. "hidden": true
  311. }
  312. },
  313. {
  314. "variable": "entries",
  315. "label": "ACL Entries",
  316. "description": "ACL Entries",
  317. "schema": {
  318. "type": "list",
  319. "items": [
  320. {
  321. "variable": "aclEntry",
  322. "label": "ACL Entry",
  323. "schema": {
  324. "type": "dict",
  325. "attrs": [
  326. {
  327. "variable": "id_type",
  328. "label": "ID Type",
  329. "schema": {
  330. "type": "string",
  331. "enum": [
  332. {
  333. "value": "USER",
  334. "description": "Entry is for a USER"
  335. },
  336. {
  337. "value": "GROUP",
  338. "description": "Entry is for a GROUP"
  339. }
  340. ],
  341. "default": "USER"
  342. }
  343. },
  344. {
  345. "variable": "id",
  346. "label": "ID",
  347. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  348. "schema": {
  349. "type": "int",
  350. "required": true,
  351. "min": 0
  352. }
  353. },
  354. {
  355. "variable": "access",
  356. "label": "Access",
  357. "schema": {
  358. "type": "string",
  359. "enum": [
  360. {
  361. "value": "READ",
  362. "description": "Read Access"
  363. },
  364. {
  365. "value": "MODIFY",
  366. "description": "Modify Access"
  367. },
  368. {
  369. "value": "FULL_CONTROL",
  370. "description": "FULL_CONTROL Access"
  371. }
  372. ]
  373. }
  374. }
  375. ]
  376. }
  377. }
  378. ]
  379. }
  380. }
  381. ]
  382. }
  383. }
  384. ]
  385. }
  386. },
  387. {
  388. "variable": "hostPathConfig",
  389. "label": "Host Path Configuration",
  390. "schema": {
  391. "type": "dict",
  392. "show_if": [
  393. [
  394. "type",
  395. "=",
  396. "hostPath"
  397. ]
  398. ],
  399. "attrs": [
  400. {
  401. "variable": "aclEnable",
  402. "label": "Enable ACL",
  403. "description": "Enable ACL for the dataset.",
  404. "schema": {
  405. "type": "boolean",
  406. "default": false
  407. }
  408. },
  409. {
  410. "variable": "acl",
  411. "label": "ACL Configuration",
  412. "schema": {
  413. "type": "dict",
  414. "show_if": [
  415. [
  416. "aclEnable",
  417. "=",
  418. true
  419. ]
  420. ],
  421. "attrs": [
  422. {
  423. "variable": "path",
  424. "label": "Host Path",
  425. "description": "Host Path to perform ACL",
  426. "schema": {
  427. "type": "hostpath",
  428. "required": true,
  429. "empty": false
  430. }
  431. },
  432. {
  433. "variable": "entries",
  434. "label": "ACL Entries",
  435. "description": "ACL Entries",
  436. "schema": {
  437. "type": "list",
  438. "items": [
  439. {
  440. "variable": "aclEntry",
  441. "label": "ACL Entry",
  442. "schema": {
  443. "type": "dict",
  444. "attrs": [
  445. {
  446. "variable": "id_type",
  447. "label": "ID Type",
  448. "schema": {
  449. "type": "string",
  450. "enum": [
  451. {
  452. "value": "USER",
  453. "description": "Entry is for a USER"
  454. },
  455. {
  456. "value": "GROUP",
  457. "description": "Entry is for a GROUP"
  458. }
  459. ],
  460. "default": "USER"
  461. }
  462. },
  463. {
  464. "variable": "id",
  465. "label": "ID",
  466. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  467. "schema": {
  468. "type": "int",
  469. "required": true,
  470. "min": 0
  471. }
  472. },
  473. {
  474. "variable": "access",
  475. "label": "Access",
  476. "schema": {
  477. "type": "string",
  478. "enum": [
  479. {
  480. "value": "READ",
  481. "description": "Read Access"
  482. },
  483. {
  484. "value": "MODIFY",
  485. "description": "Modify Access"
  486. },
  487. {
  488. "value": "FULL_CONTROL",
  489. "description": "FULL_CONTROL Access"
  490. }
  491. ]
  492. }
  493. }
  494. ]
  495. }
  496. }
  497. ]
  498. }
  499. },
  500. {
  501. "variable": "options",
  502. "label": "ACL Options",
  503. "schema": {
  504. "type": "dict",
  505. "attrs": [
  506. {
  507. "variable": "force",
  508. "label": "Force Flag",
  509. "description": "Enabling `Force` applies ACL even if the path has existing data",
  510. "schema": {
  511. "type": "boolean",
  512. "default": false
  513. }
  514. }
  515. ]
  516. }
  517. }
  518. ],
  519. "$ref": [
  520. "normalize/acl"
  521. ]
  522. }
  523. },
  524. {
  525. "variable": "hostPath",
  526. "label": "Host Path",
  527. "description": "The host path to use for storage.",
  528. "schema": {
  529. "type": "hostpath",
  530. "show_if": [
  531. [
  532. "aclEnable",
  533. "=",
  534. false
  535. ]
  536. ],
  537. "required": true
  538. }
  539. }
  540. ]
  541. }
  542. }
  543. ]
  544. }
  545. },
  546. {
  547. "variable": "addons",
  548. "label": "Odoo Addons Storage",
  549. "description": "The path to store Odoo addons storage.",
  550. "schema": {
  551. "type": "dict",
  552. "attrs": [
  553. {
  554. "variable": "type",
  555. "label": "Type",
  556. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  557. "schema": {
  558. "type": "string",
  559. "required": true,
  560. "immutable": true,
  561. "default": "ixVolume",
  562. "enum": [
  563. {
  564. "value": "hostPath",
  565. "description": "Host Path (Path that already exists on the system)"
  566. },
  567. {
  568. "value": "ixVolume",
  569. "description": "ixVolume (Dataset created automatically by the system)"
  570. }
  571. ]
  572. }
  573. },
  574. {
  575. "variable": "ixVolumeConfig",
  576. "label": "ixVolume Configuration",
  577. "description": "The configuration for the ixVolume dataset.",
  578. "schema": {
  579. "type": "dict",
  580. "show_if": [
  581. [
  582. "type",
  583. "=",
  584. "ixVolume"
  585. ]
  586. ],
  587. "$ref": [
  588. "normalize/ixVolume"
  589. ],
  590. "attrs": [
  591. {
  592. "variable": "aclEnable",
  593. "label": "Enable ACL",
  594. "description": "Enable ACL for the dataset.",
  595. "schema": {
  596. "type": "boolean",
  597. "default": false
  598. }
  599. },
  600. {
  601. "variable": "datasetName",
  602. "label": "Dataset Name",
  603. "description": "The name of the dataset to use for storage.",
  604. "schema": {
  605. "type": "string",
  606. "required": true,
  607. "immutable": true,
  608. "hidden": true,
  609. "default": "addons"
  610. }
  611. },
  612. {
  613. "variable": "aclEntries",
  614. "label": "ACL Configuration",
  615. "schema": {
  616. "type": "dict",
  617. "show_if": [
  618. [
  619. "aclEnable",
  620. "=",
  621. true
  622. ]
  623. ],
  624. "attrs": [
  625. {
  626. "variable": "path",
  627. "label": "Path",
  628. "description": "Path to perform ACL",
  629. "schema": {
  630. "type": "string",
  631. "hidden": true
  632. }
  633. },
  634. {
  635. "variable": "entries",
  636. "label": "ACL Entries",
  637. "description": "ACL Entries",
  638. "schema": {
  639. "type": "list",
  640. "items": [
  641. {
  642. "variable": "aclEntry",
  643. "label": "ACL Entry",
  644. "schema": {
  645. "type": "dict",
  646. "attrs": [
  647. {
  648. "variable": "id_type",
  649. "label": "ID Type",
  650. "schema": {
  651. "type": "string",
  652. "enum": [
  653. {
  654. "value": "USER",
  655. "description": "Entry is for a USER"
  656. },
  657. {
  658. "value": "GROUP",
  659. "description": "Entry is for a GROUP"
  660. }
  661. ],
  662. "default": "USER"
  663. }
  664. },
  665. {
  666. "variable": "id",
  667. "label": "ID",
  668. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  669. "schema": {
  670. "type": "int",
  671. "required": true,
  672. "min": 0
  673. }
  674. },
  675. {
  676. "variable": "access",
  677. "label": "Access",
  678. "schema": {
  679. "type": "string",
  680. "enum": [
  681. {
  682. "value": "READ",
  683. "description": "Read Access"
  684. },
  685. {
  686. "value": "MODIFY",
  687. "description": "Modify Access"
  688. },
  689. {
  690. "value": "FULL_CONTROL",
  691. "description": "FULL_CONTROL Access"
  692. }
  693. ]
  694. }
  695. }
  696. ]
  697. }
  698. }
  699. ]
  700. }
  701. }
  702. ]
  703. }
  704. }
  705. ]
  706. }
  707. },
  708. {
  709. "variable": "hostPathConfig",
  710. "label": "Host Path Configuration",
  711. "schema": {
  712. "type": "dict",
  713. "show_if": [
  714. [
  715. "type",
  716. "=",
  717. "hostPath"
  718. ]
  719. ],
  720. "attrs": [
  721. {
  722. "variable": "aclEnable",
  723. "label": "Enable ACL",
  724. "description": "Enable ACL for the dataset.",
  725. "schema": {
  726. "type": "boolean",
  727. "default": false
  728. }
  729. },
  730. {
  731. "variable": "acl",
  732. "label": "ACL Configuration",
  733. "schema": {
  734. "type": "dict",
  735. "show_if": [
  736. [
  737. "aclEnable",
  738. "=",
  739. true
  740. ]
  741. ],
  742. "attrs": [
  743. {
  744. "variable": "path",
  745. "label": "Host Path",
  746. "description": "Host Path to perform ACL",
  747. "schema": {
  748. "type": "hostpath",
  749. "required": true,
  750. "empty": false
  751. }
  752. },
  753. {
  754. "variable": "entries",
  755. "label": "ACL Entries",
  756. "description": "ACL Entries",
  757. "schema": {
  758. "type": "list",
  759. "items": [
  760. {
  761. "variable": "aclEntry",
  762. "label": "ACL Entry",
  763. "schema": {
  764. "type": "dict",
  765. "attrs": [
  766. {
  767. "variable": "id_type",
  768. "label": "ID Type",
  769. "schema": {
  770. "type": "string",
  771. "enum": [
  772. {
  773. "value": "USER",
  774. "description": "Entry is for a USER"
  775. },
  776. {
  777. "value": "GROUP",
  778. "description": "Entry is for a GROUP"
  779. }
  780. ],
  781. "default": "USER"
  782. }
  783. },
  784. {
  785. "variable": "id",
  786. "label": "ID",
  787. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  788. "schema": {
  789. "type": "int",
  790. "required": true,
  791. "min": 0
  792. }
  793. },
  794. {
  795. "variable": "access",
  796. "label": "Access",
  797. "schema": {
  798. "type": "string",
  799. "enum": [
  800. {
  801. "value": "READ",
  802. "description": "Read Access"
  803. },
  804. {
  805. "value": "MODIFY",
  806. "description": "Modify Access"
  807. },
  808. {
  809. "value": "FULL_CONTROL",
  810. "description": "FULL_CONTROL Access"
  811. }
  812. ]
  813. }
  814. }
  815. ]
  816. }
  817. }
  818. ]
  819. }
  820. },
  821. {
  822. "variable": "options",
  823. "label": "ACL Options",
  824. "schema": {
  825. "type": "dict",
  826. "attrs": [
  827. {
  828. "variable": "force",
  829. "label": "Force Flag",
  830. "description": "Enabling `Force` applies ACL even if the path has existing data",
  831. "schema": {
  832. "type": "boolean",
  833. "default": false
  834. }
  835. }
  836. ]
  837. }
  838. }
  839. ],
  840. "$ref": [
  841. "normalize/acl"
  842. ]
  843. }
  844. },
  845. {
  846. "variable": "hostPath",
  847. "label": "Host Path",
  848. "description": "The host path to use for storage.",
  849. "schema": {
  850. "type": "hostpath",
  851. "show_if": [
  852. [
  853. "aclEnable",
  854. "=",
  855. false
  856. ]
  857. ],
  858. "required": true
  859. }
  860. }
  861. ]
  862. }
  863. }
  864. ]
  865. }
  866. },
  867. {
  868. "variable": "pgData",
  869. "label": "Odoo Postgres Data Storage",
  870. "description": "The path to store Odoo Postgres Data.",
  871. "schema": {
  872. "type": "dict",
  873. "attrs": [
  874. {
  875. "variable": "type",
  876. "label": "Type",
  877. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  878. "schema": {
  879. "type": "string",
  880. "required": true,
  881. "immutable": true,
  882. "default": "ixVolume",
  883. "enum": [
  884. {
  885. "value": "hostPath",
  886. "description": "Host Path (Path that already exists on the system)"
  887. },
  888. {
  889. "value": "ixVolume",
  890. "description": "ixVolume (Dataset created automatically by the system)"
  891. }
  892. ]
  893. }
  894. },
  895. {
  896. "variable": "ixVolumeConfig",
  897. "label": "ixVolume Configuration",
  898. "description": "The configuration for the ixVolume dataset.",
  899. "schema": {
  900. "type": "dict",
  901. "hidden": true,
  902. "show_if": [
  903. [
  904. "type",
  905. "=",
  906. "ixVolume"
  907. ]
  908. ],
  909. "$ref": [
  910. "normalize/ixVolume"
  911. ],
  912. "attrs": [
  913. {
  914. "variable": "aclEnable",
  915. "label": "Enable ACL",
  916. "description": "Enable ACL for the dataset.",
  917. "schema": {
  918. "type": "boolean",
  919. "hidden": true,
  920. "default": false
  921. }
  922. },
  923. {
  924. "variable": "datasetName",
  925. "label": "Dataset Name",
  926. "description": "The name of the dataset to use for storage.",
  927. "schema": {
  928. "type": "string",
  929. "required": true,
  930. "immutable": true,
  931. "hidden": true,
  932. "default": "pgData"
  933. }
  934. },
  935. {
  936. "variable": "aclEntries",
  937. "label": "ACL Configuration",
  938. "schema": {
  939. "type": "dict",
  940. "show_if": [
  941. [
  942. "aclEnable",
  943. "=",
  944. true
  945. ]
  946. ],
  947. "attrs": [
  948. {
  949. "variable": "path",
  950. "label": "Path",
  951. "description": "Path to perform ACL",
  952. "schema": {
  953. "type": "string",
  954. "hidden": true
  955. }
  956. },
  957. {
  958. "variable": "entries",
  959. "label": "ACL Entries",
  960. "description": "ACL Entries",
  961. "schema": {
  962. "type": "list",
  963. "items": [
  964. {
  965. "variable": "aclEntry",
  966. "label": "ACL Entry",
  967. "schema": {
  968. "type": "dict",
  969. "attrs": [
  970. {
  971. "variable": "id_type",
  972. "label": "ID Type",
  973. "schema": {
  974. "type": "string",
  975. "enum": [
  976. {
  977. "value": "USER",
  978. "description": "Entry is for a USER"
  979. },
  980. {
  981. "value": "GROUP",
  982. "description": "Entry is for a GROUP"
  983. }
  984. ],
  985. "default": "USER"
  986. }
  987. },
  988. {
  989. "variable": "id",
  990. "label": "ID",
  991. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  992. "schema": {
  993. "type": "int",
  994. "required": true,
  995. "min": 0
  996. }
  997. },
  998. {
  999. "variable": "access",
  1000. "label": "Access",
  1001. "schema": {
  1002. "type": "string",
  1003. "enum": [
  1004. {
  1005. "value": "READ",
  1006. "description": "Read Access"
  1007. },
  1008. {
  1009. "value": "MODIFY",
  1010. "description": "Modify Access"
  1011. },
  1012. {
  1013. "value": "FULL_CONTROL",
  1014. "description": "FULL_CONTROL Access"
  1015. }
  1016. ]
  1017. }
  1018. }
  1019. ]
  1020. }
  1021. }
  1022. ]
  1023. }
  1024. }
  1025. ]
  1026. }
  1027. }
  1028. ]
  1029. }
  1030. },
  1031. {
  1032. "variable": "hostPathConfig",
  1033. "label": "Host Path Configuration",
  1034. "schema": {
  1035. "type": "dict",
  1036. "show_if": [
  1037. [
  1038. "type",
  1039. "=",
  1040. "hostPath"
  1041. ]
  1042. ],
  1043. "attrs": [
  1044. {
  1045. "variable": "aclEnable",
  1046. "label": "Enable ACL",
  1047. "description": "Enable ACL for the dataset.",
  1048. "schema": {
  1049. "type": "boolean",
  1050. "hidden": true,
  1051. "default": false
  1052. }
  1053. },
  1054. {
  1055. "variable": "acl",
  1056. "label": "ACL Configuration",
  1057. "schema": {
  1058. "type": "dict",
  1059. "show_if": [
  1060. [
  1061. "aclEnable",
  1062. "=",
  1063. true
  1064. ]
  1065. ],
  1066. "attrs": [
  1067. {
  1068. "variable": "path",
  1069. "label": "Host Path",
  1070. "description": "Host Path to perform ACL",
  1071. "schema": {
  1072. "type": "hostpath",
  1073. "required": true,
  1074. "empty": false
  1075. }
  1076. },
  1077. {
  1078. "variable": "entries",
  1079. "label": "ACL Entries",
  1080. "description": "ACL Entries",
  1081. "schema": {
  1082. "type": "list",
  1083. "items": [
  1084. {
  1085. "variable": "aclEntry",
  1086. "label": "ACL Entry",
  1087. "schema": {
  1088. "type": "dict",
  1089. "attrs": [
  1090. {
  1091. "variable": "id_type",
  1092. "label": "ID Type",
  1093. "schema": {
  1094. "type": "string",
  1095. "enum": [
  1096. {
  1097. "value": "USER",
  1098. "description": "Entry is for a USER"
  1099. },
  1100. {
  1101. "value": "GROUP",
  1102. "description": "Entry is for a GROUP"
  1103. }
  1104. ],
  1105. "default": "USER"
  1106. }
  1107. },
  1108. {
  1109. "variable": "id",
  1110. "label": "ID",
  1111. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1112. "schema": {
  1113. "type": "int",
  1114. "required": true,
  1115. "min": 0
  1116. }
  1117. },
  1118. {
  1119. "variable": "access",
  1120. "label": "Access",
  1121. "schema": {
  1122. "type": "string",
  1123. "enum": [
  1124. {
  1125. "value": "READ",
  1126. "description": "Read Access"
  1127. },
  1128. {
  1129. "value": "MODIFY",
  1130. "description": "Modify Access"
  1131. },
  1132. {
  1133. "value": "FULL_CONTROL",
  1134. "description": "FULL_CONTROL Access"
  1135. }
  1136. ]
  1137. }
  1138. }
  1139. ]
  1140. }
  1141. }
  1142. ]
  1143. }
  1144. },
  1145. {
  1146. "variable": "options",
  1147. "label": "ACL Options",
  1148. "schema": {
  1149. "type": "dict",
  1150. "attrs": [
  1151. {
  1152. "variable": "force",
  1153. "label": "Force Flag",
  1154. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1155. "schema": {
  1156. "type": "boolean",
  1157. "default": false
  1158. }
  1159. }
  1160. ]
  1161. }
  1162. }
  1163. ],
  1164. "$ref": [
  1165. "normalize/acl"
  1166. ]
  1167. }
  1168. },
  1169. {
  1170. "variable": "hostPath",
  1171. "label": "Host Path",
  1172. "description": "The host path to use for storage.",
  1173. "schema": {
  1174. "type": "hostpath",
  1175. "show_if": [
  1176. [
  1177. "aclEnable",
  1178. "=",
  1179. false
  1180. ]
  1181. ],
  1182. "required": true
  1183. }
  1184. }
  1185. ]
  1186. }
  1187. }
  1188. ]
  1189. }
  1190. },
  1191. {
  1192. "variable": "pgBackup",
  1193. "label": "Odoo Postgres Backup Storage",
  1194. "description": "The path to store Odoo Postgres Backup.",
  1195. "schema": {
  1196. "type": "dict",
  1197. "attrs": [
  1198. {
  1199. "variable": "type",
  1200. "label": "Type",
  1201. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  1202. "schema": {
  1203. "type": "string",
  1204. "required": true,
  1205. "immutable": true,
  1206. "default": "ixVolume",
  1207. "enum": [
  1208. {
  1209. "value": "hostPath",
  1210. "description": "Host Path (Path that already exists on the system)"
  1211. },
  1212. {
  1213. "value": "ixVolume",
  1214. "description": "ixVolume (Dataset created automatically by the system)"
  1215. }
  1216. ]
  1217. }
  1218. },
  1219. {
  1220. "variable": "ixVolumeConfig",
  1221. "label": "ixVolume Configuration",
  1222. "description": "The configuration for the ixVolume dataset.",
  1223. "schema": {
  1224. "type": "dict",
  1225. "hidden": true,
  1226. "show_if": [
  1227. [
  1228. "type",
  1229. "=",
  1230. "ixVolume"
  1231. ]
  1232. ],
  1233. "$ref": [
  1234. "normalize/ixVolume"
  1235. ],
  1236. "attrs": [
  1237. {
  1238. "variable": "aclEnable",
  1239. "label": "Enable ACL",
  1240. "description": "Enable ACL for the dataset.",
  1241. "schema": {
  1242. "type": "boolean",
  1243. "hidden": true,
  1244. "default": false
  1245. }
  1246. },
  1247. {
  1248. "variable": "datasetName",
  1249. "label": "Dataset Name",
  1250. "description": "The name of the dataset to use for storage.",
  1251. "schema": {
  1252. "type": "string",
  1253. "required": true,
  1254. "immutable": true,
  1255. "hidden": true,
  1256. "default": "pgBackup"
  1257. }
  1258. },
  1259. {
  1260. "variable": "aclEntries",
  1261. "label": "ACL Configuration",
  1262. "schema": {
  1263. "type": "dict",
  1264. "show_if": [
  1265. [
  1266. "aclEnable",
  1267. "=",
  1268. true
  1269. ]
  1270. ],
  1271. "attrs": [
  1272. {
  1273. "variable": "path",
  1274. "label": "Path",
  1275. "description": "Path to perform ACL",
  1276. "schema": {
  1277. "type": "string",
  1278. "hidden": true
  1279. }
  1280. },
  1281. {
  1282. "variable": "entries",
  1283. "label": "ACL Entries",
  1284. "description": "ACL Entries",
  1285. "schema": {
  1286. "type": "list",
  1287. "items": [
  1288. {
  1289. "variable": "aclEntry",
  1290. "label": "ACL Entry",
  1291. "schema": {
  1292. "type": "dict",
  1293. "attrs": [
  1294. {
  1295. "variable": "id_type",
  1296. "label": "ID Type",
  1297. "schema": {
  1298. "type": "string",
  1299. "enum": [
  1300. {
  1301. "value": "USER",
  1302. "description": "Entry is for a USER"
  1303. },
  1304. {
  1305. "value": "GROUP",
  1306. "description": "Entry is for a GROUP"
  1307. }
  1308. ],
  1309. "default": "USER"
  1310. }
  1311. },
  1312. {
  1313. "variable": "id",
  1314. "label": "ID",
  1315. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1316. "schema": {
  1317. "type": "int",
  1318. "required": true,
  1319. "min": 0
  1320. }
  1321. },
  1322. {
  1323. "variable": "access",
  1324. "label": "Access",
  1325. "schema": {
  1326. "type": "string",
  1327. "enum": [
  1328. {
  1329. "value": "READ",
  1330. "description": "Read Access"
  1331. },
  1332. {
  1333. "value": "MODIFY",
  1334. "description": "Modify Access"
  1335. },
  1336. {
  1337. "value": "FULL_CONTROL",
  1338. "description": "FULL_CONTROL Access"
  1339. }
  1340. ]
  1341. }
  1342. }
  1343. ]
  1344. }
  1345. }
  1346. ]
  1347. }
  1348. }
  1349. ]
  1350. }
  1351. }
  1352. ]
  1353. }
  1354. },
  1355. {
  1356. "variable": "hostPathConfig",
  1357. "label": "Host Path Configuration",
  1358. "schema": {
  1359. "type": "dict",
  1360. "show_if": [
  1361. [
  1362. "type",
  1363. "=",
  1364. "hostPath"
  1365. ]
  1366. ],
  1367. "attrs": [
  1368. {
  1369. "variable": "aclEnable",
  1370. "label": "Enable ACL",
  1371. "description": "Enable ACL for the dataset.",
  1372. "schema": {
  1373. "type": "boolean",
  1374. "hidden": true,
  1375. "default": false
  1376. }
  1377. },
  1378. {
  1379. "variable": "acl",
  1380. "label": "ACL Configuration",
  1381. "schema": {
  1382. "type": "dict",
  1383. "show_if": [
  1384. [
  1385. "aclEnable",
  1386. "=",
  1387. true
  1388. ]
  1389. ],
  1390. "attrs": [
  1391. {
  1392. "variable": "path",
  1393. "label": "Host Path",
  1394. "description": "Host Path to perform ACL",
  1395. "schema": {
  1396. "type": "hostpath",
  1397. "required": true,
  1398. "empty": false
  1399. }
  1400. },
  1401. {
  1402. "variable": "entries",
  1403. "label": "ACL Entries",
  1404. "description": "ACL Entries",
  1405. "schema": {
  1406. "type": "list",
  1407. "items": [
  1408. {
  1409. "variable": "aclEntry",
  1410. "label": "ACL Entry",
  1411. "schema": {
  1412. "type": "dict",
  1413. "attrs": [
  1414. {
  1415. "variable": "id_type",
  1416. "label": "ID Type",
  1417. "schema": {
  1418. "type": "string",
  1419. "enum": [
  1420. {
  1421. "value": "USER",
  1422. "description": "Entry is for a USER"
  1423. },
  1424. {
  1425. "value": "GROUP",
  1426. "description": "Entry is for a GROUP"
  1427. }
  1428. ],
  1429. "default": "USER"
  1430. }
  1431. },
  1432. {
  1433. "variable": "id",
  1434. "label": "ID",
  1435. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1436. "schema": {
  1437. "type": "int",
  1438. "required": true,
  1439. "min": 0
  1440. }
  1441. },
  1442. {
  1443. "variable": "access",
  1444. "label": "Access",
  1445. "schema": {
  1446. "type": "string",
  1447. "enum": [
  1448. {
  1449. "value": "READ",
  1450. "description": "Read Access"
  1451. },
  1452. {
  1453. "value": "MODIFY",
  1454. "description": "Modify Access"
  1455. },
  1456. {
  1457. "value": "FULL_CONTROL",
  1458. "description": "FULL_CONTROL Access"
  1459. }
  1460. ]
  1461. }
  1462. }
  1463. ]
  1464. }
  1465. }
  1466. ]
  1467. }
  1468. },
  1469. {
  1470. "variable": "options",
  1471. "label": "ACL Options",
  1472. "schema": {
  1473. "type": "dict",
  1474. "attrs": [
  1475. {
  1476. "variable": "force",
  1477. "label": "Force Flag",
  1478. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1479. "schema": {
  1480. "type": "boolean",
  1481. "default": false
  1482. }
  1483. }
  1484. ]
  1485. }
  1486. }
  1487. ],
  1488. "$ref": [
  1489. "normalize/acl"
  1490. ]
  1491. }
  1492. },
  1493. {
  1494. "variable": "hostPath",
  1495. "label": "Host Path",
  1496. "description": "The host path to use for storage.",
  1497. "schema": {
  1498. "type": "hostpath",
  1499. "show_if": [
  1500. [
  1501. "aclEnable",
  1502. "=",
  1503. false
  1504. ]
  1505. ],
  1506. "required": true
  1507. }
  1508. }
  1509. ]
  1510. }
  1511. }
  1512. ]
  1513. }
  1514. },
  1515. {
  1516. "variable": "additionalStorages",
  1517. "label": "Additional Storage",
  1518. "description": "Additional storage for Odoo.",
  1519. "schema": {
  1520. "type": "list",
  1521. "default": [],
  1522. "items": [
  1523. {
  1524. "variable": "storageEntry",
  1525. "label": "Storage Entry",
  1526. "schema": {
  1527. "type": "dict",
  1528. "attrs": [
  1529. {
  1530. "variable": "type",
  1531. "label": "Type",
  1532. "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",
  1533. "schema": {
  1534. "type": "string",
  1535. "required": true,
  1536. "default": "ixVolume",
  1537. "immutable": true,
  1538. "enum": [
  1539. {
  1540. "value": "hostPath",
  1541. "description": "Host Path (Path that already exists on the system)"
  1542. },
  1543. {
  1544. "value": "ixVolume",
  1545. "description": "ixVolume (Dataset created automatically by the system)"
  1546. },
  1547. {
  1548. "value": "smb-pv-pvc",
  1549. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  1550. }
  1551. ]
  1552. }
  1553. },
  1554. {
  1555. "variable": "readOnly",
  1556. "label": "Read Only",
  1557. "description": "Mount the volume as read only.",
  1558. "schema": {
  1559. "type": "boolean",
  1560. "default": false
  1561. }
  1562. },
  1563. {
  1564. "variable": "mountPath",
  1565. "label": "Mount Path",
  1566. "description": "The path inside the container to mount the storage.",
  1567. "schema": {
  1568. "type": "path",
  1569. "required": true
  1570. }
  1571. },
  1572. {
  1573. "variable": "hostPathConfig",
  1574. "label": "Host Path Configuration",
  1575. "schema": {
  1576. "type": "dict",
  1577. "show_if": [
  1578. [
  1579. "type",
  1580. "=",
  1581. "hostPath"
  1582. ]
  1583. ],
  1584. "attrs": [
  1585. {
  1586. "variable": "aclEnable",
  1587. "label": "Enable ACL",
  1588. "description": "Enable ACL for the dataset.",
  1589. "schema": {
  1590. "type": "boolean",
  1591. "default": false
  1592. }
  1593. },
  1594. {
  1595. "variable": "acl",
  1596. "label": "ACL Configuration",
  1597. "schema": {
  1598. "type": "dict",
  1599. "show_if": [
  1600. [
  1601. "aclEnable",
  1602. "=",
  1603. true
  1604. ]
  1605. ],
  1606. "attrs": [
  1607. {
  1608. "variable": "path",
  1609. "label": "Host Path",
  1610. "description": "Host Path to perform ACL",
  1611. "schema": {
  1612. "type": "hostpath",
  1613. "required": true,
  1614. "empty": false
  1615. }
  1616. },
  1617. {
  1618. "variable": "entries",
  1619. "label": "ACL Entries",
  1620. "description": "ACL Entries",
  1621. "schema": {
  1622. "type": "list",
  1623. "items": [
  1624. {
  1625. "variable": "aclEntry",
  1626. "label": "ACL Entry",
  1627. "schema": {
  1628. "type": "dict",
  1629. "attrs": [
  1630. {
  1631. "variable": "id_type",
  1632. "label": "ID Type",
  1633. "schema": {
  1634. "type": "string",
  1635. "enum": [
  1636. {
  1637. "value": "USER",
  1638. "description": "Entry is for a USER"
  1639. },
  1640. {
  1641. "value": "GROUP",
  1642. "description": "Entry is for a GROUP"
  1643. }
  1644. ],
  1645. "default": "USER"
  1646. }
  1647. },
  1648. {
  1649. "variable": "id",
  1650. "label": "ID",
  1651. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1652. "schema": {
  1653. "type": "int",
  1654. "required": true,
  1655. "min": 0
  1656. }
  1657. },
  1658. {
  1659. "variable": "access",
  1660. "label": "Access",
  1661. "schema": {
  1662. "type": "string",
  1663. "enum": [
  1664. {
  1665. "value": "READ",
  1666. "description": "Read Access"
  1667. },
  1668. {
  1669. "value": "MODIFY",
  1670. "description": "Modify Access"
  1671. },
  1672. {
  1673. "value": "FULL_CONTROL",
  1674. "description": "FULL_CONTROL Access"
  1675. }
  1676. ]
  1677. }
  1678. }
  1679. ]
  1680. }
  1681. }
  1682. ]
  1683. }
  1684. },
  1685. {
  1686. "variable": "options",
  1687. "label": "ACL Options",
  1688. "schema": {
  1689. "type": "dict",
  1690. "attrs": [
  1691. {
  1692. "variable": "force",
  1693. "label": "Force Flag",
  1694. "description": "Enabling `Force` applies ACL even if the path has existing data",
  1695. "schema": {
  1696. "type": "boolean",
  1697. "default": false
  1698. }
  1699. }
  1700. ]
  1701. }
  1702. }
  1703. ],
  1704. "$ref": [
  1705. "normalize/acl"
  1706. ]
  1707. }
  1708. },
  1709. {
  1710. "variable": "hostPath",
  1711. "label": "Host Path",
  1712. "description": "The host path to use for storage.",
  1713. "schema": {
  1714. "type": "hostpath",
  1715. "show_if": [
  1716. [
  1717. "aclEnable",
  1718. "=",
  1719. false
  1720. ]
  1721. ],
  1722. "required": true
  1723. }
  1724. }
  1725. ]
  1726. }
  1727. },
  1728. {
  1729. "variable": "ixVolumeConfig",
  1730. "label": "ixVolume Configuration",
  1731. "description": "The configuration for the ixVolume dataset.",
  1732. "schema": {
  1733. "type": "dict",
  1734. "show_if": [
  1735. [
  1736. "type",
  1737. "=",
  1738. "ixVolume"
  1739. ]
  1740. ],
  1741. "$ref": [
  1742. "normalize/ixVolume"
  1743. ],
  1744. "attrs": [
  1745. {
  1746. "variable": "aclEnable",
  1747. "label": "Enable ACL",
  1748. "description": "Enable ACL for the dataset.",
  1749. "schema": {
  1750. "type": "boolean",
  1751. "default": false
  1752. }
  1753. },
  1754. {
  1755. "variable": "datasetName",
  1756. "label": "Dataset Name",
  1757. "description": "The name of the dataset to use for storage.",
  1758. "schema": {
  1759. "type": "string",
  1760. "required": true,
  1761. "immutable": true,
  1762. "default": "storage_entry"
  1763. }
  1764. },
  1765. {
  1766. "variable": "aclEntries",
  1767. "label": "ACL Configuration",
  1768. "schema": {
  1769. "type": "dict",
  1770. "show_if": [
  1771. [
  1772. "aclEnable",
  1773. "=",
  1774. true
  1775. ]
  1776. ],
  1777. "attrs": [
  1778. {
  1779. "variable": "path",
  1780. "label": "Path",
  1781. "description": "Path to perform ACL",
  1782. "schema": {
  1783. "type": "string",
  1784. "hidden": true
  1785. }
  1786. },
  1787. {
  1788. "variable": "entries",
  1789. "label": "ACL Entries",
  1790. "description": "ACL Entries",
  1791. "schema": {
  1792. "type": "list",
  1793. "items": [
  1794. {
  1795. "variable": "aclEntry",
  1796. "label": "ACL Entry",
  1797. "schema": {
  1798. "type": "dict",
  1799. "attrs": [
  1800. {
  1801. "variable": "id_type",
  1802. "label": "ID Type",
  1803. "schema": {
  1804. "type": "string",
  1805. "enum": [
  1806. {
  1807. "value": "USER",
  1808. "description": "Entry is for a USER"
  1809. },
  1810. {
  1811. "value": "GROUP",
  1812. "description": "Entry is for a GROUP"
  1813. }
  1814. ],
  1815. "default": "USER"
  1816. }
  1817. },
  1818. {
  1819. "variable": "id",
  1820. "label": "ID",
  1821. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  1822. "schema": {
  1823. "type": "int",
  1824. "required": true,
  1825. "min": 0
  1826. }
  1827. },
  1828. {
  1829. "variable": "access",
  1830. "label": "Access",
  1831. "schema": {
  1832. "type": "string",
  1833. "enum": [
  1834. {
  1835. "value": "READ",
  1836. "description": "Read Access"
  1837. },
  1838. {
  1839. "value": "MODIFY",
  1840. "description": "Modify Access"
  1841. },
  1842. {
  1843. "value": "FULL_CONTROL",
  1844. "description": "FULL_CONTROL Access"
  1845. }
  1846. ]
  1847. }
  1848. }
  1849. ]
  1850. }
  1851. }
  1852. ]
  1853. }
  1854. }
  1855. ]
  1856. }
  1857. }
  1858. ]
  1859. }
  1860. },
  1861. {
  1862. "variable": "smbConfig",
  1863. "label": "SMB Share Configuration",
  1864. "description": "The configuration for the SMB Share.",
  1865. "schema": {
  1866. "type": "dict",
  1867. "show_if": [
  1868. [
  1869. "type",
  1870. "=",
  1871. "smb-pv-pvc"
  1872. ]
  1873. ],
  1874. "attrs": [
  1875. {
  1876. "variable": "server",
  1877. "label": "Server",
  1878. "description": "The server for the SMB share.",
  1879. "schema": {
  1880. "type": "string",
  1881. "required": true
  1882. }
  1883. },
  1884. {
  1885. "variable": "share",
  1886. "label": "Share",
  1887. "description": "The share name for the SMB share.",
  1888. "schema": {
  1889. "type": "string",
  1890. "required": true
  1891. }
  1892. },
  1893. {
  1894. "variable": "domain",
  1895. "label": "Domain (Optional)",
  1896. "description": "The domain for the SMB share.",
  1897. "schema": {
  1898. "type": "string"
  1899. }
  1900. },
  1901. {
  1902. "variable": "username",
  1903. "label": "Username",
  1904. "description": "The username for the SMB share.",
  1905. "schema": {
  1906. "type": "string",
  1907. "required": true
  1908. }
  1909. },
  1910. {
  1911. "variable": "password",
  1912. "label": "Password",
  1913. "description": "The password for the SMB share.",
  1914. "schema": {
  1915. "type": "string",
  1916. "required": true,
  1917. "private": true
  1918. }
  1919. },
  1920. {
  1921. "variable": "size",
  1922. "label": "Size (in Gi)",
  1923. "description": "The size of the volume quota.",
  1924. "schema": {
  1925. "type": "int",
  1926. "required": true,
  1927. "min": 1,
  1928. "default": 1
  1929. }
  1930. }
  1931. ]
  1932. }
  1933. }
  1934. ]
  1935. }
  1936. }
  1937. ]
  1938. }
  1939. }
  1940. ]
  1941. }
  1942. },
  1943. {
  1944. "variable": "resources",
  1945. "label": "",
  1946. "group": "Resources Configuration",
  1947. "schema": {
  1948. "type": "dict",
  1949. "attrs": [
  1950. {
  1951. "variable": "limits",
  1952. "label": "Limits",
  1953. "schema": {
  1954. "type": "dict",
  1955. "attrs": [
  1956. {
  1957. "variable": "cpu",
  1958. "label": "CPU",
  1959. "description": "CPU limit for Odoo.",
  1960. "schema": {
  1961. "type": "string",
  1962. "max_length": 6,
  1963. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  1964. "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",
  1965. "default": "4000m",
  1966. "required": true
  1967. }
  1968. },
  1969. {
  1970. "variable": "memory",
  1971. "label": "Memory",
  1972. "description": "Memory limit for Odoo.",
  1973. "schema": {
  1974. "type": "string",
  1975. "max_length": 12,
  1976. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  1977. "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",
  1978. "default": "8Gi",
  1979. "required": true
  1980. }
  1981. }
  1982. ]
  1983. }
  1984. }
  1985. ]
  1986. }
  1987. }
  1988. ]
  1989. },
  1990. "app_readme": "<h1>Odoo</h1>\n<p><a href=\"https://odoo.com\">Odoo</a> is a suite of web based open source business apps.</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>",
  1991. "detailed_readme": "<h1>Odoo</h1>\n<p><a href=\"https://odoo.com\">Odoo</a> is a suite of web based open source business apps.</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>",
  1992. "changelog": null
  1993. },
  1994. "1.1.1": {
  1995. "healthy": true,
  1996. "supported": false,
  1997. "healthy_error": null,
  1998. "location": "/__w/charts/charts/community/odoo/1.1.1",
  1999. "last_update": "2025-03-06 08:26:26",
  2000. "required_features": [
  2001. "normalize/ixVolume",
  2002. "normalize/acl"
  2003. ],
  2004. "human_version": "16.0_1.1.1",
  2005. "version": "1.1.1",
  2006. "chart_metadata": {
  2007. "name": "odoo",
  2008. "description": "Odoo is a suite of web based open source business apps.",
  2009. "annotations": {
  2010. "title": "Odoo"
  2011. },
  2012. "type": "application",
  2013. "version": "1.1.1",
  2014. "apiVersion": "v2",
  2015. "appVersion": "16.0",
  2016. "kubeVersion": ">=1.16.0-0",
  2017. "maintainers": [
  2018. {
  2019. "name": "truenas",
  2020. "url": "https://www.truenas.com/",
  2021. "email": "dev@ixsystems.com"
  2022. }
  2023. ],
  2024. "dependencies": [
  2025. {
  2026. "name": "common",
  2027. "repository": "file://../../../common",
  2028. "version": "1.2.3"
  2029. }
  2030. ],
  2031. "home": "https://www.odoo.com/",
  2032. "icon": "https://media.sys.truenas.net/apps/odoo/icons/icon.png",
  2033. "sources": [
  2034. "https://hub.docker.com/_/odoo",
  2035. "https://github.com/truenas/charts/tree/master/community/odoo",
  2036. "https://github.com/odoo/odoo"
  2037. ],
  2038. "keywords": [
  2039. "erp",
  2040. "odoo"
  2041. ]
  2042. },
  2043. "app_metadata": {
  2044. "runAsContext": [
  2045. {
  2046. "userName": "odoo",
  2047. "groupName": "odoo",
  2048. "gid": 101,
  2049. "uid": 101,
  2050. "description": "Odoo runs as a non-root user"
  2051. },
  2052. {
  2053. "userName": "postgres",
  2054. "groupName": "postgres",
  2055. "gid": 999,
  2056. "uid": 999,
  2057. "description": "Postgres runs as a non-root user."
  2058. }
  2059. ],
  2060. "capabilities": [],
  2061. "hostMounts": []
  2062. },
  2063. "schema": {
  2064. "groups": [
  2065. {
  2066. "name": "Odoo Configuration",
  2067. "description": "Configure Odoo"
  2068. },
  2069. {
  2070. "name": "Network Configuration",
  2071. "description": "Configure Network for Odoo"
  2072. },
  2073. {
  2074. "name": "Storage Configuration",
  2075. "description": "Configure Storage for Odoo"
  2076. },
  2077. {
  2078. "name": "Resources Configuration",
  2079. "description": "Configure Resources for Odoo"
  2080. }
  2081. ],
  2082. "portals": {
  2083. "web_portal": {
  2084. "protocols": [
  2085. "$kubernetes-resource_configmap_portal_protocol"
  2086. ],
  2087. "host": [
  2088. "$kubernetes-resource_configmap_portal_host"
  2089. ],
  2090. "ports": [
  2091. "$kubernetes-resource_configmap_portal_port"
  2092. ],
  2093. "path": "$kubernetes-resource_configmap_portal_path"
  2094. }
  2095. },
  2096. "questions": [
  2097. {
  2098. "variable": "odooConfig",
  2099. "label": "",
  2100. "group": "Odoo Configuration",
  2101. "schema": {
  2102. "type": "dict",
  2103. "attrs": [
  2104. {
  2105. "variable": "additionalConf",
  2106. "label": "Additional File Configuration Options",
  2107. "description": "Configure additional file configuration options for Odoo.</br>\nOptions are appended to the end of the configuration file.</br>\nAfter the predefined configuration options.</br>\n",
  2108. "schema": {
  2109. "type": "list",
  2110. "default": [],
  2111. "items": [
  2112. {
  2113. "variable": "conf",
  2114. "label": "Configuration Option",
  2115. "schema": {
  2116. "type": "dict",
  2117. "attrs": [
  2118. {
  2119. "variable": "key",
  2120. "label": "Key",
  2121. "schema": {
  2122. "type": "string",
  2123. "required": true
  2124. }
  2125. },
  2126. {
  2127. "variable": "value",
  2128. "label": "Value",
  2129. "schema": {
  2130. "type": "string",
  2131. "required": true
  2132. }
  2133. }
  2134. ]
  2135. }
  2136. }
  2137. ]
  2138. }
  2139. },
  2140. {
  2141. "variable": "additionalEnvs",
  2142. "label": "Additional Environment Variables",
  2143. "description": "Configure additional environment variables for Odoo.",
  2144. "schema": {
  2145. "type": "list",
  2146. "default": [],
  2147. "items": [
  2148. {
  2149. "variable": "env",
  2150. "label": "Environment Variable",
  2151. "schema": {
  2152. "type": "dict",
  2153. "attrs": [
  2154. {
  2155. "variable": "name",
  2156. "label": "Name",
  2157. "schema": {
  2158. "type": "string",
  2159. "required": true
  2160. }
  2161. },
  2162. {
  2163. "variable": "value",
  2164. "label": "Value",
  2165. "schema": {
  2166. "type": "string",
  2167. "required": true
  2168. }
  2169. }
  2170. ]
  2171. }
  2172. }
  2173. ]
  2174. }
  2175. }
  2176. ]
  2177. }
  2178. },
  2179. {
  2180. "variable": "odooNetwork",
  2181. "label": "",
  2182. "group": "Network Configuration",
  2183. "schema": {
  2184. "type": "dict",
  2185. "attrs": [
  2186. {
  2187. "variable": "webPort",
  2188. "label": "Web Port",
  2189. "description": "The port for the Odoo WebUI.",
  2190. "schema": {
  2191. "type": "int",
  2192. "default": 30062,
  2193. "min": 9000,
  2194. "max": 65535,
  2195. "required": true
  2196. }
  2197. },
  2198. {
  2199. "variable": "hostNetwork",
  2200. "label": "Host Network",
  2201. "description": "Bind to the host network. It's recommended to keep this disabled.\n",
  2202. "schema": {
  2203. "type": "boolean",
  2204. "default": false
  2205. }
  2206. }
  2207. ]
  2208. }
  2209. },
  2210. {
  2211. "variable": "odooStorage",
  2212. "label": "",
  2213. "group": "Storage Configuration",
  2214. "schema": {
  2215. "type": "dict",
  2216. "attrs": [
  2217. {
  2218. "variable": "data",
  2219. "label": "Odoo Data Storage",
  2220. "description": "The path to store Odoo data.",
  2221. "schema": {
  2222. "type": "dict",
  2223. "attrs": [
  2224. {
  2225. "variable": "type",
  2226. "label": "Type",
  2227. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  2228. "schema": {
  2229. "type": "string",
  2230. "required": true,
  2231. "immutable": true,
  2232. "default": "ixVolume",
  2233. "enum": [
  2234. {
  2235. "value": "hostPath",
  2236. "description": "Host Path (Path that already exists on the system)"
  2237. },
  2238. {
  2239. "value": "ixVolume",
  2240. "description": "ixVolume (Dataset created automatically by the system)"
  2241. }
  2242. ]
  2243. }
  2244. },
  2245. {
  2246. "variable": "ixVolumeConfig",
  2247. "label": "ixVolume Configuration",
  2248. "description": "The configuration for the ixVolume dataset.",
  2249. "schema": {
  2250. "type": "dict",
  2251. "show_if": [
  2252. [
  2253. "type",
  2254. "=",
  2255. "ixVolume"
  2256. ]
  2257. ],
  2258. "$ref": [
  2259. "normalize/ixVolume"
  2260. ],
  2261. "attrs": [
  2262. {
  2263. "variable": "aclEnable",
  2264. "label": "Enable ACL",
  2265. "description": "Enable ACL for the dataset.",
  2266. "schema": {
  2267. "type": "boolean",
  2268. "default": false
  2269. }
  2270. },
  2271. {
  2272. "variable": "datasetName",
  2273. "label": "Dataset Name",
  2274. "description": "The name of the dataset to use for storage.",
  2275. "schema": {
  2276. "type": "string",
  2277. "required": true,
  2278. "immutable": true,
  2279. "hidden": true,
  2280. "default": "data"
  2281. }
  2282. },
  2283. {
  2284. "variable": "aclEntries",
  2285. "label": "ACL Configuration",
  2286. "schema": {
  2287. "type": "dict",
  2288. "show_if": [
  2289. [
  2290. "aclEnable",
  2291. "=",
  2292. true
  2293. ]
  2294. ],
  2295. "attrs": [
  2296. {
  2297. "variable": "path",
  2298. "label": "Path",
  2299. "description": "Path to perform ACL",
  2300. "schema": {
  2301. "type": "string",
  2302. "hidden": true
  2303. }
  2304. },
  2305. {
  2306. "variable": "entries",
  2307. "label": "ACL Entries",
  2308. "description": "ACL Entries",
  2309. "schema": {
  2310. "type": "list",
  2311. "items": [
  2312. {
  2313. "variable": "aclEntry",
  2314. "label": "ACL Entry",
  2315. "schema": {
  2316. "type": "dict",
  2317. "attrs": [
  2318. {
  2319. "variable": "id_type",
  2320. "label": "ID Type",
  2321. "schema": {
  2322. "type": "string",
  2323. "enum": [
  2324. {
  2325. "value": "USER",
  2326. "description": "Entry is for a USER"
  2327. },
  2328. {
  2329. "value": "GROUP",
  2330. "description": "Entry is for a GROUP"
  2331. }
  2332. ],
  2333. "default": "USER"
  2334. }
  2335. },
  2336. {
  2337. "variable": "id",
  2338. "label": "ID",
  2339. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  2340. "schema": {
  2341. "type": "int",
  2342. "required": true,
  2343. "min": 0
  2344. }
  2345. },
  2346. {
  2347. "variable": "access",
  2348. "label": "Access",
  2349. "schema": {
  2350. "type": "string",
  2351. "enum": [
  2352. {
  2353. "value": "READ",
  2354. "description": "Read Access"
  2355. },
  2356. {
  2357. "value": "MODIFY",
  2358. "description": "Modify Access"
  2359. },
  2360. {
  2361. "value": "FULL_CONTROL",
  2362. "description": "FULL_CONTROL Access"
  2363. }
  2364. ]
  2365. }
  2366. }
  2367. ]
  2368. }
  2369. }
  2370. ]
  2371. }
  2372. }
  2373. ]
  2374. }
  2375. }
  2376. ]
  2377. }
  2378. },
  2379. {
  2380. "variable": "hostPathConfig",
  2381. "label": "Host Path Configuration",
  2382. "schema": {
  2383. "type": "dict",
  2384. "show_if": [
  2385. [
  2386. "type",
  2387. "=",
  2388. "hostPath"
  2389. ]
  2390. ],
  2391. "attrs": [
  2392. {
  2393. "variable": "aclEnable",
  2394. "label": "Enable ACL",
  2395. "description": "Enable ACL for the dataset.",
  2396. "schema": {
  2397. "type": "boolean",
  2398. "default": false
  2399. }
  2400. },
  2401. {
  2402. "variable": "acl",
  2403. "label": "ACL Configuration",
  2404. "schema": {
  2405. "type": "dict",
  2406. "show_if": [
  2407. [
  2408. "aclEnable",
  2409. "=",
  2410. true
  2411. ]
  2412. ],
  2413. "attrs": [
  2414. {
  2415. "variable": "path",
  2416. "label": "Host Path",
  2417. "description": "Host Path to perform ACL",
  2418. "schema": {
  2419. "type": "hostpath",
  2420. "required": true,
  2421. "empty": false
  2422. }
  2423. },
  2424. {
  2425. "variable": "entries",
  2426. "label": "ACL Entries",
  2427. "description": "ACL Entries",
  2428. "schema": {
  2429. "type": "list",
  2430. "items": [
  2431. {
  2432. "variable": "aclEntry",
  2433. "label": "ACL Entry",
  2434. "schema": {
  2435. "type": "dict",
  2436. "attrs": [
  2437. {
  2438. "variable": "id_type",
  2439. "label": "ID Type",
  2440. "schema": {
  2441. "type": "string",
  2442. "enum": [
  2443. {
  2444. "value": "USER",
  2445. "description": "Entry is for a USER"
  2446. },
  2447. {
  2448. "value": "GROUP",
  2449. "description": "Entry is for a GROUP"
  2450. }
  2451. ],
  2452. "default": "USER"
  2453. }
  2454. },
  2455. {
  2456. "variable": "id",
  2457. "label": "ID",
  2458. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  2459. "schema": {
  2460. "type": "int",
  2461. "required": true,
  2462. "min": 0
  2463. }
  2464. },
  2465. {
  2466. "variable": "access",
  2467. "label": "Access",
  2468. "schema": {
  2469. "type": "string",
  2470. "enum": [
  2471. {
  2472. "value": "READ",
  2473. "description": "Read Access"
  2474. },
  2475. {
  2476. "value": "MODIFY",
  2477. "description": "Modify Access"
  2478. },
  2479. {
  2480. "value": "FULL_CONTROL",
  2481. "description": "FULL_CONTROL Access"
  2482. }
  2483. ]
  2484. }
  2485. }
  2486. ]
  2487. }
  2488. }
  2489. ]
  2490. }
  2491. },
  2492. {
  2493. "variable": "options",
  2494. "label": "ACL Options",
  2495. "schema": {
  2496. "type": "dict",
  2497. "attrs": [
  2498. {
  2499. "variable": "force",
  2500. "label": "Force Flag",
  2501. "description": "Enabling `Force` applies ACL even if the path has existing data",
  2502. "schema": {
  2503. "type": "boolean",
  2504. "default": false
  2505. }
  2506. }
  2507. ]
  2508. }
  2509. }
  2510. ],
  2511. "$ref": [
  2512. "normalize/acl"
  2513. ]
  2514. }
  2515. },
  2516. {
  2517. "variable": "hostPath",
  2518. "label": "Host Path",
  2519. "description": "The host path to use for storage.",
  2520. "schema": {
  2521. "type": "hostpath",
  2522. "show_if": [
  2523. [
  2524. "aclEnable",
  2525. "=",
  2526. false
  2527. ]
  2528. ],
  2529. "immutable": true,
  2530. "required": true
  2531. }
  2532. }
  2533. ]
  2534. }
  2535. }
  2536. ]
  2537. }
  2538. },
  2539. {
  2540. "variable": "addons",
  2541. "label": "Odoo Addons Storage",
  2542. "description": "The path to store Odoo addons storage.",
  2543. "schema": {
  2544. "type": "dict",
  2545. "attrs": [
  2546. {
  2547. "variable": "type",
  2548. "label": "Type",
  2549. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  2550. "schema": {
  2551. "type": "string",
  2552. "required": true,
  2553. "immutable": true,
  2554. "default": "ixVolume",
  2555. "enum": [
  2556. {
  2557. "value": "hostPath",
  2558. "description": "Host Path (Path that already exists on the system)"
  2559. },
  2560. {
  2561. "value": "ixVolume",
  2562. "description": "ixVolume (Dataset created automatically by the system)"
  2563. }
  2564. ]
  2565. }
  2566. },
  2567. {
  2568. "variable": "ixVolumeConfig",
  2569. "label": "ixVolume Configuration",
  2570. "description": "The configuration for the ixVolume dataset.",
  2571. "schema": {
  2572. "type": "dict",
  2573. "show_if": [
  2574. [
  2575. "type",
  2576. "=",
  2577. "ixVolume"
  2578. ]
  2579. ],
  2580. "$ref": [
  2581. "normalize/ixVolume"
  2582. ],
  2583. "attrs": [
  2584. {
  2585. "variable": "aclEnable",
  2586. "label": "Enable ACL",
  2587. "description": "Enable ACL for the dataset.",
  2588. "schema": {
  2589. "type": "boolean",
  2590. "default": false
  2591. }
  2592. },
  2593. {
  2594. "variable": "datasetName",
  2595. "label": "Dataset Name",
  2596. "description": "The name of the dataset to use for storage.",
  2597. "schema": {
  2598. "type": "string",
  2599. "required": true,
  2600. "immutable": true,
  2601. "hidden": true,
  2602. "default": "addons"
  2603. }
  2604. },
  2605. {
  2606. "variable": "aclEntries",
  2607. "label": "ACL Configuration",
  2608. "schema": {
  2609. "type": "dict",
  2610. "show_if": [
  2611. [
  2612. "aclEnable",
  2613. "=",
  2614. true
  2615. ]
  2616. ],
  2617. "attrs": [
  2618. {
  2619. "variable": "path",
  2620. "label": "Path",
  2621. "description": "Path to perform ACL",
  2622. "schema": {
  2623. "type": "string",
  2624. "hidden": true
  2625. }
  2626. },
  2627. {
  2628. "variable": "entries",
  2629. "label": "ACL Entries",
  2630. "description": "ACL Entries",
  2631. "schema": {
  2632. "type": "list",
  2633. "items": [
  2634. {
  2635. "variable": "aclEntry",
  2636. "label": "ACL Entry",
  2637. "schema": {
  2638. "type": "dict",
  2639. "attrs": [
  2640. {
  2641. "variable": "id_type",
  2642. "label": "ID Type",
  2643. "schema": {
  2644. "type": "string",
  2645. "enum": [
  2646. {
  2647. "value": "USER",
  2648. "description": "Entry is for a USER"
  2649. },
  2650. {
  2651. "value": "GROUP",
  2652. "description": "Entry is for a GROUP"
  2653. }
  2654. ],
  2655. "default": "USER"
  2656. }
  2657. },
  2658. {
  2659. "variable": "id",
  2660. "label": "ID",
  2661. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  2662. "schema": {
  2663. "type": "int",
  2664. "required": true,
  2665. "min": 0
  2666. }
  2667. },
  2668. {
  2669. "variable": "access",
  2670. "label": "Access",
  2671. "schema": {
  2672. "type": "string",
  2673. "enum": [
  2674. {
  2675. "value": "READ",
  2676. "description": "Read Access"
  2677. },
  2678. {
  2679. "value": "MODIFY",
  2680. "description": "Modify Access"
  2681. },
  2682. {
  2683. "value": "FULL_CONTROL",
  2684. "description": "FULL_CONTROL Access"
  2685. }
  2686. ]
  2687. }
  2688. }
  2689. ]
  2690. }
  2691. }
  2692. ]
  2693. }
  2694. }
  2695. ]
  2696. }
  2697. }
  2698. ]
  2699. }
  2700. },
  2701. {
  2702. "variable": "hostPathConfig",
  2703. "label": "Host Path Configuration",
  2704. "schema": {
  2705. "type": "dict",
  2706. "show_if": [
  2707. [
  2708. "type",
  2709. "=",
  2710. "hostPath"
  2711. ]
  2712. ],
  2713. "attrs": [
  2714. {
  2715. "variable": "aclEnable",
  2716. "label": "Enable ACL",
  2717. "description": "Enable ACL for the dataset.",
  2718. "schema": {
  2719. "type": "boolean",
  2720. "default": false
  2721. }
  2722. },
  2723. {
  2724. "variable": "acl",
  2725. "label": "ACL Configuration",
  2726. "schema": {
  2727. "type": "dict",
  2728. "show_if": [
  2729. [
  2730. "aclEnable",
  2731. "=",
  2732. true
  2733. ]
  2734. ],
  2735. "attrs": [
  2736. {
  2737. "variable": "path",
  2738. "label": "Host Path",
  2739. "description": "Host Path to perform ACL",
  2740. "schema": {
  2741. "type": "hostpath",
  2742. "required": true,
  2743. "empty": false
  2744. }
  2745. },
  2746. {
  2747. "variable": "entries",
  2748. "label": "ACL Entries",
  2749. "description": "ACL Entries",
  2750. "schema": {
  2751. "type": "list",
  2752. "items": [
  2753. {
  2754. "variable": "aclEntry",
  2755. "label": "ACL Entry",
  2756. "schema": {
  2757. "type": "dict",
  2758. "attrs": [
  2759. {
  2760. "variable": "id_type",
  2761. "label": "ID Type",
  2762. "schema": {
  2763. "type": "string",
  2764. "enum": [
  2765. {
  2766. "value": "USER",
  2767. "description": "Entry is for a USER"
  2768. },
  2769. {
  2770. "value": "GROUP",
  2771. "description": "Entry is for a GROUP"
  2772. }
  2773. ],
  2774. "default": "USER"
  2775. }
  2776. },
  2777. {
  2778. "variable": "id",
  2779. "label": "ID",
  2780. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  2781. "schema": {
  2782. "type": "int",
  2783. "required": true,
  2784. "min": 0
  2785. }
  2786. },
  2787. {
  2788. "variable": "access",
  2789. "label": "Access",
  2790. "schema": {
  2791. "type": "string",
  2792. "enum": [
  2793. {
  2794. "value": "READ",
  2795. "description": "Read Access"
  2796. },
  2797. {
  2798. "value": "MODIFY",
  2799. "description": "Modify Access"
  2800. },
  2801. {
  2802. "value": "FULL_CONTROL",
  2803. "description": "FULL_CONTROL Access"
  2804. }
  2805. ]
  2806. }
  2807. }
  2808. ]
  2809. }
  2810. }
  2811. ]
  2812. }
  2813. },
  2814. {
  2815. "variable": "options",
  2816. "label": "ACL Options",
  2817. "schema": {
  2818. "type": "dict",
  2819. "attrs": [
  2820. {
  2821. "variable": "force",
  2822. "label": "Force Flag",
  2823. "description": "Enabling `Force` applies ACL even if the path has existing data",
  2824. "schema": {
  2825. "type": "boolean",
  2826. "default": false
  2827. }
  2828. }
  2829. ]
  2830. }
  2831. }
  2832. ],
  2833. "$ref": [
  2834. "normalize/acl"
  2835. ]
  2836. }
  2837. },
  2838. {
  2839. "variable": "hostPath",
  2840. "label": "Host Path",
  2841. "description": "The host path to use for storage.",
  2842. "schema": {
  2843. "type": "hostpath",
  2844. "show_if": [
  2845. [
  2846. "aclEnable",
  2847. "=",
  2848. false
  2849. ]
  2850. ],
  2851. "immutable": true,
  2852. "required": true
  2853. }
  2854. }
  2855. ]
  2856. }
  2857. }
  2858. ]
  2859. }
  2860. },
  2861. {
  2862. "variable": "pgData",
  2863. "label": "Odoo Postgres Data Storage",
  2864. "description": "The path to store Odoo Postgres Data.",
  2865. "schema": {
  2866. "type": "dict",
  2867. "attrs": [
  2868. {
  2869. "variable": "type",
  2870. "label": "Type",
  2871. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  2872. "schema": {
  2873. "type": "string",
  2874. "required": true,
  2875. "immutable": true,
  2876. "default": "ixVolume",
  2877. "enum": [
  2878. {
  2879. "value": "hostPath",
  2880. "description": "Host Path (Path that already exists on the system)"
  2881. },
  2882. {
  2883. "value": "ixVolume",
  2884. "description": "ixVolume (Dataset created automatically by the system)"
  2885. }
  2886. ]
  2887. }
  2888. },
  2889. {
  2890. "variable": "ixVolumeConfig",
  2891. "label": "ixVolume Configuration",
  2892. "description": "The configuration for the ixVolume dataset.",
  2893. "schema": {
  2894. "type": "dict",
  2895. "hidden": true,
  2896. "show_if": [
  2897. [
  2898. "type",
  2899. "=",
  2900. "ixVolume"
  2901. ]
  2902. ],
  2903. "$ref": [
  2904. "normalize/ixVolume"
  2905. ],
  2906. "attrs": [
  2907. {
  2908. "variable": "aclEnable",
  2909. "label": "Enable ACL",
  2910. "description": "Enable ACL for the dataset.",
  2911. "schema": {
  2912. "type": "boolean",
  2913. "hidden": true,
  2914. "default": false
  2915. }
  2916. },
  2917. {
  2918. "variable": "datasetName",
  2919. "label": "Dataset Name",
  2920. "description": "The name of the dataset to use for storage.",
  2921. "schema": {
  2922. "type": "string",
  2923. "required": true,
  2924. "immutable": true,
  2925. "hidden": true,
  2926. "default": "pgData"
  2927. }
  2928. },
  2929. {
  2930. "variable": "aclEntries",
  2931. "label": "ACL Configuration",
  2932. "schema": {
  2933. "type": "dict",
  2934. "show_if": [
  2935. [
  2936. "aclEnable",
  2937. "=",
  2938. true
  2939. ]
  2940. ],
  2941. "attrs": [
  2942. {
  2943. "variable": "path",
  2944. "label": "Path",
  2945. "description": "Path to perform ACL",
  2946. "schema": {
  2947. "type": "string",
  2948. "hidden": true
  2949. }
  2950. },
  2951. {
  2952. "variable": "entries",
  2953. "label": "ACL Entries",
  2954. "description": "ACL Entries",
  2955. "schema": {
  2956. "type": "list",
  2957. "items": [
  2958. {
  2959. "variable": "aclEntry",
  2960. "label": "ACL Entry",
  2961. "schema": {
  2962. "type": "dict",
  2963. "attrs": [
  2964. {
  2965. "variable": "id_type",
  2966. "label": "ID Type",
  2967. "schema": {
  2968. "type": "string",
  2969. "enum": [
  2970. {
  2971. "value": "USER",
  2972. "description": "Entry is for a USER"
  2973. },
  2974. {
  2975. "value": "GROUP",
  2976. "description": "Entry is for a GROUP"
  2977. }
  2978. ],
  2979. "default": "USER"
  2980. }
  2981. },
  2982. {
  2983. "variable": "id",
  2984. "label": "ID",
  2985. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  2986. "schema": {
  2987. "type": "int",
  2988. "required": true,
  2989. "min": 0
  2990. }
  2991. },
  2992. {
  2993. "variable": "access",
  2994. "label": "Access",
  2995. "schema": {
  2996. "type": "string",
  2997. "enum": [
  2998. {
  2999. "value": "READ",
  3000. "description": "Read Access"
  3001. },
  3002. {
  3003. "value": "MODIFY",
  3004. "description": "Modify Access"
  3005. },
  3006. {
  3007. "value": "FULL_CONTROL",
  3008. "description": "FULL_CONTROL Access"
  3009. }
  3010. ]
  3011. }
  3012. }
  3013. ]
  3014. }
  3015. }
  3016. ]
  3017. }
  3018. }
  3019. ]
  3020. }
  3021. }
  3022. ]
  3023. }
  3024. },
  3025. {
  3026. "variable": "hostPathConfig",
  3027. "label": "Host Path Configuration",
  3028. "schema": {
  3029. "type": "dict",
  3030. "show_if": [
  3031. [
  3032. "type",
  3033. "=",
  3034. "hostPath"
  3035. ]
  3036. ],
  3037. "attrs": [
  3038. {
  3039. "variable": "aclEnable",
  3040. "label": "Enable ACL",
  3041. "description": "Enable ACL for the dataset.",
  3042. "schema": {
  3043. "type": "boolean",
  3044. "hidden": true,
  3045. "default": false
  3046. }
  3047. },
  3048. {
  3049. "variable": "acl",
  3050. "label": "ACL Configuration",
  3051. "schema": {
  3052. "type": "dict",
  3053. "show_if": [
  3054. [
  3055. "aclEnable",
  3056. "=",
  3057. true
  3058. ]
  3059. ],
  3060. "attrs": [
  3061. {
  3062. "variable": "path",
  3063. "label": "Host Path",
  3064. "description": "Host Path to perform ACL",
  3065. "schema": {
  3066. "type": "hostpath",
  3067. "required": true,
  3068. "empty": false
  3069. }
  3070. },
  3071. {
  3072. "variable": "entries",
  3073. "label": "ACL Entries",
  3074. "description": "ACL Entries",
  3075. "schema": {
  3076. "type": "list",
  3077. "items": [
  3078. {
  3079. "variable": "aclEntry",
  3080. "label": "ACL Entry",
  3081. "schema": {
  3082. "type": "dict",
  3083. "attrs": [
  3084. {
  3085. "variable": "id_type",
  3086. "label": "ID Type",
  3087. "schema": {
  3088. "type": "string",
  3089. "enum": [
  3090. {
  3091. "value": "USER",
  3092. "description": "Entry is for a USER"
  3093. },
  3094. {
  3095. "value": "GROUP",
  3096. "description": "Entry is for a GROUP"
  3097. }
  3098. ],
  3099. "default": "USER"
  3100. }
  3101. },
  3102. {
  3103. "variable": "id",
  3104. "label": "ID",
  3105. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  3106. "schema": {
  3107. "type": "int",
  3108. "required": true,
  3109. "min": 0
  3110. }
  3111. },
  3112. {
  3113. "variable": "access",
  3114. "label": "Access",
  3115. "schema": {
  3116. "type": "string",
  3117. "enum": [
  3118. {
  3119. "value": "READ",
  3120. "description": "Read Access"
  3121. },
  3122. {
  3123. "value": "MODIFY",
  3124. "description": "Modify Access"
  3125. },
  3126. {
  3127. "value": "FULL_CONTROL",
  3128. "description": "FULL_CONTROL Access"
  3129. }
  3130. ]
  3131. }
  3132. }
  3133. ]
  3134. }
  3135. }
  3136. ]
  3137. }
  3138. },
  3139. {
  3140. "variable": "options",
  3141. "label": "ACL Options",
  3142. "schema": {
  3143. "type": "dict",
  3144. "attrs": [
  3145. {
  3146. "variable": "force",
  3147. "label": "Force Flag",
  3148. "description": "Enabling `Force` applies ACL even if the path has existing data",
  3149. "schema": {
  3150. "type": "boolean",
  3151. "default": false
  3152. }
  3153. }
  3154. ]
  3155. }
  3156. }
  3157. ],
  3158. "$ref": [
  3159. "normalize/acl"
  3160. ]
  3161. }
  3162. },
  3163. {
  3164. "variable": "hostPath",
  3165. "label": "Host Path",
  3166. "description": "The host path to use for storage.",
  3167. "schema": {
  3168. "type": "hostpath",
  3169. "show_if": [
  3170. [
  3171. "aclEnable",
  3172. "=",
  3173. false
  3174. ]
  3175. ],
  3176. "immutable": true,
  3177. "required": true
  3178. }
  3179. }
  3180. ]
  3181. }
  3182. }
  3183. ]
  3184. }
  3185. },
  3186. {
  3187. "variable": "pgBackup",
  3188. "label": "Odoo Postgres Backup Storage",
  3189. "description": "The path to store Odoo Postgres Backup.",
  3190. "schema": {
  3191. "type": "dict",
  3192. "attrs": [
  3193. {
  3194. "variable": "type",
  3195. "label": "Type",
  3196. "description": "ixVolume: Is dataset created automatically by the system.</br>\nHost Path: Is a path that already exists on the system.\n",
  3197. "schema": {
  3198. "type": "string",
  3199. "required": true,
  3200. "immutable": true,
  3201. "default": "ixVolume",
  3202. "enum": [
  3203. {
  3204. "value": "hostPath",
  3205. "description": "Host Path (Path that already exists on the system)"
  3206. },
  3207. {
  3208. "value": "ixVolume",
  3209. "description": "ixVolume (Dataset created automatically by the system)"
  3210. }
  3211. ]
  3212. }
  3213. },
  3214. {
  3215. "variable": "ixVolumeConfig",
  3216. "label": "ixVolume Configuration",
  3217. "description": "The configuration for the ixVolume dataset.",
  3218. "schema": {
  3219. "type": "dict",
  3220. "hidden": true,
  3221. "show_if": [
  3222. [
  3223. "type",
  3224. "=",
  3225. "ixVolume"
  3226. ]
  3227. ],
  3228. "$ref": [
  3229. "normalize/ixVolume"
  3230. ],
  3231. "attrs": [
  3232. {
  3233. "variable": "aclEnable",
  3234. "label": "Enable ACL",
  3235. "description": "Enable ACL for the dataset.",
  3236. "schema": {
  3237. "type": "boolean",
  3238. "hidden": true,
  3239. "default": false
  3240. }
  3241. },
  3242. {
  3243. "variable": "datasetName",
  3244. "label": "Dataset Name",
  3245. "description": "The name of the dataset to use for storage.",
  3246. "schema": {
  3247. "type": "string",
  3248. "required": true,
  3249. "immutable": true,
  3250. "hidden": true,
  3251. "default": "pgBackup"
  3252. }
  3253. },
  3254. {
  3255. "variable": "aclEntries",
  3256. "label": "ACL Configuration",
  3257. "schema": {
  3258. "type": "dict",
  3259. "show_if": [
  3260. [
  3261. "aclEnable",
  3262. "=",
  3263. true
  3264. ]
  3265. ],
  3266. "attrs": [
  3267. {
  3268. "variable": "path",
  3269. "label": "Path",
  3270. "description": "Path to perform ACL",
  3271. "schema": {
  3272. "type": "string",
  3273. "hidden": true
  3274. }
  3275. },
  3276. {
  3277. "variable": "entries",
  3278. "label": "ACL Entries",
  3279. "description": "ACL Entries",
  3280. "schema": {
  3281. "type": "list",
  3282. "items": [
  3283. {
  3284. "variable": "aclEntry",
  3285. "label": "ACL Entry",
  3286. "schema": {
  3287. "type": "dict",
  3288. "attrs": [
  3289. {
  3290. "variable": "id_type",
  3291. "label": "ID Type",
  3292. "schema": {
  3293. "type": "string",
  3294. "enum": [
  3295. {
  3296. "value": "USER",
  3297. "description": "Entry is for a USER"
  3298. },
  3299. {
  3300. "value": "GROUP",
  3301. "description": "Entry is for a GROUP"
  3302. }
  3303. ],
  3304. "default": "USER"
  3305. }
  3306. },
  3307. {
  3308. "variable": "id",
  3309. "label": "ID",
  3310. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  3311. "schema": {
  3312. "type": "int",
  3313. "required": true,
  3314. "min": 0
  3315. }
  3316. },
  3317. {
  3318. "variable": "access",
  3319. "label": "Access",
  3320. "schema": {
  3321. "type": "string",
  3322. "enum": [
  3323. {
  3324. "value": "READ",
  3325. "description": "Read Access"
  3326. },
  3327. {
  3328. "value": "MODIFY",
  3329. "description": "Modify Access"
  3330. },
  3331. {
  3332. "value": "FULL_CONTROL",
  3333. "description": "FULL_CONTROL Access"
  3334. }
  3335. ]
  3336. }
  3337. }
  3338. ]
  3339. }
  3340. }
  3341. ]
  3342. }
  3343. }
  3344. ]
  3345. }
  3346. }
  3347. ]
  3348. }
  3349. },
  3350. {
  3351. "variable": "hostPathConfig",
  3352. "label": "Host Path Configuration",
  3353. "schema": {
  3354. "type": "dict",
  3355. "show_if": [
  3356. [
  3357. "type",
  3358. "=",
  3359. "hostPath"
  3360. ]
  3361. ],
  3362. "attrs": [
  3363. {
  3364. "variable": "aclEnable",
  3365. "label": "Enable ACL",
  3366. "description": "Enable ACL for the dataset.",
  3367. "schema": {
  3368. "type": "boolean",
  3369. "hidden": true,
  3370. "default": false
  3371. }
  3372. },
  3373. {
  3374. "variable": "acl",
  3375. "label": "ACL Configuration",
  3376. "schema": {
  3377. "type": "dict",
  3378. "show_if": [
  3379. [
  3380. "aclEnable",
  3381. "=",
  3382. true
  3383. ]
  3384. ],
  3385. "attrs": [
  3386. {
  3387. "variable": "path",
  3388. "label": "Host Path",
  3389. "description": "Host Path to perform ACL",
  3390. "schema": {
  3391. "type": "hostpath",
  3392. "required": true,
  3393. "empty": false
  3394. }
  3395. },
  3396. {
  3397. "variable": "entries",
  3398. "label": "ACL Entries",
  3399. "description": "ACL Entries",
  3400. "schema": {
  3401. "type": "list",
  3402. "items": [
  3403. {
  3404. "variable": "aclEntry",
  3405. "label": "ACL Entry",
  3406. "schema": {
  3407. "type": "dict",
  3408. "attrs": [
  3409. {
  3410. "variable": "id_type",
  3411. "label": "ID Type",
  3412. "schema": {
  3413. "type": "string",
  3414. "enum": [
  3415. {
  3416. "value": "USER",
  3417. "description": "Entry is for a USER"
  3418. },
  3419. {
  3420. "value": "GROUP",
  3421. "description": "Entry is for a GROUP"
  3422. }
  3423. ],
  3424. "default": "USER"
  3425. }
  3426. },
  3427. {
  3428. "variable": "id",
  3429. "label": "ID",
  3430. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  3431. "schema": {
  3432. "type": "int",
  3433. "required": true,
  3434. "min": 0
  3435. }
  3436. },
  3437. {
  3438. "variable": "access",
  3439. "label": "Access",
  3440. "schema": {
  3441. "type": "string",
  3442. "enum": [
  3443. {
  3444. "value": "READ",
  3445. "description": "Read Access"
  3446. },
  3447. {
  3448. "value": "MODIFY",
  3449. "description": "Modify Access"
  3450. },
  3451. {
  3452. "value": "FULL_CONTROL",
  3453. "description": "FULL_CONTROL Access"
  3454. }
  3455. ]
  3456. }
  3457. }
  3458. ]
  3459. }
  3460. }
  3461. ]
  3462. }
  3463. },
  3464. {
  3465. "variable": "options",
  3466. "label": "ACL Options",
  3467. "schema": {
  3468. "type": "dict",
  3469. "attrs": [
  3470. {
  3471. "variable": "force",
  3472. "label": "Force Flag",
  3473. "description": "Enabling `Force` applies ACL even if the path has existing data",
  3474. "schema": {
  3475. "type": "boolean",
  3476. "default": false
  3477. }
  3478. }
  3479. ]
  3480. }
  3481. }
  3482. ],
  3483. "$ref": [
  3484. "normalize/acl"
  3485. ]
  3486. }
  3487. },
  3488. {
  3489. "variable": "hostPath",
  3490. "label": "Host Path",
  3491. "description": "The host path to use for storage.",
  3492. "schema": {
  3493. "type": "hostpath",
  3494. "show_if": [
  3495. [
  3496. "aclEnable",
  3497. "=",
  3498. false
  3499. ]
  3500. ],
  3501. "immutable": true,
  3502. "required": true
  3503. }
  3504. }
  3505. ]
  3506. }
  3507. }
  3508. ]
  3509. }
  3510. },
  3511. {
  3512. "variable": "additionalStorages",
  3513. "label": "Additional Storage",
  3514. "description": "Additional storage for Odoo.",
  3515. "schema": {
  3516. "type": "list",
  3517. "default": [],
  3518. "items": [
  3519. {
  3520. "variable": "storageEntry",
  3521. "label": "Storage Entry",
  3522. "schema": {
  3523. "type": "dict",
  3524. "attrs": [
  3525. {
  3526. "variable": "type",
  3527. "label": "Type",
  3528. "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",
  3529. "schema": {
  3530. "type": "string",
  3531. "required": true,
  3532. "default": "ixVolume",
  3533. "immutable": true,
  3534. "enum": [
  3535. {
  3536. "value": "hostPath",
  3537. "description": "Host Path (Path that already exists on the system)"
  3538. },
  3539. {
  3540. "value": "ixVolume",
  3541. "description": "ixVolume (Dataset created automatically by the system)"
  3542. },
  3543. {
  3544. "value": "smb-pv-pvc",
  3545. "description": "SMB Share (Mounts a persistent volume claim to a SMB share)"
  3546. }
  3547. ]
  3548. }
  3549. },
  3550. {
  3551. "variable": "readOnly",
  3552. "label": "Read Only",
  3553. "description": "Mount the volume as read only.",
  3554. "schema": {
  3555. "type": "boolean",
  3556. "default": false
  3557. }
  3558. },
  3559. {
  3560. "variable": "mountPath",
  3561. "label": "Mount Path",
  3562. "description": "The path inside the container to mount the storage.",
  3563. "schema": {
  3564. "type": "path",
  3565. "required": true
  3566. }
  3567. },
  3568. {
  3569. "variable": "hostPathConfig",
  3570. "label": "Host Path Configuration",
  3571. "schema": {
  3572. "type": "dict",
  3573. "show_if": [
  3574. [
  3575. "type",
  3576. "=",
  3577. "hostPath"
  3578. ]
  3579. ],
  3580. "attrs": [
  3581. {
  3582. "variable": "aclEnable",
  3583. "label": "Enable ACL",
  3584. "description": "Enable ACL for the dataset.",
  3585. "schema": {
  3586. "type": "boolean",
  3587. "default": false
  3588. }
  3589. },
  3590. {
  3591. "variable": "acl",
  3592. "label": "ACL Configuration",
  3593. "schema": {
  3594. "type": "dict",
  3595. "show_if": [
  3596. [
  3597. "aclEnable",
  3598. "=",
  3599. true
  3600. ]
  3601. ],
  3602. "attrs": [
  3603. {
  3604. "variable": "path",
  3605. "label": "Host Path",
  3606. "description": "Host Path to perform ACL",
  3607. "schema": {
  3608. "type": "hostpath",
  3609. "required": true,
  3610. "empty": false
  3611. }
  3612. },
  3613. {
  3614. "variable": "entries",
  3615. "label": "ACL Entries",
  3616. "description": "ACL Entries",
  3617. "schema": {
  3618. "type": "list",
  3619. "items": [
  3620. {
  3621. "variable": "aclEntry",
  3622. "label": "ACL Entry",
  3623. "schema": {
  3624. "type": "dict",
  3625. "attrs": [
  3626. {
  3627. "variable": "id_type",
  3628. "label": "ID Type",
  3629. "schema": {
  3630. "type": "string",
  3631. "enum": [
  3632. {
  3633. "value": "USER",
  3634. "description": "Entry is for a USER"
  3635. },
  3636. {
  3637. "value": "GROUP",
  3638. "description": "Entry is for a GROUP"
  3639. }
  3640. ],
  3641. "default": "USER"
  3642. }
  3643. },
  3644. {
  3645. "variable": "id",
  3646. "label": "ID",
  3647. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  3648. "schema": {
  3649. "type": "int",
  3650. "required": true,
  3651. "min": 0
  3652. }
  3653. },
  3654. {
  3655. "variable": "access",
  3656. "label": "Access",
  3657. "schema": {
  3658. "type": "string",
  3659. "enum": [
  3660. {
  3661. "value": "READ",
  3662. "description": "Read Access"
  3663. },
  3664. {
  3665. "value": "MODIFY",
  3666. "description": "Modify Access"
  3667. },
  3668. {
  3669. "value": "FULL_CONTROL",
  3670. "description": "FULL_CONTROL Access"
  3671. }
  3672. ]
  3673. }
  3674. }
  3675. ]
  3676. }
  3677. }
  3678. ]
  3679. }
  3680. },
  3681. {
  3682. "variable": "options",
  3683. "label": "ACL Options",
  3684. "schema": {
  3685. "type": "dict",
  3686. "attrs": [
  3687. {
  3688. "variable": "force",
  3689. "label": "Force Flag",
  3690. "description": "Enabling `Force` applies ACL even if the path has existing data",
  3691. "schema": {
  3692. "type": "boolean",
  3693. "default": false
  3694. }
  3695. }
  3696. ]
  3697. }
  3698. }
  3699. ],
  3700. "$ref": [
  3701. "normalize/acl"
  3702. ]
  3703. }
  3704. },
  3705. {
  3706. "variable": "hostPath",
  3707. "label": "Host Path",
  3708. "description": "The host path to use for storage.",
  3709. "schema": {
  3710. "type": "hostpath",
  3711. "show_if": [
  3712. [
  3713. "aclEnable",
  3714. "=",
  3715. false
  3716. ]
  3717. ],
  3718. "immutable": true,
  3719. "required": true
  3720. }
  3721. }
  3722. ]
  3723. }
  3724. },
  3725. {
  3726. "variable": "ixVolumeConfig",
  3727. "label": "ixVolume Configuration",
  3728. "description": "The configuration for the ixVolume dataset.",
  3729. "schema": {
  3730. "type": "dict",
  3731. "show_if": [
  3732. [
  3733. "type",
  3734. "=",
  3735. "ixVolume"
  3736. ]
  3737. ],
  3738. "$ref": [
  3739. "normalize/ixVolume"
  3740. ],
  3741. "attrs": [
  3742. {
  3743. "variable": "aclEnable",
  3744. "label": "Enable ACL",
  3745. "description": "Enable ACL for the dataset.",
  3746. "schema": {
  3747. "type": "boolean",
  3748. "default": false
  3749. }
  3750. },
  3751. {
  3752. "variable": "datasetName",
  3753. "label": "Dataset Name",
  3754. "description": "The name of the dataset to use for storage.",
  3755. "schema": {
  3756. "type": "string",
  3757. "required": true,
  3758. "immutable": true,
  3759. "default": "storage_entry"
  3760. }
  3761. },
  3762. {
  3763. "variable": "aclEntries",
  3764. "label": "ACL Configuration",
  3765. "schema": {
  3766. "type": "dict",
  3767. "show_if": [
  3768. [
  3769. "aclEnable",
  3770. "=",
  3771. true
  3772. ]
  3773. ],
  3774. "attrs": [
  3775. {
  3776. "variable": "path",
  3777. "label": "Path",
  3778. "description": "Path to perform ACL",
  3779. "schema": {
  3780. "type": "string",
  3781. "hidden": true
  3782. }
  3783. },
  3784. {
  3785. "variable": "entries",
  3786. "label": "ACL Entries",
  3787. "description": "ACL Entries",
  3788. "schema": {
  3789. "type": "list",
  3790. "items": [
  3791. {
  3792. "variable": "aclEntry",
  3793. "label": "ACL Entry",
  3794. "schema": {
  3795. "type": "dict",
  3796. "attrs": [
  3797. {
  3798. "variable": "id_type",
  3799. "label": "ID Type",
  3800. "schema": {
  3801. "type": "string",
  3802. "enum": [
  3803. {
  3804. "value": "USER",
  3805. "description": "Entry is for a USER"
  3806. },
  3807. {
  3808. "value": "GROUP",
  3809. "description": "Entry is for a GROUP"
  3810. }
  3811. ],
  3812. "default": "USER"
  3813. }
  3814. },
  3815. {
  3816. "variable": "id",
  3817. "label": "ID",
  3818. "description": "Make sure to check the ID value is correct and aligns with RunAs user context of the application",
  3819. "schema": {
  3820. "type": "int",
  3821. "required": true,
  3822. "min": 0
  3823. }
  3824. },
  3825. {
  3826. "variable": "access",
  3827. "label": "Access",
  3828. "schema": {
  3829. "type": "string",
  3830. "enum": [
  3831. {
  3832. "value": "READ",
  3833. "description": "Read Access"
  3834. },
  3835. {
  3836. "value": "MODIFY",
  3837. "description": "Modify Access"
  3838. },
  3839. {
  3840. "value": "FULL_CONTROL",
  3841. "description": "FULL_CONTROL Access"
  3842. }
  3843. ]
  3844. }
  3845. }
  3846. ]
  3847. }
  3848. }
  3849. ]
  3850. }
  3851. }
  3852. ]
  3853. }
  3854. }
  3855. ]
  3856. }
  3857. },
  3858. {
  3859. "variable": "smbConfig",
  3860. "label": "SMB Share Configuration",
  3861. "description": "The configuration for the SMB Share.",
  3862. "schema": {
  3863. "type": "dict",
  3864. "show_if": [
  3865. [
  3866. "type",
  3867. "=",
  3868. "smb-pv-pvc"
  3869. ]
  3870. ],
  3871. "attrs": [
  3872. {
  3873. "variable": "server",
  3874. "label": "Server",
  3875. "description": "The server for the SMB share.",
  3876. "schema": {
  3877. "type": "string",
  3878. "required": true
  3879. }
  3880. },
  3881. {
  3882. "variable": "share",
  3883. "label": "Share",
  3884. "description": "The share name for the SMB share.",
  3885. "schema": {
  3886. "type": "string",
  3887. "required": true
  3888. }
  3889. },
  3890. {
  3891. "variable": "domain",
  3892. "label": "Domain (Optional)",
  3893. "description": "The domain for the SMB share.",
  3894. "schema": {
  3895. "type": "string"
  3896. }
  3897. },
  3898. {
  3899. "variable": "username",
  3900. "label": "Username",
  3901. "description": "The username for the SMB share.",
  3902. "schema": {
  3903. "type": "string",
  3904. "required": true
  3905. }
  3906. },
  3907. {
  3908. "variable": "password",
  3909. "label": "Password",
  3910. "description": "The password for the SMB share.",
  3911. "schema": {
  3912. "type": "string",
  3913. "required": true,
  3914. "private": true
  3915. }
  3916. },
  3917. {
  3918. "variable": "size",
  3919. "label": "Size (in Gi)",
  3920. "description": "The size of the volume quota.",
  3921. "schema": {
  3922. "type": "int",
  3923. "required": true,
  3924. "min": 1,
  3925. "default": 1
  3926. }
  3927. }
  3928. ]
  3929. }
  3930. }
  3931. ]
  3932. }
  3933. }
  3934. ]
  3935. }
  3936. }
  3937. ]
  3938. }
  3939. },
  3940. {
  3941. "variable": "resources",
  3942. "label": "",
  3943. "group": "Resources Configuration",
  3944. "schema": {
  3945. "type": "dict",
  3946. "attrs": [
  3947. {
  3948. "variable": "limits",
  3949. "label": "Limits",
  3950. "schema": {
  3951. "type": "dict",
  3952. "attrs": [
  3953. {
  3954. "variable": "cpu",
  3955. "label": "CPU",
  3956. "description": "CPU limit for Odoo.",
  3957. "schema": {
  3958. "type": "string",
  3959. "max_length": 6,
  3960. "valid_chars": "^(0\\.[1-9]|[1-9][0-9]*)(\\.[0-9]|m?)$",
  3961. "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",
  3962. "default": "4000m",
  3963. "required": true
  3964. }
  3965. },
  3966. {
  3967. "variable": "memory",
  3968. "label": "Memory",
  3969. "description": "Memory limit for Odoo.",
  3970. "schema": {
  3971. "type": "string",
  3972. "max_length": 12,
  3973. "valid_chars": "^[1-9][0-9]*([EPTGMK]i?|e[0-9]+)?$",
  3974. "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",
  3975. "default": "8Gi",
  3976. "required": true
  3977. }
  3978. }
  3979. ]
  3980. }
  3981. }
  3982. ]
  3983. }
  3984. }
  3985. ]
  3986. },
  3987. "app_readme": "<h1>Odoo</h1>\n<p><a href=\"https://odoo.com\">Odoo</a> is a suite of web based open source business apps.</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>",
  3988. "detailed_readme": "<h1>Odoo</h1>\n<p><a href=\"https://odoo.com\">Odoo</a> is a suite of web based open source business apps.</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>",
  3989. "changelog": null
  3990. }
  3991. }