From ee571ffd6046284a5efe83dc265150622b6cecff Mon Sep 17 00:00:00 2001 From: Bort Verwilst Date: Fri, 20 Dec 2019 22:55:33 +0100 Subject: [PATCH] update to 0.27.5, allow extra env vars (#19722) Signed-off-by: Bart Verwilst --- stable/bookstack/Chart.yaml | 4 ++-- stable/bookstack/README.md | 3 ++- stable/bookstack/templates/deployment.yaml | 4 ++++ stable/bookstack/values.yaml | 4 +++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/stable/bookstack/Chart.yaml b/stable/bookstack/Chart.yaml index 3d91f6a111..46a6f8d37d 100644 --- a/stable/bookstack/Chart.yaml +++ b/stable/bookstack/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 -appVersion: 0.27.4-1 +appVersion: 0.27.5 description: BookStack is a simple, self-hosted, easy-to-use platform for organising and storing information. name: bookstack -version: 1.1.2 +version: 1.2.0 home: https://www.bookstackapp.com/ icon: https://github.com/BookStackApp/website/blob/master/static/images/logo.png sources: diff --git a/stable/bookstack/README.md b/stable/bookstack/README.md index 61bdcd97f9..5d027c2dbe 100644 --- a/stable/bookstack/README.md +++ b/stable/bookstack/README.md @@ -47,9 +47,10 @@ The following table lists the configurable parameters of the Redmine chart and t | Parameter | Description | Default | | --------------------------------- | ---------------------------------------- | ------------------------------------------------------- | +| `env` | additional env variables | `{}` | | `replicaCount` | Number of replicas to start | `1` | | `image.repository` | Bookstack image name | `solidnerd/bookstack` | -| `image.tag` | Bookstack image tag | `0.27.4-1` | +| `image.tag` | Bookstack image tag | `0.27.5` | | `image.pullPolicy` | Bookstack image pull policy | `IfNotPresent` | | `externalDatabase.host` | Host of the external database | `nil` | | `externalDatabase.port` | Port of the external database | `3306` | diff --git a/stable/bookstack/templates/deployment.yaml b/stable/bookstack/templates/deployment.yaml index 8a0d3c2e4f..fcde407aea 100644 --- a/stable/bookstack/templates/deployment.yaml +++ b/stable/bookstack/templates/deployment.yaml @@ -85,6 +85,10 @@ spec: name: {{ printf "%s-%s" .Release.Name "app" }} key: app-key {{- end }} + {{- range $key, $value := .Values.env }} + - name: {{ $key | upper | replace "." "_" }} + value: {{ $value | quote }} + {{- end }} volumeMounts: - name: uploads mountPath: /var/www/bookstack/public/uploads diff --git a/stable/bookstack/values.yaml b/stable/bookstack/values.yaml index 12483ab5d6..aedae25996 100644 --- a/stable/bookstack/values.yaml +++ b/stable/bookstack/values.yaml @@ -6,13 +6,15 @@ replicaCount: 1 image: repository: solidnerd/bookstack - tag: 0.27.4-1 + tag: 0.27.5 pullPolicy: IfNotPresent app: # Laravel APP_KEY. Generate one with `php artisan key:generate` and put here if you want a static key. key: +env: {} + ## ## External database configuration ##