Skip to content

Mint System Odoo

This Helm chart deploys Odoo with PostgreSQL.

Secrets

Setup a odoo-creds secret with GitHub credentials to download private Repos.

bash
GITHUB_USERNAME="<username>"
GITHUB_PAT="*******"
kubectl create secret generic odoo-creds \
    --from-literal=GITHUB_USERNAME="$GITHUB_USERNAME" \
    --from-literal=GITHUB_PAT="$GITHUB_PAT" \
    -n <namespace>

The K8up backup requires a s3-credentials secret. Here is an example for Exoscale SOS:

bash
EXOSCALE_IAM_KEY="*******"
EXOSCALE_IAM_SECRET="*******"
kubectl create secret generic s3-credentials \
    --from-literal=endpoint="https://sos-ch-gva-2.exo.io" \
    --from-literal=bucket="k8up.mintcloud.ch" \
    --from-literal=username="$EXOSCALE_IAM_KEY" \
    --from-literal=password="$EXOSCALE_IAM_SECRET" \
    -n <namespace>

Parameters

Ingress parameters

NameDescriptionValue
ingress.enabledEnable or disable the ingresstrue
ingress.classNameThe class name for the ingressnginx
ingress.clusterIssuerRefThe cluster issuer reference for the ingressnil
ingress.hostThe host for the ingress""
ingress.customDomainThe custom domain for the ingress""

vshnPostgres parameters

NameDescriptionValue
vshnPostgres.enabledEnable or disable vshnPostgresfalse
vshnPostgres.secretRefThe secret reference for vshnPostgresodoo-postgresql
vshnPostgres.client.enabledEnable or disable the vshnPostgres clientfalse

Postgres parameters

NameDescriptionValue
postgres.enabledEnable or disable Postgresfalse
postgres.dbThe database name for Postgresodoo
postgres.userThe username for Postgresodoo
postgres.secretRefThe secret reference for Postgresodoo-postgres
postgres.storageClassNameSet the storage classstandard

CloudNativePG parameters

NameDescriptionValue
cnpg.enabledEnable or disable CloudNativePGtrue
cnpg.nameOverrideOverride the name of the CloudNativePG cluster""
cnpg.instancesNumber of instances (1 for single, 2+ for high availability)1
cnpg.storage.sizePersistent volume size for each instance8Gi
cnpg.databaseName of the CloudNativePG database to createodoo
cnpg.ownerName of the database userapp

Odoo parameters

NameDescriptionValue
enabledEnable or disable Odootrue
imageThe image for Odoomintsystem/odoo:18.0.20250725
imagePullPolicyPull policy for Odoo imageAlways
proxyModeEnable or disable proxy mode for Odootrue
downloadOdooEnterpriseEnable or disable downloading Odoo Enterprisefalse
addonsGitReposList of addon Git repositories for Odoo["https://github.com/Mint-System/Odoo-Apps-Server-Tools.git#18.0","https://github.com/OCA/Server-Tools.git#18.0","https://github.com/OCA/Project.git#18.0"]
databaseThe database for odooodoo
initLangThe initial language for Odoode_CH
initLoginThe initial login for Odooadmin
listDBEnable or disable listing databases for Odoofalse
secretRefThe secret reference for Odooodoo-creds
storageClassNameSet the storage class""

K8up parameters

NameDescriptionValue
k8up.enabledEnable or disable K8upfalse