Skip to content

Commit

Permalink
feat: set probe service health
Browse files Browse the repository at this point in the history
Signed-off-by: Rudraksh Pareek <[email protected]>
  • Loading branch information
DelusionalOptimist committed Dec 2, 2024
1 parent bf5d5df commit 0e75018
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions KubeArmor/core/kubeArmor.go
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,7 @@ func KubeArmor() {
pb.RegisterProbeServiceServer(dm.Logger.LogServer, probe)

dm.SetHealthStatus(pb.PolicyService_ServiceDesc.ServiceName, grpc_health_v1.HealthCheckResponse_SERVING)
dm.SetHealthStatus(pb.ProbeService_ServiceDesc.ServiceName, grpc_health_v1.HealthCheckResponse_SERVING)
}

reflection.Register(dm.Logger.LogServer) // Helps grpc clients list out what all svc/endpoints available
Expand Down

0 comments on commit 0e75018

Please sign in to comment.