Skip to content

Commit

Permalink
Merge pull request #40 from jortel/controller-metrics
Browse files Browse the repository at this point in the history
Disable metrics on remote manager in OCP (data) reconciler.
  • Loading branch information
jortel authored Dec 17, 2020
2 parents 00ab6e4 + 3ec96e3 commit 6be95fd
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 6be95fd

Please sign in to comment.