From b18f8a47136b0b5f2deb4277d1784432bf29e99e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de>
Date: Fri, 16 Apr 2021 08:57:31 +0000
Subject: [PATCH] Infer namespace

---
 execution/theodolite.yaml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/execution/theodolite.yaml b/execution/theodolite.yaml
index 3665e3d91..ff8eecb31 100644
--- a/execution/theodolite.yaml
+++ b/execution/theodolite.yaml
@@ -18,7 +18,10 @@ spec:
           imagePullPolicy: Always
           env:
             - name: NAMESPACE
-              value: theodolite-she
+              valueFrom:
+                fieldRef:
+                  fieldPath: metadata.namespace
+
             # - name: MODE
             #   value: yaml-executor # Default is `yaml-executor`
             - name: THEODOLITE_EXECUTION
-- 
GitLab