Commit e5c53229
e5c53229ff6dMerged
Roman Mironov <[email protected]> ยท 4 years ago ยท 2 files ยท ~2 modified
Description
feat: add flag --progress that move helm logs to other log level
Details
- Commit
- e5c53229ff6d
- Parent
- dcfcf4c76fed
pkg/action/up.gomodifiedView file
@@ -3,6 +3,7 @@
33
import (44
"time"55
6+
"github.com/helmwave/helmwave/pkg/helper"67
"github.com/helmwave/helmwave/pkg/kubedog"78
"github.com/helmwave/helmwave/pkg/plan"89
log "github.com/sirupsen/logrus"@@ -93,6 +94,13 @@
9394
EnvVars: []string{"HELMWAVE_KUBEDOG_TIMEOUT"},9495
Destination: &i.dog.Timeout,9596
},97+
&cli.BoolFlag{98+
Name: "progress",99+
Usage: "Enable progress logs of helm (INFO log level)",100+
Value: false,101+
EnvVars: []string{"HELMWAVE_PROGRESS"},102+
Destination: &helper.Helm.Debug,103+
},96104
}97105
98106
return append(self, i.build.flags()...)pkg/helper/helm.gomodifiedView file
Loading diffโฆ