This is based on Openworx code (LGPLv3) these modifications are published as is under AGPLv3.
I love Kubernetes, but when its time to develop. It becomes complicated !
You always need to copy from local to your container…
Some solutions exists:
- Okteto
- Tilt
Here I choosed Tilt.
- install Tilt for your plaform
- edit Tiltfile by replacing kubernetesOCI with your own Kubernetes context
- copy
sample_values.yaml
to_values.yaml
and edit it for your needs. Probably the most important changes are the different hostnames and passwords. - run
tilt up
- browse http://localhost:10350/ for watching the deployement
- browse the host you configured in
_values.yaml
for your odoo deployement
- this is a template
- because odoo doesn't like starting with bugged modules, the first deployement is manual.
- on Tilt UI Hit push module
- now in odoo refresh the App list and (without the App filter) you can find my_module
odoo-bin --config /opt/bitnami/odoo/conf/odoo.conf -u iban_on_invoice_module