|
|
|
@ -100,7 +100,7 @@ type Configuration struct {
|
|
|
|
|
//
|
|
|
|
|
// TODO: This function is badly in need of a refactor.
|
|
|
|
|
// TODO: As part of the refactor the duplicate code in cmd/helm/template.go should be removed
|
|
|
|
|
// This code has to do with writing files to dick.
|
|
|
|
|
// This code has to do with writing files to disk.
|
|
|
|
|
func (c *Configuration) renderResources(ch *chart.Chart, values chartutil.Values, releaseName, outputDir string, subNotes, useReleaseName, includeCrds bool, pr postrender.PostRenderer, dryRun bool) ([]*release.Hook, *bytes.Buffer, string, error) {
|
|
|
|
|
hs := []*release.Hook{}
|
|
|
|
|
b := bytes.NewBuffer(nil)
|
|
|
|
|