diff --git a/execution/helm/templates/theodolite/theodolite-operator.yaml b/execution/helm/templates/theodolite/theodolite-operator.yaml index 15ce1cfbcd95a5888fc9acf4704bdf8947cbb238..7e9194fb47956e9dfa447a5bf7f820f34bbd50d4 100644 --- a/execution/helm/templates/theodolite/theodolite-operator.yaml +++ b/execution/helm/templates/theodolite/theodolite-operator.yaml @@ -31,10 +31,10 @@ spec: - name: RESULTS_FOLDER value: "results" volumeMounts: - {{- if .Values.operator.resultsVolume.enabled }} + {{- if .Values.operator.resultsVolume.enabled }} - name: theodolite-pv-storage mountPath: "/deployments/results" - {{- end }} + {{- end }} - name: benchmark-resources mountPath: /work/benchmark-resources {{- if .Values.operator.sloChecker.lagTrend.enabled }} @@ -65,7 +65,7 @@ spec: {{- if .Values.operator.resultsVolume.enabled }} - name: theodolite-pv-storage persistentVolumeClaim: - claimName: theodolite-pv-claim + claimName: {{ .Values.operator.resultsVolume.persistentVolumeClaim.name | quote }} {{- end }} - name: benchmark-resources configMap: diff --git a/execution/helm/values.yaml b/execution/helm/values.yaml index 14c7307950c44bb189720f82edbde2e80ce69f22..4b970bf868092bca5571cb1ea0ba2360945c8ebf 100644 --- a/execution/helm/values.yaml +++ b/execution/helm/values.yaml @@ -264,6 +264,8 @@ operator: resultsVolume: enabled: true + persistentVolumeClaim: + name: theodolite-pv-claim accessSidecar: enabled: true image: busybox