Generate the missing new line in 08-persistent-volume-claim.yaml

This commit is contained in:
M. Mert Yildiran
2023-05-09 00:00:07 +03:00
parent aa904e23c7
commit 1d7d242e6c
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {

View File

@@ -19,4 +19,4 @@ spec:
storage: '{{ .Values.tap.storagelimit }}'
storageClassName: '{{ .Values.tap.storageclass }}'
status: {}
{{- end }}
{{- end }}