generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 566
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
What happened: Almost all conformance tests fail on 1.2.0 with errors like no kind is registered for the type v1.Gateway in scheme
What you expected to happen: Conformance tests can run
This is caused by #3211. This overrides the passed in Client
, Clientset
and RestConfig
. This overrides any customizations we make to those, notably the scheme (but not ONLY the scheme, so its likely we will want a fix that is not scoped to that).
I believe how its working in any case is due to controller-runtime using the global scheme from client-go by default, then DefaultOptions
taking that and installing. If you don't use DefaultOptions
then you don't hit this path
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.