Skip to content

Commit

Permalink
bind metrics to localhost on make run
Browse files Browse the repository at this point in the history
to prevent macOS warnings
  • Loading branch information
mkuratczyk committed Apr 24, 2024
1 parent 38ef6b9 commit 58fdc48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ manager: generate fmt vet vuln
run: generate fmt vet vuln manifests just-run

just-run: ## Just runs 'go run main.go' without regenerating any manifests or deploying RBACs
KUBE_CONFIG=${HOME}/.kube/config OPERATOR_NAMESPACE=rabbitmq-system ENABLE_WEBHOOKS=false go run ./main.go
KUBE_CONFIG=${HOME}/.kube/config OPERATOR_NAMESPACE=rabbitmq-system ENABLE_WEBHOOKS=false go run ./main.go -metrics-bind-address 127.0.0.1:8080

# Install CRDs into a cluster
install: manifests
Expand Down

0 comments on commit 58fdc48

Please sign in to comment.