-
Notifications
You must be signed in to change notification settings - Fork 133
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
Bug 1686133: Fix operator availability to include route availability check #169
Bug 1686133: Fix operator availability to include route availability check #169
Conversation
/retest
|
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 @benjaminapetersen. The existing progressing logic looks a little off to me, too, but ok to fix in a follow on.
252610f
to
0a4aad1
Compare
@spadgett I think progressing needs a touch as well, I'll follow with a couple more tweaks. |
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 @benjaminapetersen, let's get this fix in and continue to improve this in follow up PRs
/lgtm
|
||
// for the purpose of availability, we simply need to know when the | ||
// route has been admitted. | ||
func IsAdmitted(route *routev1.Route) bool { |
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.
consider some unit tests for this func
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.
Completely agree.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: benjaminapetersen, spadgett The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
From 0a4aad1 (Fix operator availability to include route availability check, 2019-03-07, openshift#169).
Bug 1686133
The console should be available when one pod is available and the route has been accepted. For the console, this means that the route ingress that matches
Route.Spec.Host
should have anAdmitted
condition oftrue
.(link 1686133)
@spadgett
@deads2k