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
feat: health check for openshift DeploymentConfig #7114
feat: health check for openshift DeploymentConfig #7114
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7114 +/- ##
=======================================
Coverage 41.14% 41.14%
=======================================
Files 158 158
Lines 21230 21230
=======================================
Hits 8736 8736
Misses 11241 11241
Partials 1253 1253 Continue to review full report at Codecov.
|
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.
Thanks @ishitasequeira. I have one comment, please see below.
return health_check | ||
end | ||
end | ||
end |
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.
if obj.status
is nil
, we'll return nothing. Please initialize health_check
and return it in Progressing
state for this case.
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.
Thank you @jannfis for the review. I have added the Progressing status.
Signed-off-by: ishitasequeira <isequeir@redhat.com>
Signed-off-by: ishitasequeira <isequeir@redhat.com>
bff29c5
to
22c1318
Compare
LGTM, thank you @ishitasequeira |
* feat: health check for openshift DeploymentConfig Signed-off-by: ishitasequeira <isequeir@redhat.com> * Address PR comments Signed-off-by: ishitasequeira <isequeir@redhat.com> Signed-off-by: viktorplakida <plakyda1@gmail.com>
I really like thes feature and just disovered it, but I can't find info about how to use it. Is there any reference to this somewhere that I missed? |
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist:
Signed off by Ishita Sequeira