-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before revendoring controller-runtime `watch` was running `start` by default which made it possible to use the returned error to discriminated the existing GVKs https://github.com/openshift/cluster-autoscaler-operator/blob/a0b7aead18c86ac9a51f3479cba0c656ed83065f/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go#L122. Without this commit, the new behaviour introduced by controller-runtime https://github.com/kubernetes-sigs/controller-runtime/blob/b6092bd383f0317f48ee396629ceb46d7dd064b4/pkg/internal/controller/controller.go#L137 is hidding the missing GVKs until the manager is started resulting in a fatal error.
- Loading branch information
Showing
1 changed file
with
46 additions
and
24 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