From 6ee06756530f183b02fe50d6ccf271cad7baa399 Mon Sep 17 00:00:00 2001
From: lorenz <stu203404@mail.uni-kiel.de>
Date: Wed, 14 Apr 2021 15:55:16 +0200
Subject: [PATCH] Add Volume for results to Job

---
 execution/theodolite-kotlin.yaml | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/execution/theodolite-kotlin.yaml b/execution/theodolite-kotlin.yaml
index 25330f588..e4b2ea817 100644
--- a/execution/theodolite-kotlin.yaml
+++ b/execution/theodolite-kotlin.yaml
@@ -6,9 +6,9 @@ spec:
   template:
     spec:
       volumes:
-      - name: theodolite-pv-storage
-        persistentVolumeClaim:
-          claimName: theodolite-pv-claim
+        - name: theodolite-pv-storage
+          persistentVolumeClaim:
+            claimName: theodolite-pv-claim
       containers:
         - name: lag-analysis
           image: ghcr.io/cau-se/theodolite-slo-checker-lag-trend:theodolite-kotlin-latest
@@ -30,14 +30,14 @@ spec:
             - name: THEODOLITE_APP_RESOURCES
               value: /etc/app-resources
           volumeMounts:
-          - name: app-resources
-            mountPath: /etc/app-resources
-          - name: benchmark
-            mountPath: /etc/benchmark
-          - name: execution
-            mountPath: /etc/execution
-        #  -  name: theodolite-pv-storage
-        #     mountPath: "/deployments"
+            - mountPath: "/etc/app-resources"
+              name: app-resources
+            - mountPath: "/etc/benchmark" 
+              name: benchmark
+            - mountPath: "/etc/execution"
+              name: execution
+            - mountPath: "/deployments/results"
+              name: theodolite-pv-storage
       restartPolicy: Never
       # Uncomment if RBAC is enabled and configured
       serviceAccountName: theodolite
-- 
GitLab