feat: Implement CSR signing and node registration handler for agent join
This commit is contained in:
@ -136,6 +136,7 @@ func (s *Server) Stop(ctx context.Context) error {
|
||||
// RegisterJoinHandler registers the handler for agent join requests
|
||||
func (s *Server) RegisterJoinHandler(handler http.HandlerFunc) {
|
||||
s.router.HandleFunc("POST", "/internal/v1alpha1/join", handler)
|
||||
log.Printf("Registered join handler at /internal/v1alpha1/join")
|
||||
}
|
||||
|
||||
// RegisterNodeStatusHandler registers the handler for node status updates
|
||||
|
Reference in New Issue
Block a user