GlodoUK / helm-charts

7 stars 2 forks source link

odoo: add healthcheck by default #31

Closed theangryangel closed 1 year ago

theangryangel commented 2 years ago

As odoo can take a few seconds/minute to boot up, depending on the speed of the node, and then complexity of the project, we should include a healthcheck by default.

It should hit an endpoint that exists out of the box, as we have images out there without any customisations at all.

theangryangel commented 1 year ago

https://github.com/odoo/odoo/blob/15.0/addons/web/controllers/main.py#L907-L914 15.0+ looks to have an endpoint we can plug into. We should just use this.