Fix indentation to allow for persitence being disabled (#2620)

This commit is contained in:
Kyle Jackson
2017-11-01 10:27:47 -04:00
committed by Matt Farina
parent 6254496149
commit 916fef2fac
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: sonatype-nexus
version: 0.1.0
version: 0.1.1
appVersion: 3.5.1
description: Sonatype Nexus is an open source repository manager
keywords:
@@ -44,10 +44,10 @@ spec:
- mountPath: /nexus-data
name: nexus-data-volume
volumes:
- name: nexus-data-volume
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ template "fullname" . }}
{{- else }}
- name: nexus-data-volume
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ template "fullname" . }}
{{- else }}
emptyDir: {}
{{- end -}}
{{- end -}}