Skip to content

Conformance tests cannot run on v1.2.0 #3342

@howardjohn

Description

@howardjohn

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

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions