@@ -32,12 +32,13 @@ type (
32
32
Release string `envconfig:"RELEASE" required:"true"` // helm release name
33
33
Namespace string `envconfig:"NAMESPACE" required:"true"` // kubernets and helm namespace
34
34
35
- Lint bool `envconfig:"LINT" default:"true"` // helm lint option
36
- Atomic bool `envconfig:"ATOMIC" default:"true"` // helm atomic option
37
- Wait bool `envconfig:"WAIT" default:"true"` // helm wait option
38
- Force bool `envconfig:"FORCE" default:"false"` // helm force option
39
- Cleanup bool `envconfig:"CLEANUP_ON_FAIL" default:"false"` // helm cleanup option
40
- DryRun bool `envconfig:"DRY_RUN" default:"false"` // helm dryrun option
35
+ Lint bool `envconfig:"LINT" default:"true"` // helm lint option
36
+ Atomic bool `envconfig:"ATOMIC" default:"true"` // helm atomic option
37
+ Wait bool `envconfig:"WAIT" default:"true"` // helm wait option
38
+ Force bool `envconfig:"FORCE" default:"false"` // helm force option
39
+ Cleanup bool `envconfig:"CLEANUP_ON_FAIL" default:"false"` // helm cleanup option
40
+ DryRun bool `envconfig:"DRY_RUN" default:"false"` // helm dryrun option
41
+ HelmDebug bool `envconfig:"HELM_DEBUG" default:"true"` // helm debug option
41
42
42
43
HelmRepos []string `envconfig:"HELM_REPOS"` // additonal helm repos
43
44
BuildDependencies bool `envconfig:"BUILD_DEPENDENCIES" default:"true"` // helm dependency build option
@@ -155,6 +156,7 @@ func main() {
155
156
helm .WithForce (cfg .Force ),
156
157
helm .WithCleanupOnFail (cfg .Cleanup ),
157
158
helm .WithDryRun (cfg .DryRun ),
159
+ helm .WithDebug (cfg .HelmDebug ),
158
160
159
161
helm .WithHelmRepos (cfg .HelmRepos ),
160
162
helm .WithBuildDependencies (cfg .BuildDependencies , cfg .Chart ),
@@ -201,7 +203,6 @@ func (r *Runner) Run(ctx context.Context, name string, args ...string) error {
201
203
log .Printf ("running: %s %v" , name , printArgs )
202
204
203
205
cmd := exec .CommandContext (ctx , name , args ... )
204
- cmd .Stdout = os .Stdout
205
206
cmd .Stderr = os .Stderr
206
207
defer os .Stdout .Sync ()
207
208
defer os .Stderr .Sync ()
0 commit comments