diff --git a/workflow/controller/controller.go b/workflow/controller/controller.go index 1d92ed7dc90d..b2dc3943ff97 100644 --- a/workflow/controller/controller.go +++ b/workflow/controller/controller.go @@ -398,7 +398,7 @@ func (wfc *WorkflowController) runConfigMapWatcher(stopCh <-chan struct{}) { ctx := context.Background() retryWatcher, err := apiwatch.NewRetryWatcher("1", &cache.ListWatch{ WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) { - return wfc.kubeclientset.CoreV1().ConfigMaps(wfc.managedNamespace).Watch(ctx, metav1.ListOptions{}) + return wfc.kubeclientset.CoreV1().ConfigMaps(wfc.namespace).Watch(ctx, metav1.ListOptions{}) }, }) if err != nil {