Skip to content

Commit

Permalink
pass namespace to reconcile request of config controller
Browse files Browse the repository at this point in the history
Signed-off-by: Avinash Patnala <[email protected]>
  • Loading branch information
Avinash Patnala committed Sep 23, 2024
1 parent 89d9b8b commit d027ab7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/controller/configstatus/configstatus_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ func PodStatusToConfigMapper(selfOnly bool) handler.TypedMapFunc[*v1beta1.Config
return nil
}
}
return []reconcile.Request{{NamespacedName: types.NamespacedName{Name: name}}}

return []reconcile.Request{{NamespacedName: types.NamespacedName{
Name: name,
Namespace: util.GetNamespace(),
}}}
}
}

Expand Down

0 comments on commit d027ab7

Please sign in to comment.