-
Notifications
You must be signed in to change notification settings - Fork 588
Add IncompatibleFilters reason for Accepted condition #2150
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -184,10 +184,11 @@ Conformance levels are defined by the filter type: | |
|
||
Specifying a core filter multiple times has unspecified or custom conformance. | ||
|
||
All filters are expected to be compatible with each other. If an implementation | ||
cannot support other combinations of filters, they must clearly document that | ||
limitation. In all cases where incompatible or unsupported filters are | ||
specified, implementations MUST add a warning condition to status. | ||
If an implementation can not support a combinations of filters, they must clearly | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: cannot (is more widely used) |
||
document that limitation. In cases where incompatible or unsupported | ||
filters are specified and cause the `Accepted` condition to be set to status | ||
`False`, implementations may use the `IncompatibleFilters` reason to specify | ||
this configuration error. | ||
|
||
#### BackendRefs (optional) | ||
|
||
|
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.
this section
cause the Accepted condition to be set to status False
is because you might have a partially valid route, in that case it would still beAccepted=True
so doesn't really make sense to set theIncompatibleFilters
reasonThere 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.
Yeah, I ran into the same problem in #2155 where it would be really useful to be able to communicate "something's not quite right, but we're still able to at least partially reconcile this route". In that case it was if the timeout specified was more precise (ie ms or ns) than the underlying implementation could support.