feat: Implement agent heartbeat with mTLS and node status tracking
This commit is contained in:
@ -142,4 +142,5 @@ func (s *Server) RegisterJoinHandler(handler http.HandlerFunc) {
|
||||
// RegisterNodeStatusHandler registers the handler for node status updates
|
||||
func (s *Server) RegisterNodeStatusHandler(handler http.HandlerFunc) {
|
||||
s.router.HandleFunc("POST", "/v1alpha1/nodes/{nodeName}/status", handler)
|
||||
log.Printf("Registered node status handler at /v1alpha1/nodes/{nodeName}/status")
|
||||
}
|
||||
|
Reference in New Issue
Block a user