From 54c2df93477a024d0f8fec979758f2edd23209f0 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Thu, 10 Feb 2022 00:40:09 +0100
Subject: [PATCH] feat(monitoring): Add ability to optionally extend values

This patch allows to provide kustom extensions for the values used in
this helm chart, which should help to adjust the installation of
components to the needs of the cluster.
---
 infrastructure/monitoring/release.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/infrastructure/monitoring/release.yaml b/infrastructure/monitoring/release.yaml
index da5287b35..8ebc8e522 100644
--- a/infrastructure/monitoring/release.yaml
+++ b/infrastructure/monitoring/release.yaml
@@ -14,6 +14,11 @@ spec:
         namespace: monitoring-system
       version: 31.0.0
   interval: 5m
+  valuesFrom:
+    - kind: Secret
+      name: cluster-specfic-kube-prometheus
+      valuesKey: values-prod.yaml
+      optional: true
   values:
     global:
       rbac:
-- 
GitLab