Skip to content

Commit

Permalink
Fix windows yaml generation (istio#654)
Browse files Browse the repository at this point in the history
  • Loading branch information
istio-testing authored Dec 2, 2019
1 parent 4b913d7 commit 1faa8b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/helm/vfs_renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,10 @@ func (h *VFSRenderer) loadChart() error {
if err != nil {
return err
}
// Helm expects unix / separator, but on windows this will be \
name := strings.ReplaceAll(stripPrefix(fname, prefix), string(filepath.Separator), "/")
bf := &chartutil.BufferedFile{
Name: stripPrefix(fname, prefix),
Name: name,
Data: b,
}
bfs = append(bfs, bf)
Expand Down

0 comments on commit 1faa8b0

Please sign in to comment.