Skip to content
Merged
Changes from all commits
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
7 changes: 4 additions & 3 deletions go/cli/internal/cli/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ func installChart(ctx context.Context, chartName string, namespace string, regis

// Add set values if any
for _, setValue := range setValues {
args = append(args, "--set", setValue)
if setValue != "" {
args = append(args, "--set", setValue)
}
}

cmd := exec.CommandContext(ctx, "helm", args...)
Expand All @@ -45,8 +47,7 @@ func installChart(ctx context.Context, chartName string, namespace string, regis
return "", nil
}

func InstallCmd(ctx context.Context, cfg *config.Config) *PortForward {

func InstallCmd(ctx context.Context, cfg *config.Config) *PortForward {
if version.Version == "dev" {
fmt.Fprintln(os.Stderr, "Installation requires released version of kagent")
return nil
Expand Down
Loading