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