diff --git a/stable/odoo/Chart.yaml b/stable/odoo/Chart.yaml index f38892d10e..018dfd3c44 100644 --- a/stable/odoo/Chart.yaml +++ b/stable/odoo/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: odoo -version: 8.0.1 +version: 8.0.2 appVersion: 12.0.20190515 description: A suite of web based open source business apps. home: https://www.odoo.com/ diff --git a/stable/odoo/README.md b/stable/odoo/README.md index 33da0126a7..0212bace13 100644 --- a/stable/odoo/README.md +++ b/stable/odoo/README.md @@ -53,7 +53,7 @@ The following table lists the configurable parameters of the Odoo chart and thei | `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | | `image.registry` | Odoo image registry | `docker.io` | | `image.repository` | Odoo Image name | `bitnami/odoo` | -| `image.tag` | Odoo Image tag | `{VERSION}` | +| `image.tag` | Odoo Image tag | `{TAG_NAME}` | | `image.pullPolicy` | Image pull policy | `Always` | | `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | | `odooUsername` | User of the application | `user@example.com` | @@ -123,6 +123,12 @@ $ helm install --name my-release -f values.yaml stable/odoo > **Tip**: You can use the default [values.yaml](values.yaml) +### [Rolling VS Immutable tags](https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/) + +It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image. + +Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist. + ## Persistence The [Bitnami Odoo](https://github.com/bitnami/bitnami-docker-odoo) image stores the Odoo data and configurations at the `/bitnami/odoo` path of the container. diff --git a/stable/odoo/templates/NOTES.txt b/stable/odoo/templates/NOTES.txt index c9a711cb19..ea961082fb 100644 --- a/stable/odoo/templates/NOTES.txt +++ b/stable/odoo/templates/NOTES.txt @@ -41,3 +41,10 @@ echo Email : {{ .Values.odooEmail }} echo Password: $(kubectl get secret --namespace {{ .Release.Namespace }} {{ template "odoo.fullname" . }} -o jsonpath="{.data.odoo-password}" | base64 --decode) + +{{- if and (contains "bitnami/" .Values.image.repository) (not (.Values.image.tag | regexFind "-r\\d+$")) }} + +WARNING: Rolling tag detected ({{ .Values.image.repository }}:{{ .Values.image.tag }}), please note that it is strongly recommended to avoid using rolling tags in a production environment. ++info https://docs.bitnami.com/containers/how-to/understand-rolling-tags-containers/ + +{{- end }} diff --git a/stable/odoo/values.yaml b/stable/odoo/values.yaml index 9c792ab3e7..11f6934e5e 100644 --- a/stable/odoo/values.yaml +++ b/stable/odoo/values.yaml @@ -13,7 +13,7 @@ image: registry: docker.io repository: bitnami/odoo - tag: 12.0.20190515 + tag: 12.0.20190515-debian-9-r7 ## Specify a imagePullPolicy ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images