New 🌊 wave for @helm

Commit fc16494f

fc16494f1903Merged

Dmitriy Zhilyaev <[email protected]> · 5 years ago · 4 files · ~4 modified

Description

Merge pull request #40 from zhilyaev/kubedog_interval

Allow to override kubedog/werf multitrack StatusProgressPeriod

Details

Commit
fc16494f1903
Parent
757626ff8405
Merge parent
1f2bb2193b7b

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 }