envoyproxy / gateway

Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway
https://gateway.envoyproxy.io
Apache License 2.0
1.63k stars 354 forks source link

Use mgr.GetAPIReader() to read Secrets and ConfigMaps directly from the API Server #4750

Open arkodg opened 1 day ago

arkodg commented 1 day ago

Description:

Describe the desired behavior, what scenario it enables and how it would be used.

Use the GetAPIReader handle instead of the GetClient() handle to read larger objects such as Secrets and ConfigMaps by not storing them in the Controller Runtime Cache and directly reading them from the API server

[optional Relevant Links:]

Any extra documentation required to understand the issue.

arkodg commented 1 day ago

cc @qicz