forked from kubevirt/containerized-data-importer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around controller runtime mistakenly defaulting to wrong mapper
Today, controller runtime mistakenly ignores the inherited Manager default dynamic mapper and uses a discovery mapper instead: kubernetes-sigs/controller-runtime#2491 This means that if some CRD was not available on the cdi-controller startup, Even if it got installed after, we would still get IsNoMatch when trying to access it. Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
- Loading branch information
Showing
2 changed files
with
20 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters