mirror of
https://github.com/kubernetes/client-go.git
synced 2026-01-14 03:54:56 +00:00
Automatic merge from submit-queue (batch tested with PRs 50254, 50174, 50179) Revert "Merge pull request #47353 from apelisse/http-cache" Some issues were discovered with the caching merged in #47353: * uses a disk-based cache that is not safe between processes (does not use atomic fs operations) * writes get/list responses to disk that should not be cached (like `kubectl get secrets`) * is vulnerable to partially written cache responses being used as responses to future requests * breaks uses of the client transport that make use of websockets * defaults to enabling the cache for any client builder using RecommendedConfigOverrideFlags or DefaultClientConfig which affects more components than just kubectl This reverts commit fc89743dca6b563063b74728c3b28100cf674d9d, reversing changes made to 29ab38e898988c36e2de34f77fa33be556eb21bd. Kubernetes-commit: 187e6ab0bc35f696d8f5f574fab9aa457f253d34