Mint System Odoo This Helm chart deploys Odoo with PostgreSQL.
Secrets Setup a odoo-creds secret with GitHub credentials to download private repos.
bash kubectl create secret generic odoo-creds \
--from-literal=GITHUB_USERNAME= " $github_username " \
--from-literal=GITHUB_PAT= " $github_pat " \
--from-literal=GITLAB_USERNAME= " $gitlab_username " \
--from-literal=GITLAB_PAT= " $gitlab_pat " \
-n $namespace The K8up backup requires a s3-credentials and a backup-repo secret. Here is an example for Exoscale SOS:
bash kubectl create secret generic s3-credentials \
--from-literal=username= " $exoscale_iam_key " \
--from-literal=password= " $exoscale_iam_secret " \
-n $namespace Jobs There is suspended <release>-staging-reset job that copies the main database and volume to the staging enviroment. Then the job neutralizes the Odoo database. To run the job:
bash kubectl create job --from=cronjob/ < release > -staging-reset < releas e > -staging-reset-run Parameters Ingress parameters Name Description Value ingress.enabledEnable or disable the ingress trueingress.classNameThe class name for the ingress ""ingress.clusterIssuerRefThe cluster issuer reference for the ingress nilingress.hostThe host for the ingress ""ingress.customDomainThe custom domain for the ingress ""ingress.staging.customDomainThe custom domain for the staging ingress ""
vshnPostgres parameters Name Description Value vshnPostgres.enabledEnable or disable vshnPostgres falsevshnPostgres.secretRefThe secret reference for vshnPostgres odoo-postgresqlvshnPostgres.client.enabledEnable or disable the vshnPostgres client false
Postgres parameters Name Description Value postgres.enabledEnable or disable Postgres falsepostgres.dbThe database name for Postgres odoopostgres.userThe username for Postgres odoopostgres.secretRefThe secret reference for Postgres odoo-postgrespostgres.storageClassNameSet the storage class standard
CloudNativePG parameters Name Description Value cnpg.enabledEnable or disable CloudNativePG truecnpg.nameOverrideOverride the name of the CloudNativePG cluster ""cnpg.instancesNumber of instances (1 for single, 2+ for high availability) 1cnpg.storage.sizePersistent volume size for each instance 8Gicnpg.databaseName of the CloudNativePG database to create odoocnpg.ownerName of the database user app
Odoo parameters Name Description Value enabledEnable or disable Odoo trueimageThe image for Odoo ""replicasNumber of Odoo replicas 1imagePullPolicyPull policy for Odoo image AlwaysproxyModeEnable or disable proxy mode for Odoo truedownloadOdooEnterpriseEnable or disable downloading Odoo Enterprise falseaddonsGitReposList of addon Git repositories for Odoo ["https://github.com/Mint-System/Odoo-Apps-Server-Tools.git","https://github.com/OCA/Server-Tools.git"]pythonInstallList of python packages to insall []databaseThe database for odoo odooinit.langThe initial language for Odoo de_CHinit.loginThe initial username for Odoo admin account ""init.passwordThe initial passwod for Odoo admin account ""listDBEnable or disable listing databases for Odoo falseworkersDefine the amount of Odoo workers to spawn 5secretRefThe secret reference for Odoo odoo-credsstorageClassNameSet the storage class ""
Resources requests and limits Name Description Value resources.requests.memoryMemory request for the container 1Giresources.requests.cpuCPU request for the container 250mresources.limits.memoryMemory limit for the container 2Gi
K8up parameters Name Description Value k8up.enabledEnable or disable K8up falsek8up.endpointS3 endpoint ""k8up.bucketS3 bucket name ""
Staging parameters Name Description Value staging.enabledEnable or disable staging deployment falsestaging.imageThe image for Odoo staging ""staging.nameName of the staging environment (used in staging ingress) staging
Upgrade parameters Name Description Value upgrade.enabledEnable or disable the upgrade job falseupgrade.imageThe image for the Odoo upgrade job mintsystem/odoo-upgrade:16upgrade.databaseThe target database for the upgrade upgradeupgrade.targetVersionThe target Odoo version for the upgrade ""upgrade.modeThe upgrade mode (test or production) test