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" }}
|
{{- if eq .Values.pvc.name "hostPath" }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: {{ .Values.pvc.mountPath }}
|
- mountPath: {{ .Values.pvc.mountPath }}
|
||||||
name: {{ .Values.pvc.name }}
|
name: datadir
|
||||||
volumes:
|
volumes:
|
||||||
- name: mydir
|
- name: datadir
|
||||||
hostPath:
|
hostPath:
|
||||||
# Ensure the file directory is created.
|
# Ensure the file directory is created.
|
||||||
path: {{ .Values.pvc.hostMountPath }}
|
path: {{ .Values.pvc.hostMountPath }}
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
{{- else }}
|
{{- else }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: {{ .Values.pvc.name }}
|
- name: datadir
|
||||||
mountPath: {{ .Values.pvc.mountPath }}
|
mountPath: {{ .Values.pvc.mountPath }}
|
||||||
volumes:
|
volumes:
|
||||||
- name: {{ .Values.pvc.name }}
|
- name: {{ .Values.pvc.name }}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue