From 1d7d242e6c607afb4166e3934278d01a11c66014 Mon Sep 17 00:00:00 2001 From: "M. Mert Yildiran" Date: Tue, 9 May 2023 00:00:07 +0300 Subject: [PATCH] :zap: Generate the missing new line in `08-persistent-volume-claim.yaml` --- cmd/helmChart.go | 2 +- helm-chart/templates/08-persistent-volume-claim.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }}