Skip to content

Commit fbf2618

Browse files
committed
Fix if-check for persistence subPath
1 parent 5fab3b9 commit fbf2618

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/docker-mailserver/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ spec:
171171
{{- if $persistence.enabled }}
172172
- name: {{ $name }}
173173
mountPath: {{ $persistence.mountPath }}
174-
{{- if .Values.persistence.subPath }}
175-
subPath: {{ .Values.persistence.subPath }}
174+
{{- if $persistence.subPath }}
175+
subPath: {{ $persistence.subPath }}
176176
{{- end }}
177177
{{- end }}
178178
{{- end }}

0 commit comments

Comments
 (0)