From 039c9993f6772888b6f05088a6a7711314a286bd Mon Sep 17 00:00:00 2001 From: sido Date: Wed, 26 Sep 2018 16:30:33 +0200 Subject: [PATCH] fix for postgres volume mount, not available when persistence is not enabled --- molgenis/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/molgenis/templates/deployment.yaml b/molgenis/templates/deployment.yaml index 511fa7e..403af33 100644 --- a/molgenis/templates/deployment.yaml +++ b/molgenis/templates/deployment.yaml @@ -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 }}