From 3ff1acbe9139c37ccbe8e41b0ecfc95e40dc7bb3 Mon Sep 17 00:00:00 2001
From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de>
Date: Wed, 25 Nov 2020 16:45:42 +0100
Subject: [PATCH] Set namespace explicitly for CRB

---
 .../helm/theodolite-chart/templates/cluster-role-binding.yaml   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/execution/helm/theodolite-chart/templates/cluster-role-binding.yaml b/execution/helm/theodolite-chart/templates/cluster-role-binding.yaml
index 800a72167..400a972cd 100644
--- a/execution/helm/theodolite-chart/templates/cluster-role-binding.yaml
+++ b/execution/helm/theodolite-chart/templates/cluster-role-binding.yaml
@@ -10,5 +10,5 @@ roleRef:
 subjects:
 - kind: ServiceAccount
   name: prometheus
-  namespace: default
+  namespace: {{ .Release.Namespace }}
 {{- end}}
\ No newline at end of file
-- 
GitLab