Skip to content

Commit

Permalink
🐛 fix the default port used for metrics. We cannot set :8080 since it…
Browse files Browse the repository at this point in the history
… has TLS
  • Loading branch information
camilamacedo86 committed Nov 18, 2024
1 parent 7b935bd commit 0ee7199
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func main() {
caCertDir string
globalPullSecret string
)
flag.StringVar(&metricsAddr, "metrics-bind-address", ":8080", "The address the metric endpoint binds to.")
flag.StringVar(&metricsAddr, "metrics-bind-address", ":7443", "The address the metric endpoint binds to.")
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
flag.StringVar(&pprofAddr, "pprof-bind-address", "0", "The address the pprof endpoint binds to. an empty string or 0 disables pprof")
flag.BoolVar(&enableLeaderElection, "leader-elect", false,
Expand Down
2 changes: 1 addition & 1 deletion config/base/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
- ./manager
args:
- --leader-elect
- --metrics-bind-address=127.0.0.1:8080
- --metrics-bind-address=127.0.0.1:7443
- --external-address=catalogd-service.olmv1-system.svc
image: controller:latest
name: manager
Expand Down

0 comments on commit 0ee7199

Please sign in to comment.