New 🌊 wave for @helm

Commit 1f2bb219

1f2bb2193b7bMerged

Svyatoslav Dumchenko <[email protected]> · 5 years ago · 4 files · ~4 modified

Description

Allow to override kubedog/werf multitrack StatusProgressPeriod

Details

Commit
1f2bb2193b7b
Parent
e67f8d3c6641

cmd/helmwave/flags.gomodifiedView file

@@ -3,6 +3,7 @@
33 import (
44 "github.com/urfave/cli/v2"
55 "github.com/zhilyaev/helmwave/pkg/helmwave"
6+ "time"
67 )
78
89 func flags(app *helmwave.Config) []cli.Flag {
@@ -81,5 +82,12 @@
8182 EnvVars: []string{"HELMWAVE_KUBEDOG"},
8283 Destination: &app.Kubedog,
8384 },
85+ &cli.DurationFlag{
86+ Name: "kubedog-status-interval",
87+ Usage: "Interval of kubedog status messages",
88+ Value: 5 * time.Second,
89+ EnvVars: []string{"HELMWAVE_KUBEDOG_STATUS_INTERVAL"},
90+ Destination: &app.KubedogStatusInterval,
91+ },
8492 }
8593 }