From bfb2e458776b77f1ff1a6776ba99c11bb6e85810 Mon Sep 17 00:00:00 2001 From: sido Date: Mon, 10 Sep 2018 22:00:51 +0200 Subject: [PATCH] added volumes --- molgenis/templates/deployment.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/molgenis/templates/deployment.yaml b/molgenis/templates/deployment.yaml index 0205efb..ed63b5c 100644 --- a/molgenis/templates/deployment.yaml +++ b/molgenis/templates/deployment.yaml @@ -68,13 +68,13 @@ spec: periodSeconds: 5 resources: {{ toYaml .resources | indent 12 }} - {{- if .persistence.enabled -}} - volumes: - - name: molgenis-nfs - persistentVolumeClaim: - claimName: {{ .persistence.name }} - {{- end }} {{- end }} + {{- if .persistence.enabled }} + volumes: + - name: molgenis-nfs + persistentVolumeClaim: + claimName: {{ .persistence.name }} + {{- end }} - name: elasticsearch {{- with .Values.elasticsearch }}