Skip to content

Commit

Permalink
Disable metrics on remote manager in OCP (data) reconciler.
Browse files Browse the repository at this point in the history
  • Loading branch information
jortel committed Dec 17, 2020
1 parent 00ab6e4 commit 3ec96e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/inventory/container/ocp/reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,9 @@ func (r *Reconciler) Delete(m libmodel.Model) {
func (r *Reconciler) buildManager() (err error) {
r.manager, err = manager.New(
r.cluster.RestCfg(r.secret),
manager.Options{})
manager.Options{
MetricsBindAddress: "0",
})
if err != nil {
err = liberr.Wrap(err)
return
Expand Down

0 comments on commit 3ec96e3

Please sign in to comment.