From 7026249fb8606f3da03b3696dba2aa7199f67ca0 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Tue, 19 Oct 2021 00:38:55 +0530 Subject: [PATCH] chore(helm): use static mount name --- scripts/helm/app/openreplay/templates/deployment.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/helm/app/openreplay/templates/deployment.yaml b/scripts/helm/app/openreplay/templates/deployment.yaml index 187025b74..e578b4bea 100644 --- a/scripts/helm/app/openreplay/templates/deployment.yaml +++ b/scripts/helm/app/openreplay/templates/deployment.yaml @@ -50,16 +50,16 @@ spec: {{- if eq .Values.pvc.name "hostPath" }} volumeMounts: - mountPath: {{ .Values.pvc.mountPath }} - name: {{ .Values.pvc.name }} + name: datadir volumes: - - name: mydir + - name: datadir hostPath: # Ensure the file directory is created. path: {{ .Values.pvc.hostMountPath }} type: DirectoryOrCreate {{- else }} volumeMounts: - - name: {{ .Values.pvc.name }} + - name: datadir mountPath: {{ .Values.pvc.mountPath }} volumes: - name: {{ .Values.pvc.name }}