pkg/client/injection
Matt Moore 44fffc8b6e
This implements the EventExpansion needed to emit K8s events. (#2224)
With this change, I was able to pass some downstream e2e tests that check for event emission with this path enabled, which previously failed.

The relevant hand-rolled bits in Kubernetes client-go is here: 35bf219cc6/kubernetes/typed/core/v1/event_expansion.go (L49)

I opted to avoid copy/pasting the generated code, and instead used a trick that let me call into the generated code.

Going through this exercise also (likely) uncovered a Kubernetes bug: https://github.com/kubernetes/kubernetes/issues/104495
2021-08-21 16:23:34 -07:00
..
apiextensions Introduce `NewContext`, deprecate `NewImplFull`. (#2222) 2021-08-21 14:00:34 -07:00
client update boilerplate date (#2134) 2021-05-28 13:21:29 -07:00
ducks/duck update boilerplate date (#2134) 2021-05-28 13:21:29 -07:00
informers/factory update boilerplate date (#2134) 2021-05-28 13:21:29 -07:00
kube This implements the EventExpansion needed to emit K8s events. (#2224) 2021-08-21 16:23:34 -07:00