Skip to content

Commit

Permalink
fix: workflow template ref does not work in other namespace (#3795)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarabala1979 authored Aug 17, 2020
1 parent ef44a03 commit f15a8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (wfc *WorkflowController) Run(ctx context.Context, wfWorkers, podWorkers in
log.Infof("Workers: workflow: %d, pod: %d", wfWorkers, podWorkers)

wfc.wfInformer = util.NewWorkflowInformer(wfc.restConfig, wfc.GetManagedNamespace(), workflowResyncPeriod, wfc.tweakListOptions)
wfc.wftmplInformer = informer.NewTolerantWorkflowTemplateInformer(wfc.dynamicInterface, workflowTemplateResyncPeriod, wfc.namespace)
wfc.wftmplInformer = informer.NewTolerantWorkflowTemplateInformer(wfc.dynamicInterface, workflowTemplateResyncPeriod, wfc.managedNamespace)

wfc.addWorkflowInformerHandlers()
wfc.podInformer = wfc.newPodInformer()
Expand Down

0 comments on commit f15a8f7

Please sign in to comment.