From 3f50891603b8a87b5d922d0599bd48dfb41fc22c Mon Sep 17 00:00:00 2001 From: Silvio Ankermann Date: Fri, 4 Feb 2022 21:10:56 +0100 Subject: [PATCH] [grocy] Upgrade to version 3.1.3 and fix upgrade bug (#1299) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [grocy] Upgrade to version 3.1.3 and fix upgrade bug Signed-off-by: Silvio Ankermann Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs Co-authored-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- charts/stable/grocy/Chart.yaml | 8 +++++--- charts/stable/grocy/README.md | 2 +- charts/stable/grocy/values.yaml | 10 +++++++++- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/charts/stable/grocy/Chart.yaml b/charts/stable/grocy/Chart.yaml index c5e45ca1..4b70b0e8 100644 --- a/charts/stable/grocy/Chart.yaml +++ b/charts/stable/grocy/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 -appVersion: v3.0.1 +appVersion: version-v3.1.3 description: ERP beyond your fridge - grocy is a web-based self-hosted groceries & household management solution for your home name: grocy -version: 8.2.0 +version: 8.3.0 kubeVersion: ">=1.16.0-0" keywords: - grocy @@ -20,4 +20,6 @@ dependencies: annotations: artifacthub.io/changes: | - kind: changed - description: Upgraded `common` chart dependency to version `4.3.0`. + description: Updated application version to v3.1.3. + - kind: added + description: Added `emptyDir` volume for the viewcache in order to prevent problems when upgrading the image that would require manual intervention. diff --git a/charts/stable/grocy/README.md b/charts/stable/grocy/README.md index efdb27aa..6fa67c3e 100644 --- a/charts/stable/grocy/README.md +++ b/charts/stable/grocy/README.md @@ -81,7 +81,7 @@ N/A | env.TZ | string | `"UTC"` | Set the container timezone | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy | | image.repository | string | `"linuxserver/grocy"` | image repository | -| image.tag | string | `"version-v3.0.1"` | image tag | +| image.tag | string | `"version-v3.1.3"` | image tag | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. | | persistence | object | See values.yaml | Configure persistence settings for the chart under this key. | | service | object | See values.yaml | Configures service settings for the chart. | diff --git a/charts/stable/grocy/values.yaml b/charts/stable/grocy/values.yaml index 19a727d6..79d2fc52 100644 --- a/charts/stable/grocy/values.yaml +++ b/charts/stable/grocy/values.yaml @@ -9,7 +9,8 @@ image: # -- image repository repository: linuxserver/grocy # -- image tag - tag: version-v3.0.1 + # @default -- chart.appVersion + tag: # -- image pull policy pullPolicy: IfNotPresent @@ -42,3 +43,10 @@ ingress: persistence: config: enabled: false + # Let the viewcache only persist for the lifetime of the pod, otherwise + # there will cases of blank pages when upgrading the image that require + # manually clearing the directory + viewcache: + enabled: true + type: emptyDir + mountPath: /config/data/viewcache