mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-06 07:56:55 +02:00
@@ -71,6 +71,7 @@ func NewApplyCmd(globalCfg *config.GlobalImpl) *cobra.Command {
|
||||
f.StringVar(&applyOptions.Cascade, "cascade", "", "pass cascade to helm exec, default: background")
|
||||
f.StringArrayVar(&applyOptions.SuppressOutputLineRegex, "suppress-output-line-regex", nil, "a list of regex patterns to suppress output lines from the diff output")
|
||||
f.StringVar(&applyOptions.DryRun, "dry-run", "", "pass dry-run to helm exec")
|
||||
f.Lookup("dry-run").NoOptDefVal = "client"
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
@@ -49,6 +49,7 @@ func NewSyncCmd(globalCfg *config.GlobalImpl) *cobra.Command {
|
||||
f.StringArrayVar(&syncOptions.PostRendererArgs, "post-renderer-args", nil, `pass --post-renderer-args to "helm template" or "helm upgrade --install"`)
|
||||
f.StringVar(&syncOptions.Cascade, "cascade", "", "pass cascade to helm exec, default: background")
|
||||
f.StringVar(&syncOptions.DryRun, "dry-run", "", "pass dry-run to helm exec")
|
||||
f.Lookup("dry-run").NoOptDefVal = "client"
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user