diff --git a/pkg/chartutil/save.go b/pkg/chartutil/save.go index bff32dde519bde86cf8d267e41ab3ac743e680cd..201372a0f10ba491c78c544e9ca174a8ee505d22 100644 --- a/pkg/chartutil/save.go +++ b/pkg/chartutil/save.go @@ -205,7 +205,7 @@ func writeTarContents(out *tar.Writer, c *chart.Chart, prefix string) error { func writeToTar(out *tar.Writer, name string, body []byte) error { // TODO: Do we need to create dummy parent directory names if none exist? h := &tar.Header{ - Name: name, + Name: filepath.ToSlash(name), Mode: 0755, Size: int64(len(body)), }