diff --git a/src/cmd/tools/helm.go b/src/cmd/tools/helm.go index 2a3b301595..ecc6243a6d 100644 --- a/src/cmd/tools/helm.go +++ b/src/cmd/tools/helm.go @@ -15,9 +15,9 @@ import ( func init() { actionConfig := new(action.Configuration) - // Since helm needs args passed into it, check if we are processing things on a command with fewer args + // if no args passed use empty set of args if len(os.Args) < 3 { - return + os.Args = append(os.Args, "") } // The inclusion of Helm in this manner should be reconsidered once https://github.com/helm/helm/issues/12122 is resolved