1
0
Fork 0

fix for postgres volume mount, not available when persistence is not enabled

This commit is contained in:
sido 2018-09-26 16:30:33 +02:00
parent d4d9d5931d
commit 039c9993f6
1 changed files with 2 additions and 0 deletions

View File

@ -116,9 +116,11 @@ spec:
- containerPort: 5432
resources:
{{ toYaml .resources | indent 12 }}
{{- if $.Values.persistence.enabled }}
volumeMounts:
- name: postgres-nfs
mountPath: /var/lib/postgresql/data
{{- end }}
{{- end }}