mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 13:57:38 +00:00
Kubelets can make a high volume of SubjectAccessReview and TokenReview requests via authn and authz webhooks. Its default encoding, Protobuf, mitigates the serialization cost of these requests when compared to client-go's default encoding, JSON. This test provides some insurance against changes to webhook client construction that might cause the webhook clients to fail to respect Kubelet's configured content type.