Skip to content

Commit 3e4f4f8

Browse files
unguiculusmattfarina
authored andcommitted
Log values files used (#96)
Signed-off-by: Reinhard Nägele <[email protected]>
1 parent 9de228d commit 3e4f4f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/chart/chart.go

+6
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@ func (t *Testing) LintChart(chart string, valuesFiles []string) TestResult {
321321
}
322322

323323
for _, valuesFile := range valuesFiles {
324+
if valuesFile != "" {
325+
fmt.Printf("\nLinting chart with values file '%s'...\n\n", valuesFile)
326+
}
324327
if err := t.helm.LintWithValues(chart, valuesFile); err != nil {
325328
result.Error = err
326329
break
@@ -343,6 +346,9 @@ func (t *Testing) InstallChart(chart string, valuesFiles []string) TestResult {
343346
}
344347

345348
for _, valuesFile := range valuesFiles {
349+
if valuesFile != "" {
350+
fmt.Printf("\nInstalling chart with values file '%s'...\n\n", valuesFile)
351+
}
346352
var namespace, release, releaseSelector string
347353

348354
// Use anonymous function. Otherwise deferred calls would pile up

0 commit comments

Comments
 (0)