mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-02 14:59:53 +08:00
* 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>