You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MacOS requires users to allow/deny whenever an unknown process attempts to listen on a TCP port.
Since `make run` always generates a new binary, it is necessary to always accept/deny the attempt.
By only listening on the loopback address, we can avoid the prompt
Copy file name to clipboardExpand all lines: Makefile
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -79,7 +79,7 @@ destroy: ## Cleanup all controller artefacts
79
79
run: generate manifests fmt vet install deploy-namespace-rbac just-run ## Run operator binary locally against the configured Kubernetes cluster in ~/.kube/config
80
80
81
81
just-run: ## Just runs 'go run main.go' without regenerating any manifests or deploying RBACs
82
-
KUBE_CONFIG=${HOME}/.kube/config OPERATOR_NAMESPACE=rabbitmq-system go run ./main.go
82
+
KUBE_CONFIG=${HOME}/.kube/config OPERATOR_NAMESPACE=rabbitmq-system go run ./main.go -metrics-bind-address 127.0.0.1:9782
0 commit comments