Skip to content

gateway-api: fake client should populate TypeMeta #47519

Description

@asauber

At some point, the Kubernetes fake-client broke populating TypeMeta for objects.

This breaks testing any function which uses resource.Kind as part of the tested logic.

Let's implement a general solution to this issue, probably using the client builder's InterceptorFuncs.

The same modification must be applied to the GAMMA tests as well, so that the type references can be completely removed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions