chore(helm): use static mount name
This commit is contained in:
parent
8b60e52b65
commit
7026249fb8
1 changed files with 3 additions and 3 deletions
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue