Skip to content
Snippets Groups Projects
Commit 6e840509 authored by Sören Henning's avatar Sören Henning
Browse files

Make results volume optional

parent c446d914
No related branches found
No related tags found
4 merge requests!159Re-implementation of Theodolite with Kotlin/Quarkus,!157Update Graal Image in CI pipeline,!153Store benchmark execution results in operator volume,!83WIP: Re-implementation of Theodolite with Kotlin/Quarkus
Pipeline #3758 failed
......@@ -31,8 +31,10 @@ spec:
- name: RESULTS_FOLDER
value: "results"
volumeMounts:
{{- if .Values.operator.resultsVolume.enabled }}
- name: theodolite-pv-storage
mountPath: "/deployments/results"
{{- end }}
- name: benchmark-resources
mountPath: /work/benchmark-resources
{{- if .Values.operator.sloChecker.lagTrend.enabled }}
......@@ -46,8 +48,11 @@ spec:
- name: LOG_LEVEL
value: INFO
{{- end }}
{{- if and .Values.operator.resultsVolume.enabled .Values.operator.resultsVolume.accessSidecar.enabled }}
- name: results-access
image: busybox:stable
image: "{{ .Values.operator.resultsVolume.accessSidecar.image }}:{{ .Values.operator.resultsVolume.accessSidecar.imageTag }}"
imagePullPolicy: "{{ .Values.operator.resultsVolume.accessSidecar.imagePullPolicy }}"
command:
- sh
- -c
......@@ -55,10 +60,13 @@ spec:
volumeMounts:
- mountPath: /results
name: theodolite-pv-storage
{{- end }}
volumes:
{{- if .Values.operator.resultsVolume.enabled }}
- name: theodolite-pv-storage
persistentVolumeClaim:
claimName: theodolite-pv-claim
{{- end }}
- name: benchmark-resources
configMap:
name: benchmark-resources
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment