Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
set namespace explicitly
  • Loading branch information
johnstcn committed Mar 13, 2023
commit 27543e679a0f336475574f1cc5445786d4622bcf
2 changes: 1 addition & 1 deletion helm/tests/chart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func runHelmTemplate(t testing.TB, helmPath, chartDir, valuesFilePath string) (s
return "", xerrors.Errorf("values file %q does not exist: %w", valuesFilePath, err)
}

cmd := exec.Command(helmPath, "template", chartDir, "-f", valuesFilePath)
cmd := exec.Command(helmPath, "template", chartDir, "-f", valuesFilePath, "--namespace", "default")
t.Logf("exec command: %v", cmd.Args)
out, err := cmd.CombinedOutput()
return string(out), err
Expand Down