Set values file when generate static manifests

Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
James Munnelly 2019-05-03 01:07:14 +01:00
parent 735262931c
commit 5d21bd4796

View File

@ -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)