diff --git a/cmd/helmChart.go b/cmd/helmChart.go index 8bf0a81da..a8603da01 100644 --- a/cmd/helmChart.go +++ b/cmd/helmChart.go @@ -259,7 +259,7 @@ func template(object interface{}, mappings map[string]interface{}) (template int } func handlePVCManifest(manifest string) string { - return fmt.Sprintf("{{- if .Values.tap.persistentstorage }}\n%s{{- end }}", manifest) + return fmt.Sprintf("{{- if .Values.tap.persistentstorage }}\n%s{{- end }}\n", manifest) } func handleDaemonSetManifest(manifest string) string { diff --git a/helm-chart/templates/08-persistent-volume-claim.yaml b/helm-chart/templates/08-persistent-volume-claim.yaml index 52f6b13d8..71983d58a 100644 --- a/helm-chart/templates/08-persistent-volume-claim.yaml +++ b/helm-chart/templates/08-persistent-volume-claim.yaml @@ -19,4 +19,4 @@ spec: storage: '{{ .Values.tap.storagelimit }}' storageClassName: '{{ .Values.tap.storageclass }}' status: {} -{{- end }} \ No newline at end of file +{{- end }}