Merge pull request #6351 from adamreese/ref/cleanup-unused

ref(pkg/engine): cleanup of development `hack`
pull/6353/head
Adam Reese 5 years ago committed by GitHub
commit 64c9ee8b07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -223,11 +223,7 @@ func (e Engine) renderWithReferences(tpls, referenceTpls map[string]renderable)
// Work around the issue where Go will emit "<no value>" even if Options(missing=zero)
// is set. Since missing=error will never get here, we do not need to handle
// the Strict case.
f := &chart.File{
Name: strings.ReplaceAll(filename, "/templates", "/manifests"),
Data: []byte(strings.ReplaceAll(buf.String(), "<no value>", "")),
}
rendered[filename] = string(f.Data)
rendered[filename] = strings.ReplaceAll(buf.String(), "<no value>", "")
}
return rendered, nil

Loading…
Cancel
Save