Skip to content

Commit 7fc699d

Browse files
committed
fix: mounting problem
1 parent c4ab4ae commit 7fc699d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

chart/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,11 @@ spec:
107107
{{- if .Values.volumes.type.nfs }}
108108
nfs:
109109
server: {{ .Values.volumes.type.nfs.server }}
110+
{{- if .Values.volumes.rootDir }}
111+
path: {{ .Values.volumes.type.nfs.path }}/{{ .Values.volumes.rootDir }}
112+
{{- else }}
110113
path: {{ .Values.volumes.type.nfs.path }}/{{ .Release.Name }}
114+
{{- end }}
111115
readOnly: false
112116
{{- else }}
113117
persistentVolumeClaim:

0 commit comments

Comments
 (0)