diff --git a/charts/odoo/Chart.yaml b/charts/odoo/Chart.yaml index 7330f78..f7a2cf4 100644 --- a/charts/odoo/Chart.yaml +++ b/charts/odoo/Chart.yaml @@ -14,6 +14,8 @@ maintainers: url: https://www.glo.systems/ # XXX: Please remember to bump this on every modification. -# Due to the fact that this chart is Odoo version agnostic, please use the date +# Due to the fact that this chart is Odoo version agnostic, please use the form +# YYYYMMVERSION (i.e. 20220701 for the 1st version in July 2022, 20220702 for +# the 2nd in July 2022, 20220801 for the 1st version in August 2022, etc.) # as the patch part of the version string. -version: 1.0.20220621 +version: 1.0.20220701 diff --git a/charts/odoo/README.md b/charts/odoo/README.md index f8cc7c6..8cd11de 100644 --- a/charts/odoo/README.md +++ b/charts/odoo/README.md @@ -2,7 +2,7 @@ An opinionated "Bring Your Own Image" Doodba (Odoo) Helm chart for Kubernetes -![Version: 1.0.20220621](https://img.shields.io/badge/Version-1.0.20220621-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) +![Version: 1.0.20220701](https://img.shields.io/badge/Version-1.0.20220701-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) Opinionated odoo Bring Your Own Image chart designed for running [Doodba](https://github.com/Tecnativa/doodba) based Odoo deployments with Glodo defaults. @@ -108,7 +108,8 @@ $ helm install my-release glodo/odoo -f ./helm-values.yaml | web.resources | object | `{}` | | | web.securityContext | object | `{}` | | | web.service.type | string | `"ClusterIP"` | | +| web.strategy | object | `{"type":"RollingUpdate"}` | kubernetes Deployment strategy, note: queue is always set to Recreate, | | web.tolerations | list | `[]` | | ---------------------------------------------- -Autogenerated from chart metadata using [helm-docs v1.10.0](https://github.com/norwoodj/helm-docs/releases/v1.10.0) +Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0) diff --git a/charts/odoo/templates/web/deployment.yaml b/charts/odoo/templates/web/deployment.yaml index 4714061..4082c18 100644 --- a/charts/odoo/templates/web/deployment.yaml +++ b/charts/odoo/templates/web/deployment.yaml @@ -7,6 +7,8 @@ metadata: {{- include "odoo.web.labels" . | nindent 4 }} spec: replicas: {{ .Values.web.replicaCount }} + strategy: + {{- toYaml .Values.web.strategy | nindent 4 }} selector: matchLabels: {{- include "odoo.web.selectorLabels" . | nindent 6 }} diff --git a/charts/odoo/values.yaml b/charts/odoo/values.yaml index bd9d20d..9a460ba 100644 --- a/charts/odoo/values.yaml +++ b/charts/odoo/values.yaml @@ -85,6 +85,10 @@ web: service: type: ClusterIP + # -- kubernetes Deployment strategy, note: queue is always set to Recreate, + strategy: + type: RollingUpdate + dns: # -- enables external-dns CRD (DNSEndpoint) creation enabled: false