Files
teleport/lib/kube/proxy/testing
Tiago Silva 62bc8c8acd kube: prepare for k8s v1.32.0 deps (#51798)
* kube: prepare for k8s v1.32.0 deps

This PR updates the Kubernetes proxy and server mock to align with the default content-type change introduced in version v1.32.0 of client-go.

In `k8s.io/client-go`, the client's default content type was changed from `application/json` to `application/vnd.kubernetes.protobuf`.

Kube mock was not equipped to decode protobuf messages, leading to multiple failures.
Additionally, there was a typo where both request content-types were inconsistently mixed.

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>

* handle review comments

---------

Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
2025-02-04 10:11:25 +00:00
..