From 2704e47154123b10daee728c1be115efc083090a Mon Sep 17 00:00:00 2001 From: Matt Butcher Date: Thu, 26 May 2016 10:19:47 -0600 Subject: [PATCH] fix(helm): stop requiring a values.toml in a chart Charts should not require a values.toml file -- some charts will just be manifests with nothing configurable. --- pkg/helm/convert.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/helm/convert.go b/pkg/helm/convert.go index 315cedd1c..b6a723b40 100644 --- a/pkg/helm/convert.go +++ b/pkg/helm/convert.go @@ -116,7 +116,8 @@ func ValuesToProto(ch *chartutil.Chart) (*chartpbs.Config, error) { vals, err := ch.LoadValues() if err != nil { - return nil, ErrMissingValues + //return nil, ErrMissingValues + vals = map[string]interface{}{} } var buf bytes.Buffer