mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-20 22:52:51 +02:00
feat: add/expose cli flags (#771)
* feat: add/expose cli flags Signed-off-by: Hans Song <hans.m.song@gmail.com> * fix tests Signed-off-by: Hans Song <hans.m.song@gmail.com> * remove skipdeps from subcommand options Signed-off-by: Hans Song <hans.m.song@gmail.com> * remove skip-deps from subcommand flags Signed-off-by: Hans Song <hans.m.song@gmail.com> * remove SkipDeps from subcommand implementations Signed-off-by: Hans Song <hans.m.song@gmail.com> * update doco with new flags Signed-off-by: Hans Song <hans.m.song@gmail.com> --------- Signed-off-by: Hans Song <hans.m.song@gmail.com>
This commit is contained in:
@@ -32,7 +32,6 @@ func NewWriteValuesCmd(globalCfg *config.GlobalImpl) *cobra.Command {
|
||||
|
||||
f := cmd.Flags()
|
||||
f.IntVar(&writeValuesOptions.Concurrency, "concurrency", 0, "maximum number of concurrent helm processes to run, 0 is unlimited")
|
||||
f.BoolVar(&writeValuesOptions.SkipDeps, "skip-deps", false, `skip running "helm repo update" and "helm dependency build"`)
|
||||
f.StringArrayVar(&writeValuesOptions.Set, "set", nil, "additional values to be merged into the helm command --set flag")
|
||||
f.StringArrayVar(&writeValuesOptions.Values, "values", nil, "additional value files to be merged into the helm command --values flag")
|
||||
f.StringVar(&writeValuesOptions.OutputFileTemplate, "output-file-template", "", "go text template for generating the output file. Default: {{ .State.BaseName }}-{{ .State.AbsPathSHA1 }}/{{ .Release.Name}}.yaml")
|
||||
|
||||
Reference in New Issue
Block a user