Description:
EnvoyGateway currently watches and lists Unstructured resources for the Extension Server. By default, the controller-runtime does not use the client-side cache and performs DeepCopy on list operations for these resources
To enable caching for Unstructured resources
client.Options{
Cache: &client.CacheOptions{
Unstructured: true,
},
}
To avoid DeepCopy in
|
if err := r.client.List(ctx, uExtResourceList); err != nil { |
use
client.UnsafeDisableDeepCopy options
[optional Relevant Links:]
Any extra documentation required to understand the issue.