app_versions.json 319 KB

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