From 2fc59f8f08f898d8cfeb8d4c5a2f6aa3ad34db42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Julian=20B=C3=A4ume?= <julian.baeume@open-xchange.com>
Date: Fri, 10 Feb 2023 16:50:47 +0100
Subject: [PATCH] [helm chart] configure default value for extras.monitoring

fix deployments that did not have this value configured at all
by providing a sensible default.
---
 helm/core-ui-middleware/Chart.yaml  | 2 +-
 helm/core-ui-middleware/values.yaml | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/helm/core-ui-middleware/Chart.yaml b/helm/core-ui-middleware/Chart.yaml
index cfc9c59..4bd73ad 100644
--- a/helm/core-ui-middleware/Chart.yaml
+++ b/helm/core-ui-middleware/Chart.yaml
@@ -15,7 +15,7 @@ type: application
 # This is the chart version. This version number should be incremented each time you make changes
 # to the chart and its templates, including the app version.
 # Versions are expected to follow Semantic Versioning (https://semver.org/)
-version: 1.5.0
+version: 1.5.1
 
 # This is the version number of the application being deployed. This version number should be
 # incremented each time you make changes to the application. Versions are not expected to
diff --git a/helm/core-ui-middleware/values.yaml b/helm/core-ui-middleware/values.yaml
index 6b421a2..a44c48b 100644
--- a/helm/core-ui-middleware/values.yaml
+++ b/helm/core-ui-middleware/values.yaml
@@ -2,6 +2,11 @@
 # This is a YAML-formatted file.
 # Declare variables to be passed into your templates.
 
+global:
+  extras:
+    monitoring:
+      enabled: false
+
 replicaCount: 1
 
 defaultRegistry: registry.open-xchange.com
@@ -105,6 +110,10 @@ baseUrls: []
 compressFileSize: 600
 compressFileTypes: application/javascript application/json application/x-javascript application/xml application/xml+rss text/css text/html text/javascript text/plain text/xml image/svg+xml
 
+extras:
+  monitoring:
+    enabled: false
+
 redis:
   enabled: false
   host: ''
-- 
GitLab