https://github.com/imio/helm-odoo
Helm Chart for Odoo
https://github.com/imio/helm-odoo
Last synced: 4 months ago
JSON representation
Helm Chart for Odoo
- Host: GitHub
- URL: https://github.com/imio/helm-odoo
- Owner: IMIO
- License: apache-2.0
- Created: 2024-12-17T09:44:25.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-15T10:48:33.000Z (5 months ago)
- Last Synced: 2025-01-15T12:38:51.803Z (5 months ago)
- Language: Shell
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Helm Chart for Odoo
[](https://opensource.org/licenses/Apache-2.0)   
## Introduction
This [Helm](https://helm.sh/) chart installs `Odoo` in a [Kubernetes](https://kubernetes.io/) cluster.
> [!IMPORTANT]
> This helm chart is designed for @IMIO specific needs and is not intended to resolve all use cases. But we are open to contributions and suggestions to improve this helm chart.
> This helm chart runs an Odoo in version 16.0, it may not work with other versions.## Prerequisites
- Kubernetes cluster 1.18+
- Helm 3.8.0+
- PV provisioner support in the underlying infrastructure.
- Postgres DB (This chart can install a postgresql database based on the bitnami/postgresql chart). We use it for testing purposes.## Why do we not use the bitnami/odoo chart?
- we want to use the official Odoo Docker Image or our custom Odoo Docker Image.
- we need some specific configuration for our Odoo instance.## Installation
### Pull Helm release
```bash
helm repo add imio https://imio.github.io/helm-charts
helm repo update
```### Configure the chart
The following items can be set via `--set` flag during installation or configured by editing the `values.yaml` directly (need to download the chart first).
See the [values.yaml](values.yaml) file for more information.
### Install the chart
```bash
helm install [RELEASE_NAME] imio/odoo
```or by cloning this repository:
```bash
git clone https://github.com/imio/helm-odoo.git
cd helm-odoo
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update
helm dep up
helm upgrade odoo . -f values.yaml --namespace odoo --create-namespace --install
```## Configuration
The following table lists the configurable parameters of the plausible-analytics chart and the default values.
See the [values.yaml](values.yaml) file for more information.
### Use an existing Secret for Odoo configuration
You can use an existing secret for the Odoo configuration.
In the `values.yaml` file, set the `existingSecret.enabled` parameter to `true`.
Then, you need to have a Secret in your namespace with the following name: `your-release-name`-odoo-odoo-conf
Or if you set the `fullnameOverride` parameter, the Secret name will be `fullnameOverride`-odoo-conf.### Use external-secret.io for Odoo configuration
In the `values.yaml` file, set the `externalsecrets.enabled` parameter to `true`.
You need to have the external-secret.io operator installed in your cluster. See the [external-secrets.io](documentation] for more information.
## Local Setup for development
Create a kind cluster:
```bash
cat <