aserto-dev / topaz

Cloud-native authorization for modern applications and APIs
https://www.topaz.sh
Apache License 2.0
1.12k stars 26 forks source link

Revert "Only report edge plugin health if sync is enabled." #470

Closed ronenh closed 1 month ago

ronenh commented 1 month ago

This reverts commit 7a6f2ee154d6905272435fcb0a71d54b14ddc19c.

It was a mistake to omit the "sync" health status when the edge plugin isn't enabled. The plugin can be enabled and disabled dynamically through discovery calls and it's better to always include its status in the health service.

I originally made the change because it looked like the kubernetes startup probe was getting back NOT_SERVING responses, but I tested it again with the change in this PR and the overall pod health is reported as healthy even if the "sync" service's status is NOT_SERVING.

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 11220289365

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/app/topaz.go 0 3 0.0%
<!-- Total: 0 3 0.0% -->
Totals Coverage Status
Change from base Build 11147796636: 0.006%
Covered Lines: 1320
Relevant Lines: 4647

💛 - Coveralls