Disable metrics serving in proxy tests (#2307)

This commit is contained in:
Francesco Renzi
2023-02-22 16:57:59 +00:00
committed by GitHub
parent 9b44f0051c
commit 73e22a1756
5 changed files with 12 additions and 10 deletions

View File

@@ -46,7 +46,8 @@ func SetupTest(ctx2 context.Context) *corev1.Namespace {
Expect(err).NotTo(HaveOccurred(), "failed to create test namespace")
mgr, err := ctrl.NewManager(cfg, ctrl.Options{
Namespace: ns.Name,
Namespace: ns.Name,
MetricsBindAddress: "0",
})
Expect(err).NotTo(HaveOccurred(), "failed to create manager")