From 9b4411c39adb50dbf27072a0ee2649831b11a6f3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Wed, 16 Mar 2022 10:52:59 +0100
Subject: [PATCH] Enable topic operator per default

---
 helm/templates/theodolite/role.yaml | 10 ++++++++++
 helm/values.yaml                    |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/helm/templates/theodolite/role.yaml b/helm/templates/theodolite/role.yaml
index ba5a223b6..8b3961a33 100644
--- a/helm/templates/theodolite/role.yaml
+++ b/helm/templates/theodolite/role.yaml
@@ -45,6 +45,16 @@ rules:
     - list
     - create
     - get
+  - apiGroups:
+    - kafka.strimzi.io
+    resources:
+    - kafkatopics
+    verbs:
+    - delete
+    - list
+    - get
+    - create
+    - update
   {{- if .Values.operator.enabled }}
   - apiGroups:
     - theodolite.com
diff --git a/helm/values.yaml b/helm/values.yaml
index 0f1d4790b..188332ef1 100644
--- a/helm/values.yaml
+++ b/helm/values.yaml
@@ -181,7 +181,7 @@ strimzi:
         enabled: true
         nodeSelector: {}
   topicOperator:
-    enabled: false
+    enabled: true
 
 
 ###
-- 
GitLab