Skip to content

Commit

Permalink
fix(controller): add missing namespace index from workflow informer (#…
Browse files Browse the repository at this point in the history
…12666)

Signed-off-by: Ryan Currah <ryan@currah.ca>
  • Loading branch information
ryancurrah authored Feb 15, 2024
1 parent 0acb435 commit 148252a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workflow/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ var indexers = cache.Indexers{
indexes.WorkflowPhaseIndex: indexes.MetaWorkflowPhaseIndexFunc(),
indexes.ConditionsIndex: indexes.ConditionsIndexFunc,
indexes.UIDIndex: indexes.MetaUIDFunc,
cache.NamespaceIndex: cache.MetaNamespaceIndexFunc,
}

// Run starts an Workflow resource controller
Expand Down

0 comments on commit 148252a

Please sign in to comment.