forked from project-kessel/inventory-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RHCLOUD-34213 - Expose Readyz and Livez endpoints (project-kessel#106)
* WIP: Expose Readyz and Livez endpoints * Seperate logic into respective layers * fix: Change Hosts -> Health * Added health check for relation api pod, refactored health.go * make relations check based on authz config * Added KesselStatus method to Authorizer interface * Changes * Added health checks with logging * update response message * Change: check relations when kessel is enabled * Add check for if kessel is enabled * Moved CheckAuthorizer to authz.go * removed unused code * Add readyz and livez example to README
- Loading branch information
1 parent
d6c5e90
commit 479e031
Showing
11 changed files
with
218 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.