[bitnami/jasperreports] allow service annotations (#2479)

* allow service annotations in jasperreports chart

* fixed default and added value to README

* bump minor version

* bump to version 7.1.0

* Minor change to follow comments standard

* [bitnami/jasperreports] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Kai Walter
2020-05-01 08:51:08 +00:00
committed by GitHub
parent a0b7f1f237
commit 50225b2554
4 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: jasperreports
version: 7.0.15
version: 7.1.0
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,

View File

@@ -97,6 +97,7 @@ The following table lists the configurable parameters of the JasperReports chart
| `service.externalTrafficPolicy` | Enable client source IP preservation | `Cluster` |
| `service.port` | Service HTTP port | `80` |
| `service.nodePorts.http` | Kubernetes http node port | `""` |
| `service.annotations` | Service annotations | `[]` |
| `persistence.enabled` | Enable persistence using PVC | `true` |
| `persistence.storageClass` | PVC Storage Class for JasperReports volume | `nil` (uses alpha storage annotation) |
| `persistence.accessMode` | PVC Access Mode for JasperReports volume | `ReadWriteOnce` |

View File

@@ -2,6 +2,12 @@ apiVersion: v1
kind: Service
metadata:
name: {{ template "jasperreports.fullname" . }}
{{- if .Values.service.annotations }}
annotations:
{{- range $key, $value := .Values.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
app: "{{ template "jasperreports.fullname" . }}"
chart: "{{ template "jasperreports.chart" . }}"

View File

@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/jasperreports
tag: 7.2.0-debian-10-r63
tag: 7.2.0-debian-10-r72
## 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
@@ -147,6 +147,9 @@ service:
## ref http://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
##
externalTrafficPolicy: Cluster
## Service annotations done as key:value pairs
##
annotations:
## Enable persistence using Persistent Volume Claims
## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/