From 5d21bd479638cead66f0f9e05065c75ad8e72ab2 Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Fri, 3 May 2019 01:07:14 +0100 Subject: [PATCH] Set values file when generate static manifests Signed-off-by: James Munnelly --- hack/release/pkg/build/manifests/plugin.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/release/pkg/build/manifests/plugin.go b/hack/release/pkg/build/manifests/plugin.go index 163a81d1b..b30e71f5d 100644 --- a/hack/release/pkg/build/manifests/plugin.go +++ b/hack/release/pkg/build/manifests/plugin.go @@ -6,6 +6,7 @@ import ( "io/ioutil" "os" "path" + "path/filepath" "strings" "github.com/google/go-github/github" @@ -106,6 +107,7 @@ func (p *Plugin) Build(ctx context.Context) error { "--kube-version=1.9", "--namespace=cert-manager", "--name=cert-manager", + fmt.Sprintf("--values=%s", filepath.Join(flags.Default.RepoRoot, "deploy", "manifests", "helm-values.yaml")), }, args...)...) if err != nil { return fmt.Errorf("error building manifest variant %q: %v", n, err)