mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-22 11:26:58 +02:00
fix cobra flag default value
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
+2
-2
@@ -31,8 +31,8 @@ func NewTemplateCmd(globalCfg *config.GlobalImpl) *cobra.Command {
|
||||
|
||||
f := cmd.Flags()
|
||||
f.StringVar(&templateOptions.Args, "args", "", "pass args to helm template")
|
||||
f.StringArrayVar(&templateOptions.Set, "set", []string{}, "additional values to be merged into the command")
|
||||
f.StringArrayVar(&templateOptions.Values, "values", []string{}, "additional value files to be merged into the command")
|
||||
f.StringArrayVar(&templateOptions.Set, "set", nil, "additional values to be merged into the command")
|
||||
f.StringArrayVar(&templateOptions.Values, "values", nil, "additional value files to be merged into the command")
|
||||
f.StringVar(&templateOptions.OutputDir, "output-dir", "", "output directory to pass to helm template (helm template --output-dir)")
|
||||
f.StringVar(&templateOptions.OutputDirTemplate, "output-dir-template", "", "go text template for generating the output directory. Default: {{ .OutputDir }}/{{ .State.BaseName }}-{{ .State.AbsPathSHA1 }}-{{ .Release.Name}}")
|
||||
f.IntVar(&templateOptions.Concurrency, "concurrency", 0, "maximum number of concurrent downloads of release charts")
|
||||
|
||||
Reference in New Issue
Block a user