diff --git a/cmd/kubectl-testkube/commands/common/helper.go b/cmd/kubectl-testkube/commands/common/helper.go index 8646baaa78..04e35686a4 100644 --- a/cmd/kubectl-testkube/commands/common/helper.go +++ b/cmd/kubectl-testkube/commands/common/helper.go @@ -223,7 +223,10 @@ func appendHelmArgs(args []string, options HelmOptions, settings map[string]stri } for key, value := range options.ArgOptions { - args = append(args, fmt.Sprintf("--%s %s", key, value)) + args = append(args, fmt.Sprintf("--%s", key)) + if value != "" { + args = append(args, value) + } } return args