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 and a backup-repo secret. Here is an example for Exoscale SOS:

bash
EXOSCALE_IAM_KEY="*******"
EXOSCALE_IAM_SECRET="*******"
kubectl create secret generic s3-credentials \
    --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 Odoo""
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"]
pythonInstallList of python packages to insall[]
databaseThe database for odooodoo
init.langThe initial language for Odoode_CH
init.loginThe initial username for Odoo admin account""
init.passwordThe initial passwod for Odoo admin account""
listDBEnable or disable listing databases for Odoofalse
workersDefine the amount of Odoo workers to spawn4
secretRefThe secret reference for Odooodoo-creds
storageClassNameSet the storage class""

K8up parameters

NameDescriptionValue
k8up.enabledEnable or disable K8upfalse
k8up.endpointS3 endpoint""
k8up.bucketS3 bucket name""

Staging parameters

NameDescriptionValue
staging.enabledEnable or disable staging deploymentfalse
staging.nameName of the staging environment (used in staging ingress: staging.name.ingress.host)staging