diff --git a/pkg/chartutil/save.go b/pkg/chartutil/save.go index bff32dde5..201372a0f 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)), }