DynamicRESTMapper
does not return No{Kind,Resource}MatchError
for non-present API groups
#2424
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Uh oh!
There was an error while loading. Please reload this page.
When calling
RESTMapping()
and friends for an API Group/GroupVersion that is not present in the system (e.g., CRDs not yet installed), aRESTMapper
should returnNo{Kind,Resource}MatchError
.However, with v0.15.0, the new
DynamicRESTMapper
returnsErrGroupDiscoveryFailed
instead, e.g.A consequence of this behavior is that managers will crash if they register controllers for resources that will only be registered during runtime. This was supported previously with the old
DynamicRESTMapper
implementation before v0.15.0./kind bug
The text was updated successfully, but these errors were encountered: