app_versions.json 160 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999
  1. {
  2. "1.1.1": {
  3. "healthy": true,
  4. "supported": false,
  5. "healthy_error": null,
  6. "location": "/__w/charts/charts/community/odoo/1.1.1",
  7. "last_update": "2023-12-03 13:45:06",
  8. "required_features": [
  9. "normalize/acl",
  10. "normalize/ixVolume"
  11. ],
  12. "human_version": "16.0_1.1.1",
  13. "version": "1.1.1",
  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": "1.1.1",
  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. }