Skip to content

Commit

Permalink
add explicit metrics bind addr arg that Tilt and e2e can replace
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Rakers <[email protected]>
  • Loading branch information
hrak committed Oct 12, 2023
1 parent 422f28c commit 84fd02a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 4 additions & 3 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 0 additions & 2 deletions test/e2e/config/cloudstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 84fd02a

Please sign in to comment.