From 916fef2fac96cb8cde95e9a2d088088a253ecb11 Mon Sep 17 00:00:00 2001 From: Kyle Jackson Date: Wed, 1 Nov 2017 07:27:47 -0700 Subject: [PATCH] Fix indentation to allow for persitence being disabled (#2620) --- stable/sonatype-nexus/Chart.yaml | 2 +- stable/sonatype-nexus/templates/deployment.yaml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/stable/sonatype-nexus/Chart.yaml b/stable/sonatype-nexus/Chart.yaml index 41c5149ad7..0f4d926ec6 100644 --- a/stable/sonatype-nexus/Chart.yaml +++ b/stable/sonatype-nexus/Chart.yaml @@ -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: diff --git a/stable/sonatype-nexus/templates/deployment.yaml b/stable/sonatype-nexus/templates/deployment.yaml index abd322fe2b..d683a19bbb 100644 --- a/stable/sonatype-nexus/templates/deployment.yaml +++ b/stable/sonatype-nexus/templates/deployment.yaml @@ -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 -}}