Skip to content

Commit

Permalink
Set evictor controller name to avoid metric conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ordovicia committed Jan 16, 2025
1 parent 5c79a87 commit df21d7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/controller/evictor.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ func (e *evictor) SetupWithManager(mgr ctrl.Manager) error {

return ctrl.NewControllerManagedBy(mgr).
For(&corev1.ServiceAccount{}, builder.WithPredicates(predicate.NewPredicateFuncs(pred))).
Named("evictor").
Complete(e)
}

Expand Down

0 comments on commit df21d7f

Please sign in to comment.