From 2f7364f8d7c6cb09dd365aaa00cd4078781070bf Mon Sep 17 00:00:00 2001
From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de>
Date: Tue, 1 Dec 2020 13:00:41 +0100
Subject: [PATCH] Deploy subcharts only if enabled

---
 execution/helm/theodolite-chart/Chart.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/execution/helm/theodolite-chart/Chart.yaml b/execution/helm/theodolite-chart/Chart.yaml
index 77648cbc8..3e07d19c0 100644
--- a/execution/helm/theodolite-chart/Chart.yaml
+++ b/execution/helm/theodolite-chart/Chart.yaml
@@ -20,10 +20,11 @@ dependencies: # A list of the chart requirements (optional)
   - name: kube-prometheus-stack
     version:  12.0.0
     repository: https://prometheus-community.github.io/helm-charts
+    condition: kube-prometheus-stack.enabled
   - name: cp-helm-charts
     version: 0.5.0
     repository: file://../dependencies/cp-helm-charts/
-    condition: confluent.enabled
+    condition: cp-helm-charts.enabled
   - name: kafka-lag-exporter
     version: 0.6.0
     repository: file://../dependencies/kafka-lag-exporter
-- 
GitLab