From 87522eb4179d01bd8a7f3b1814ce40fbcb0c634c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Tue, 6 Apr 2021 12:21:28 +0200 Subject: [PATCH] Access namespace from release --- execution/helm/templates/theodolite/thedolite-operator.yaml | 2 +- execution/helm/values.yaml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/execution/helm/templates/theodolite/thedolite-operator.yaml b/execution/helm/templates/theodolite/thedolite-operator.yaml index 6157f7ed5..608da697c 100644 --- a/execution/helm/templates/theodolite/thedolite-operator.yaml +++ b/execution/helm/templates/theodolite/thedolite-operator.yaml @@ -20,7 +20,7 @@ spec: image: lorenzboguhn/thedolite:latest env: - name: NAMESPACE - value: {{ .Values.operator.namespace}} + value: {{ .Release.Namespace }} - name: lag-analysis image: benediktwetzel/lag-analysis ports: diff --git a/execution/helm/values.yaml b/execution/helm/values.yaml index bbbd99b3b..5e48ad46b 100644 --- a/execution/helm/values.yaml +++ b/execution/helm/values.yaml @@ -233,7 +233,6 @@ prometheus: ### operator: enabled: true - namespace: "default" executionCRD: create: true @@ -242,7 +241,7 @@ benchmarkCRD: create: true serviceAccount: - create: false + create: true rbac: create: true -- GitLab