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 }}