Skip to content

Commit fc27c07

Browse files
committed
default false for namespaced mode
1 parent 8c6b6a1 commit fc27c07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/run.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ func newRunCommand() *cobra.Command {
224224
runCmd.Flags().BoolVar(&disableKubernetes, "disable-kubernetes", false, "do not create and use a Kubernetes client")
225225
runCmd.Flags().IntVar(&cfg.MaxConcurrency, "max-concurrency", 10, "maximum number of update threads to run concurrently")
226226
runCmd.Flags().StringVar(&cfg.ArgocdNamespace, "argocd-namespace", "", "namespace where ArgoCD runs in (current namespace by default)")
227+
runCmd.Flags().BoolVar(&cfg.Namespaced, "namespaced", false, "whether to use image-updater restricted to the ArgoCD namespace")
227228
runCmd.Flags().StringSliceVar(&cfg.AppNamePatterns, "match-application-name", nil, "patterns to match application name against")
228229
runCmd.Flags().StringVar(&cfg.AppLabel, "match-application-label", "", "label to match application labels against")
229230
runCmd.Flags().BoolVar(&warmUpCache, "warmup-cache", true, "whether to perform a cache warm-up on startup")

0 commit comments

Comments
 (0)