mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-20 20:23:39 +02:00
Merge branch 'main' into update_golang_lint
This commit is contained in:
+3
-3
@@ -16,7 +16,7 @@ func NewTemplateCmd(globalCfg *config.GlobalImpl) *cobra.Command {
|
||||
Use: "template",
|
||||
Short: "Template releases defined in state file",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
err := config.NewUrfaveCliConfigImplIns(templateImpl.GlobalImpl)
|
||||
err := config.NewCLIConfigImpl(templateImpl.GlobalImpl)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -32,8 +32,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