Skip to content

Commit

Permalink
update manager field
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed May 15, 2023
1 parent 14fd941 commit e79a10a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ func main() {

version.PrintVersionLogs(setupLog)

mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), config.ManagerOptionsWithNamespaces(setupLog, ctrl.Options{
restConfig := ctrl.GetConfigOrDie()
restConfig.UserAgent = "eds-controller-manager"
mgr, err := ctrl.NewManager(restConfig, config.ManagerOptionsWithNamespaces(setupLog, ctrl.Options{
Scheme: scheme,
MetricsBindAddress: metricsAddr,
HealthProbeBindAddress: ":8081",
Expand Down

0 comments on commit e79a10a

Please sign in to comment.