From 53cefb3e6f65f584f9c8354fbdc953b77360e746 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Fri, 3 Feb 2023 18:15:19 +0100
Subject: [PATCH] Make KafkaExporter more configurable

---
 helm/templates/kafka/kafka-cluster.yaml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/helm/templates/kafka/kafka-cluster.yaml b/helm/templates/kafka/kafka-cluster.yaml
index 41b15db4f..c7be0a344 100644
--- a/helm/templates/kafka/kafka-cluster.yaml
+++ b/helm/templates/kafka/kafka-cluster.yaml
@@ -52,7 +52,15 @@ spec:
       {{- toYaml . | nindent 6 }}
     {{- end}}
 
-  kafkaExporter: {}
+  kafkaExporter:
+    {{- with .Values.strimzi.kafkaExporter.template}}
+      template:
+        {{- toYaml . | nindent 6 }}
+      {{- end}}
+    {{- with .Values.strimzi.kafkaExporter.resources}}
+    resources:
+      {{- toYaml . | nindent 6 }}
+    {{- end}}
 
   {{- if .Values.strimzi.topicOperator.enabled }}
   entityOperator:
-- 
GitLab