mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Fix indentation to allow for persitence being disabled (#2620)
This commit is contained in:
committed by
Matt Farina
parent
6254496149
commit
916fef2fac
@@ -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 -}}
|
||||
|
||||
Reference in New Issue
Block a user