-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding health check for backup gateway #8297
Conversation
👷 Deploy Preview for chef-automate processing.
|
curlOpts="-sS --fail --max-time 2 -o /dev/null -s -w %{http_code}" | ||
curlOpts="$curlOpts --cert {{pkg.svc_config_path}}/public.crt" | ||
curlOpts="$curlOpts --key {{pkg.svc_config_path}}/private.key" | ||
curlOpts="$curlOpts --cacert /hab/svc/automate-gateway/config/root_ca.crt" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
automate-gateway -> backup-gateway
In case backup-gateway doesnot have the certificate then we have to find the way how it will get the certificate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added root-ca.crt (separated from public.crt) in backup-gateway
check your pipelines |
Signed-off-by: Arvinth C <[email protected]>
Signed-off-by: Arvinth C <[email protected]>
Signed-off-by: Arvinth C <[email protected]>
Signed-off-by: Arvinth C <[email protected]>
Signed-off-by: Arvinth C <[email protected]>
Signed-off-by: Arvinth C <[email protected]>
2ae2a61
to
60cb732
Compare
SonarQube Quality Gate |
* Adding health check for backup gateway Signed-off-by: Arvinth C <[email protected]> * Health check log Signed-off-by: Arvinth C <[email protected]> * Addinf root ca in seperate file for backup gateway Signed-off-by: Arvinth C <[email protected]> * Addinf root ca in seperate file for backup gateway Signed-off-by: Arvinth C <[email protected]> * trigger build Signed-off-by: Arvinth C <[email protected]> * Pipeline fix Signed-off-by: Arvinth C <[email protected]> --------- Signed-off-by: Arvinth C <[email protected]>
* Adding health check for backup gateway Signed-off-by: Arvinth C <[email protected]> * Health check log Signed-off-by: Arvinth C <[email protected]> * Addinf root ca in seperate file for backup gateway Signed-off-by: Arvinth C <[email protected]> * Addinf root ca in seperate file for backup gateway Signed-off-by: Arvinth C <[email protected]> * trigger build Signed-off-by: Arvinth C <[email protected]> * Pipeline fix Signed-off-by: Arvinth C <[email protected]> --------- Signed-off-by: Arvinth C <[email protected]>
* Adding health check for backup gateway Signed-off-by: Arvinth C <[email protected]> * Health check log Signed-off-by: Arvinth C <[email protected]> * Addinf root ca in seperate file for backup gateway Signed-off-by: Arvinth C <[email protected]> * Addinf root ca in seperate file for backup gateway Signed-off-by: Arvinth C <[email protected]> * trigger build Signed-off-by: Arvinth C <[email protected]> * Pipeline fix Signed-off-by: Arvinth C <[email protected]> --------- Signed-off-by: Arvinth C <[email protected]>
🔩 Description: What code changed, and why?
Added health check to backup-gateway to make sure the service is running healthy)
⛓️ Related Resources
Jira ticket: https://chefio.atlassian.net/browse/CHEF-2845
👍 Definition of Done
👟 How to Build and Test the Change
✅ Checklist
All PRs must tick these:
With occasional exceptions, all PRs from Progress employees must tick these:
make spell
in any component directory)All PRs from Progress employees should tick these if appropriate:
Please add a note next to any checkbox above if you are NOT ticking it.
📷 Screenshots, if applicable
Demo Video: Health check for Backup gateway.mp4