Skip to content

Commit

Permalink
Merge pull request #26 from GlodoUK/T3021
Browse files Browse the repository at this point in the history
feat(charts/odoo): expose the web Deployment Strategy, address #25, T…
  • Loading branch information
theangryangel authored Jul 11, 2022
2 parents 40f3a52 + fa6b0a1 commit bef20e1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
6 changes: 4 additions & 2 deletions charts/odoo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 3 additions & 2 deletions charts/odoo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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)
2 changes: 2 additions & 0 deletions charts/odoo/templates/web/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/odoo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bef20e1

Please sign in to comment.