diff --git a/stable/jasperreports/Chart.yaml b/stable/jasperreports/Chart.yaml index 1bc48dd16d..714ae29417 100644 --- a/stable/jasperreports/Chart.yaml +++ b/stable/jasperreports/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: jasperreports -version: 4.2.1 +version: 4.2.2 appVersion: 7.2.0 description: The JasperReports server can be used as a stand-alone or embedded reporting and BI server that offers web-based reporting, analytic tools and visualization, diff --git a/stable/jasperreports/README.md b/stable/jasperreports/README.md index 090e161431..4f850e57d4 100644 --- a/stable/jasperreports/README.md +++ b/stable/jasperreports/README.md @@ -53,7 +53,7 @@ The following table lists the configurable parameters of the JasperReports chart | `global.imagePullSecrets` | Global Docker registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | | `image.registry` | JasperReports image registry | `docker.io` | | `image.repository` | JasperReports Image name | `bitnami/jasperreports` | -| `image.tag` | JasperReports Image tag | `{VERSION}` | +| `image.tag` | JasperReports Image tag | `{TAG_NAME}` | | `image.pullPolicy` | Image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` | | `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` (does not add image pull secrets to deployed pods) | | `jasperreportsUsername` | User of the application | `user` | @@ -117,6 +117,12 @@ $ helm install --name my-release -f values.yaml stable/jasperreports > **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 JasperReports](https://github.com/bitnami/bitnami-docker-jasperreports) image stores the JasperReports data and configurations at the `/bitnami/jasperreports` path of the container. diff --git a/stable/jasperreports/templates/NOTES.txt b/stable/jasperreports/templates/NOTES.txt index c7c9717b7d..6f5dccb17a 100644 --- a/stable/jasperreports/templates/NOTES.txt +++ b/stable/jasperreports/templates/NOTES.txt @@ -46,3 +46,10 @@ host. To configure JasperReports to use and external database host: helm upgrade {{ .Release.Name }} --set service.type={{ .Values.service.type }},mariadb.enabled=false,externalDatabase.host=YOUR_EXTERNAL_DATABASE_HOST stable/jasperreports {{- end }} + +{{- 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/jasperreports/values.yaml b/stable/jasperreports/values.yaml index b3e842af68..9e5c3907a3 100644 --- a/stable/jasperreports/values.yaml +++ b/stable/jasperreports/values.yaml @@ -13,7 +13,7 @@ image: registry: docker.io repository: bitnami/jasperreports - tag: 7.2.0 + tag: 7.2.0-debian-9-r5 ## 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