diff --git a/pkg/helmexec/exec.go b/pkg/helmexec/exec.go index 661ff332..62b8c681 100644 --- a/pkg/helmexec/exec.go +++ b/pkg/helmexec/exec.go @@ -95,7 +95,7 @@ func (helm *execer) UpdateDeps(chart string) error { func (helm *execer) BuildDeps(chart string) error { helm.logger.Infof("Building dependency %v", chart) out, err := helm.exec([]string{"dependency", "build", chart}, map[string]string{}) - helm.write(out) + helm.info(out) return err } @@ -139,7 +139,7 @@ func (helm *execer) DecryptSecret(context HelmContext, name string, flags ...str preArgs := context.GetTillerlessArgs(helm.helmBinary) env := context.getTillerlessEnv() out, err := helm.exec(append(append(preArgs, "secrets", "dec", absPath), flags...), env) - helm.write(out) + helm.info(out) if err != nil { return "", err } diff --git a/test/integration/run.sh b/test/integration/run.sh index 276c55a1..86007cfd 100755 --- a/test/integration/run.sh +++ b/test/integration/run.sh @@ -93,6 +93,9 @@ ${helm} status --namespace=${test_ns} httpbin &> /dev/null && fail "release shou info "Ensuring \"helmfile delete\" doesn't fail when no releases installed" ${helmfile} -f ${dir}/happypath.yaml delete || fail "\"helmfile delete\" shouldn't fail when there are no installed releases" +info "Ensuring \"helmfile template\" output does contain only YAML docs" +(${helmfile} -f ${dir}/happypath.yaml template | kubectl apply -f -) || fail "\"helmfile template | kubectl apply -f -\" shouldn't fail" + test_pass "happypath"