From 480ea37f167a748c2774c259a11837efb157911e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Wed, 14 Apr 2021 14:26:16 +0200 Subject: [PATCH] Load benchmark resources from a ConfigMap --- .../templates/theodolite/thedolite-operator.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/execution/helm/templates/theodolite/thedolite-operator.yaml b/execution/helm/templates/theodolite/thedolite-operator.yaml index cb3f193b8..3af9cfffd 100644 --- a/execution/helm/templates/theodolite/thedolite-operator.yaml +++ b/execution/helm/templates/theodolite/thedolite-operator.yaml @@ -23,9 +23,19 @@ spec: value: {{ .Release.Namespace }} - name: MODE value: operator + - name: THEODOLITE_APP_RESOURCES + value: "./benchmark-resources" + volumeMounts: + - name: benchmark-resources + mountPath: /work/benchmark-resources - name: lag-analysis image: ghcr.io/cau-se/theodolite-slo-checker-lag-trend:theodolite-kotlin-latest ports: - containerPort: 80 - name: analysis + name: analysis + volumes: + - name: benchmark-resources + configMap: + name: benchmark-resources + optional: true {{- end }} -- GitLab