From cb58035f90d79f2e34a29ebe8201339a86441585 Mon Sep 17 00:00:00 2001 From: Torsten Walter Date: Tue, 28 May 2019 17:05:29 +0200 Subject: [PATCH] use outputDir instead of hardcoded value Signed-off-by: Torsten Walter --- pkg/action/install.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/action/install.go b/pkg/action/install.go index 2722d31bd..1a463e64e 100644 --- a/pkg/action/install.go +++ b/pkg/action/install.go @@ -369,7 +369,7 @@ func (c *Configuration) renderResources(ch *chart.Chart, values chartutil.Values if outputDir == "" { fmt.Fprintf(b, "---\n# Source: %s\n%s\n", m.Name, m.Content) } else { - err = writeToFile("build", m.Name, m.Content) + err = writeToFile(outputDir, m.Name, m.Content) if err != nil { return hs, b, "", err }