diff --git a/execution/theodolite-kotlin.yaml b/execution/theodolite-kotlin.yaml index e4b2ea817fcbaabf21594d09e5237e6d92c5c333..784147791120d59972f7f18f00b468472b8d55b5 100644 --- a/execution/theodolite-kotlin.yaml +++ b/execution/theodolite-kotlin.yaml @@ -5,10 +5,6 @@ metadata: spec: template: spec: - volumes: - - 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 @@ -16,7 +12,7 @@ spec: - containerPort: 80 name: analysis - name: theodolite - image: benediktwetzel/theodolite-test #ghcr.io/cau-se/theodolite:theodolite-kotlin-latest + image: lorenzboguhn/thedolite #ghcr.io/cau-se/theodolite:theodolite-kotlin-latest imagePullPolicy: Always env: - name: NAMESPACE @@ -30,18 +26,21 @@ spec: - name: THEODOLITE_APP_RESOURCES value: /etc/app-resources volumeMounts: + - mountPath: "/deployments/results" + name: theodolite-pv-storage - 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 volumes: + - name: theodolite-pv-storage + persistentVolumeClaim: + claimName: theodolite-pv-claim - name: app-resources configMap: name: app-resources-configmap diff --git a/theodolite-quarkus/src/main/docker/Dockerfile.jvm b/theodolite-quarkus/src/main/docker/Dockerfile.jvm index 758358fe4b0acfe89d2fbbbf6e1e5fb4534e5b4d..ebe10de1227bba566d4502f6deb97ab146be017b 100644 --- a/theodolite-quarkus/src/main/docker/Dockerfile.jvm +++ b/theodolite-quarkus/src/main/docker/Dockerfile.jvm @@ -34,7 +34,7 @@ RUN microdnf install curl ca-certificates ${JAVA_PACKAGE} \ && mkdir /deployments \ && chown 1001 /deployments \ && mkdir deployments/results \ - && chown 1001 deployments/results \ + && chown 777 deployments/results \ && chmod "g+rwX" /deployments \ && chown 1001:root /deployments \ && curl https://repo1.maven.org/maven2/io/fabric8/run-java-sh/${RUN_JAVA_VERSION}/run-java-sh-${RUN_JAVA_VERSION}-sh.sh -o /deployments/run-java.sh \ diff --git a/theodolite-quarkus/src/main/docker/Dockerfile.native b/theodolite-quarkus/src/main/docker/Dockerfile.native index 7c0f04a01c4ba6cf751cb0f97c0119a860e9e6e4..67d904d30f4a8873ace1f97dac9f37b3316a5440 100644 --- a/theodolite-quarkus/src/main/docker/Dockerfile.native +++ b/theodolite-quarkus/src/main/docker/Dockerfile.native @@ -18,6 +18,7 @@ FROM registry.access.redhat.com/ubi8/ubi-minimal:8.3 WORKDIR /deployments RUN chown 1001 /deployments \ && mkdir results \ + && chown 777 deployments/results \ && chmod "g+rwX" /deployments \ && chown 1001:root /deployments COPY --chown=1001:root build/*-runner /deployments/application