solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.03k stars 433 forks source link

Limit the secrets query (i.e. k8s LIST) for watched namespaces #7790

Open bdecoste opened 1 year ago

bdecoste commented 1 year ago

Version

None

Is your feature request related to a problem? Please describe.

1000s or 10000s of secrets in a watched namespace can cause the K8s LIST to fail

Describe the solution you'd like

No response

Describe alternatives you've considered

More intelligent Secrets query (labels?) to limit the number of secrets retrieved from watched namespaces:

https://kubernetes.io/docs/reference/kubernetes-api/config-and-storage-resources/secret-v1/#list-list-or-watch-objects-of-kind-secret

Additional Context

No response

SantoDE commented 1 year ago

Thematically close to #5868

github-actions[bot] commented 3 weeks ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.