mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/jasperreports] Refactor image property in values.yaml (#4641)
* [stable/jasperreports] Refactor image properties in values.yaml * Delete duplicated property * Use rolling tag and refactor pullSecrets * Fix lint issue * Update Chart.yaml
This commit is contained in:
committed by
k8s-ci-robot
parent
204364cd12
commit
196ab16388
@@ -1,5 +1,5 @@
|
||||
name: jasperreports
|
||||
version: 0.3.1
|
||||
version: 1.0.0
|
||||
appVersion: 6.4.2
|
||||
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,
|
||||
|
||||
@@ -47,8 +47,11 @@ The following table lists the configurable parameters of the JasperReports chart
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|-------------------------------|----------------------------------------------|----------------------------------------------------------|
|
||||
| `image` | JasperReports image | `bitnami/jasperreports:{VERSION}` |
|
||||
| `imagePullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `image.registry` | JasperReports image registry | `docker.io` |
|
||||
| `image.repository` | JasperReports Image name | `bitnami/jasperreports` |
|
||||
| `image.tag` | JasperReports Image tag | `{VERSION}` |
|
||||
| `image.pullPolicy` | Image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify image pull secrets | `nil` |
|
||||
| `jasperreportsUsername` | User of the application | `user` |
|
||||
| `jasperreportsPassword` | Application password | _random 10 character long alphanumeric string_ |
|
||||
| `jasperreportsEmail` | User email | `user@example.com` |
|
||||
|
||||
@@ -13,10 +13,16 @@ spec:
|
||||
labels:
|
||||
app: {{ template "jasperreports.fullname" . }}
|
||||
spec:
|
||||
{{- if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- range .Values.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "jasperreports.fullname" . }}
|
||||
image: "{{ .Values.image }}"
|
||||
imagePullPolicy: {{ .Values.imagePullPolicy | quote }}
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
|
||||
env:
|
||||
- name: ALLOW_EMPTY_PASSWORD
|
||||
value: {{ .Values.allowEmptyPassword | quote }}
|
||||
|
||||
@@ -1,12 +1,21 @@
|
||||
## Bitnami JasperReports image version
|
||||
## ref: https://hub.docker.com/r/bitnami/jasperreports/tags/
|
||||
## ref: https://hub.docker.com/r/bitnami/dokuwiki/tags/
|
||||
##
|
||||
image: bitnami/jasperreports:6.4.2-r4
|
||||
|
||||
## Specify a imagePullPolicy
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
##
|
||||
imagePullPolicy: IfNotPresent
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/jasperreports
|
||||
tag: 6.4.2
|
||||
## 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
|
||||
##
|
||||
pullPolicy: IfNotPresent
|
||||
## Optionally specify an array of imagePullSecrets.
|
||||
## Secrets must be manually created in the namespace.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
|
||||
## User of the application
|
||||
## ref: https://github.com/bitnami/bitnami-docker-jasperreports#configuration
|
||||
|
||||
Reference in New Issue
Block a user