From 84fd02ac568263f5785f937fbf2ddf45c48ca1fa Mon Sep 17 00:00:00 2001 From: Hans Rakers Date: Thu, 12 Oct 2023 14:46:06 +0200 Subject: [PATCH] add explicit metrics bind addr arg that Tilt and e2e can replace Signed-off-by: Hans Rakers --- config/manager/manager.yaml | 7 ++++--- test/e2e/config/cloudstack.yaml | 2 -- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index 2734e870..70fc65b9 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -21,9 +21,10 @@ spec: - command: - /manager args: - - --leader-elect - - --cloudstackcluster-concurrency=${CAPC_CLOUDSTACKCLUSTER_CONCURRENCY:=10} - - --cloudstackmachine-concurrency=${CAPC_CLOUDSTACKMACHINE_CONCURRENCY:=10} + - "--leader-elect" + - "--metrics-bind-addr=localhost:8080" + - "--cloudstackcluster-concurrency=${CAPC_CLOUDSTACKCLUSTER_CONCURRENCY:=10}" + - "--cloudstackmachine-concurrency=${CAPC_CLOUDSTACKMACHINE_CONCURRENCY:=10}" image: controller:latest name: manager securityContext: diff --git a/test/e2e/config/cloudstack.yaml b/test/e2e/config/cloudstack.yaml index 963e35e4..87d68ab4 100644 --- a/test/e2e/config/cloudstack.yaml +++ b/test/e2e/config/cloudstack.yaml @@ -105,8 +105,6 @@ providers: replacements: - old: --metrics-bind-addr=localhost:8080 new: --metrics-bind-addr=:8080 - - old: "--leader-elect" - new: "--leader-elect\n - --metrics-bind-addr=:8080" variables: KUBERNETES_VERSION_MANAGEMENT: "v1.25.3"